CR3 bbp fix & camconst entries for Canon EOS R5/R6 and Nikon Z7

Fix, matrices and DCP files courtesy of ART (Alberto Griggio <agriggio@users.noreply.github.com>)
This commit is contained in:
Kevin Murray
2020-09-10 19:12:20 +10:00
committed by GitHub
parent ec0947e288
commit 38d214ed62
4 changed files with 23 additions and 1 deletions

View File

@@ -3132,7 +3132,8 @@ void DCraw::crxLoadRaw()
hdr.tileHeight >>= 1;
}
// /*imgdata.color.*/maximum = (1 << hdr.nBits) - 1;
// /*imgdata.color.*/maximum = (1 << hdr.nBits) - 1;
tiff_bps = hdr.nBits;
std::uint8_t* const hdrBuf = static_cast<std::uint8_t*>(malloc(hdr.mdatHdrSize));