Lines Matching refs:vx
155 float vx = x / 0.95047;
159 //printf("vx:%f vy:%f vz:%f\n", vx, vy, vz);
160 if (vx > 0.008856)
161 //vx = (float) pow(vx, 0.3333);
162 vx = (float) cbrt(vx);
164 vx = (7.787 * vx) + (16.0 / 116.0);
180 A = 500.0 * (vx - vy);
192 float vx = A / 500.0 + vy;
195 float vx3 = vx * vx * vx;
205 vx = vx3;
207 vx = (vx - 16.0 / 116.0) / 7.787;
214 vx *= 0.95047; //use white = D65
217 float vr =(float)(vx * 3.2406 + vy * -1.5372 + vz * -0.4986);
218 float vg =(float)(vx * -0.9689 + vy * 1.8758 + vz * 0.0415);
219 float vb =(float)(vx * 0.0557 + vy * -0.2040 + vz * 1.0570);