Home | History | Annotate | Download | only in camera

Lines Matching refs:RGB2Y

155 #define RGB2Y(r, g, b) (uint8_t)(((66 * (r) + 129 * (g) +  25 * (b) + 128) >> 8) +  16)
163 *y = RGB2Y((int)r, (int)g, (int)b);
296 *y = RGB2Y(r, g, b);
1031 pY[Y_Inc] = RGB2Y((int)r, (int)g, (int)b);
1218 pY[Y_Inc] = RGB2Y(r, g, b);