Fixes reading Dual ISO (Magic Lantern) DNG (#5658) (#6505)

This commit is contained in:
GiMo84
2022-08-21 07:04:14 +02:00
committed by GitHub
parent ea515f4c98
commit 4f6273a2bd
2 changed files with 25 additions and 4 deletions

View File

@@ -193,8 +193,17 @@ public:
int crx_track_selected;
short CR3_CTMDtag;
};
struct CanonLevelsData {
unsigned cblack[4];
unsigned white;
bool black_ok;
bool white_ok;
CanonLevelsData(): cblack{0}, white{0}, black_ok(false), white_ok(false) {}
};
protected:
CanonCR3Data RT_canon_CR3_data;
CanonLevelsData RT_canon_levels_data;
float cam_mul[4], pre_mul[4], cmatrix[3][4], rgb_cam[3][4];