Workaround for pink highlight issue with some Canon cameras using "full" ISO values. Courtesy of aferrero, issue 1695

This commit is contained in:
DrSlony
2013-03-04 02:49:19 +00:00
parent 2c7db2c066
commit c32bd814f0

View File

@@ -113,7 +113,7 @@ skip_block: ;
dmax = pre_mul_[c];
}
sat = this->get_white() - this->get_black();
sat = this->get_white() - this->get_calcblack();
for (c = 0; c < 4; c++)
scale_mul_[c] = (pre_mul_[c] /= dmax) * 65535.0 / sat;
if (settings->verbose) {