Searched refs:RGB2Y (Results 1 – 2 of 2) sorted by relevance
147 #define RGB2Y(r, g, b) (uint8_t)(((66 * (r) + 129 * (g) + 25 * (b) + 128) >> 8) + 16) macro155 *y = RGB2Y((int)r, (int)g, (int)b); in R8G8B8ToYUV()
153 y = RGB2Y(r, g, b); in changeWhiteBalance()