Home
last modified time | relevance | path

Searched refs:rgb2lms (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/surfaceflinger/Effects/
DDaltonizer.cpp65 const mat4 rgb2lms(xyz2lms*rgb2xyz); in update() local
68 const mat4 lms2rgb(inverse(rgb2lms)); in update()
81 const vec3& lms_r(rgb2lms[0].rgb); in update()
83 const vec3& lms_b(rgb2lms[2].rgb); in update()
85 const vec3 lms_w((rgb2lms * vec4(1)).rgb); in update()
173 (simulation * rgb2lms + correction * (rgb2lms - simulation * rgb2lms)); in update()