* After the conversion from PCC to CSC for color trasformation, all filters work correctly and are converted properly to CSC, except for the color invert filter * This filter is the only one using the `c` constant coefficient in PCC, and it's almost impossible to conver to CSC, because the PCC reported values are far off from the regular scale of values that is being used, which makes converting the filter to CSC extra complex * To work around this, force PCC for all color filters when color invert is enabled, which has the downside of not behaving as well as CSC when using FOD, but still works just as good for all other contexts * We can use the `c` coefficient to understand if color invert is enabled, since this is the only color filter that sets the value to anything other than 0 (`32640`). Change-Id: I097413be9c519c22ee71483bdc084512f05e0465fourteen
parent
125e63334f
commit
fa0f035c02
Loading…
Reference in new issue