Home | History | Annotate | Download | only in libcameraservice

Lines Matching refs:k1

54  *    G = ( Y - k1*Cr - k2*Cb )
61 static const double k1 = 0.813;
68 * G + k1/k3*R + k2/k4*B = Y*( 1 + k1/k3 + k2/k4 )
70 * Y = ( G + k1/k3*R + k2/k4*B ) / (1 + k1/k3 + k2/k4)
71 * Y0 = ( G0 + k1/k3*R0 + k2/k4*B0 ) / ((1 + k1/k3 + k2/k4)*k0) + 16
74 * kYr = k1/k3
83 static const double kYr = k1/k3;
138 * R-G = (k1+k3)*Cr + k2*Cb
139 * = (k1+k3)*Cr + k2/k4*(k3*Cr - (R-B)/k0)
140 * = (k1 + k3 + k2*k3/k4)*Cr - k2/k4*(R-B)
148 static const double kRr = (k1 + k3 + k2*k3/k4);
164 * B-G = (k2 + k4)*Cb + k1*Cr
165 * = (k2 + k4)*Cb + k1/k3*(k4*Cb + (R-B))
166 * = (k2 + k4 + k1*k4/k3)*Cb + k1/k3*(R-B)
175 static const double kBb = (k2 + k4 + k1*k4/k3);