Searched refs:nV (Results 1 - 2 of 2) sorted by relevance

/development/tools/emulator/system/camera/
H A DConverters.cpp42 const uint8_t nV = *V; local
43 *rgb = YUVToRGB565(*Y, nU, nV);
45 *rgb = YUVToRGB565(*Y, nU, nV);
72 const uint8_t nV = *V; local
73 *rgb = YUVToRGB32(*Y, nU, nV);
75 *rgb = YUVToRGB32(*Y, nU, nV);
/development/tools/yuv420sp2rgb/
H A Dyuv420sp2rgb.c61 int nY, nU, nV; local
84 nV = *(pUV + (i/2) * width + bytes_per_pixel * (j/2));
90 nV -= 128;
96 // nG = (int)(1.164 * nY - 0.813 * nV - 0.391 * nU);
97 // nB = (int)(1.164 * nY + 1.596 * nV);
100 nG = (int)(1192 * nY - 833 * nV - 400 * nU);
101 nR = (int)(1192 * nY + 1634 * nV);

Completed in 654 milliseconds