dcraw: apply the fix for #4129 only for DNGs coming from the Adobe DNG Converter

This commit is contained in:
Alberto Griggio
2017-11-24 11:41:48 +01:00
parent 3f525b7610
commit 7181f4b245
2 changed files with 12 additions and 5 deletions

View File

@@ -58,6 +58,7 @@ public:
,RT_whitelevel_from_constant(0)
,RT_blacklevel_from_constant(0)
,RT_matrix_from_constant(0)
,RT_from_adobe_dng_converter(false)
,getbithuff(this,ifp,zero_after_ff)
{
memset(&hbd, 0, sizeof(hbd));
@@ -151,6 +152,7 @@ protected:
int RT_whitelevel_from_constant;
int RT_blacklevel_from_constant;
int RT_matrix_from_constant;
bool RT_from_adobe_dng_converter;
float cam_mul[4], pre_mul[4], cmatrix[3][4], rgb_cam[3][4];