Home | History | Annotate | Download | only in Effects

Lines Matching full:correction

116     // The amount of correction can be adjusted here.
137 // We construct the matrix that will perform the whole correction.
143 // correction: type of color blindness correction (should match the simulation above):
145 mat4 correction(0);
150 if (mMode == ColorBlindnessMode::Correction)
151 correction = errp;
155 if (mMode == ColorBlindnessMode::Correction)
156 correction = errd;
160 if (mMode == ColorBlindnessMode::Correction)
161 correction = errt;
170 (simulation * rgb2lms + correction * (rgb2lms - simulation * rgb2lms));