Skip to content

Addresses clang tidy issues#5

Draft
pitbuster wants to merge 26 commits intocytrinox:canon_cr3from
pitbuster:canon_cr3
Draft

Addresses clang tidy issues#5
pitbuster wants to merge 26 commits intocytrinox:canon_cr3from
pitbuster:canon_cr3

Conversation

@pitbuster
Copy link
Copy Markdown

I compiled with cmake .. -DALLOW_DOWNLOADING_GOOGLETEST=ON -DUSE_CLANG_TIDY=ON. There are still diagnostics from CrXDecompressor.cpp, mainly because of raw pointers and a couple of big functions. I suppose we should use the rawspeed containers for the first kind of diagnostics, but I am not familiar with them so I am open to suggestions.

cytrinox and others added 26 commits September 10, 2021 20:46
This patch is based on a draft from Roman Lebedev.
This decompressor is ported from libraw. Some of the file handling logic
has been replaced by rawspeed::Buffer and derived classes.
Most of the code is untouched.
This decoder contains the logic to parse a CR3 ISOBMFF file.
IAD1 contains 4 definitions for rectangles:
 * crop rectangle
 * left optical black area rectangle
 * top optical black area rectangle
 * active area rectangle

This patch parses all IAD1 rectangles and uses them for
black areas and crop.
 * Canon EOS 250D
 * Canon EOS M6 Mark II
 * Canon EOS M200
 * Canon EOS M50 Mark II
 * Canon PowerShot G5 X Mark II
 * Canon PowerShot G7 X Mark III
This patch is based on a draft from Roman Lebedev.
@cytrinox cytrinox force-pushed the canon_cr3 branch 3 times, most recently from 613dd16 to 09ca1df Compare February 15, 2022 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants