Home | History | Annotate | Download | only in Effects

Lines Matching refs:correction

116     // The amount of correction can be adjusted here.
139 // We construct the matrix that will perform the whole correction.
145 // correction: type of color blindness correction (should match the simulation above):
147 mat4 correction(0);
152 if (mMode == ColorBlindnessMode::Correction)
153 correction = errp;
157 if (mMode == ColorBlindnessMode::Correction)
158 correction = errd;
162 if (mMode == ColorBlindnessMode::Correction)
163 correction = errt;
172 (simulation * rgb2lms + correction * (rgb2lms - simulation * rgb2lms));