Searched refs:yuyv_pixel (Results 1 – 1 of 1) sorted by relevance
92 void pixel_rgb_to_yuyv (rgb_t * rgb_pixel, yuyv_t * yuyv_pixel) in pixel_rgb_to_yuyv() argument102 yuyv_pixel->y1 = yuyv_pixel->y2 = 209 * (pR + pG + pB) / 300 + 16; in pixel_rgb_to_yuyv()103 yuyv_pixel->Cb = pB - (pR / 4) - (pG * 3 / 4) + 128; in pixel_rgb_to_yuyv()104 yuyv_pixel->Cr = pR - (pG * 3 / 4) - (pB / 4) + 128; in pixel_rgb_to_yuyv()