Lines Matching refs:G
523 unsigned int R, G, B; in csc_RGB565_to_YUV420P() local
544 G = (tmp & 0x000007E0) >> 3; in csc_RGB565_to_YUV420P()
548 Y = ((66 * R) + (129 * G) + (25 * B) + 128); in csc_RGB565_to_YUV420P()
555 U = ((-38 * R) - (74 * G) + (112 * B) + 128); in csc_RGB565_to_YUV420P()
558 V = ((112 * R) - (94 * G) - (18 * B) + 128); in csc_RGB565_to_YUV420P()
597 unsigned int R, G, B; in csc_RGB565_to_YUV420SP() local
616 G = (tmp & 0x000007E0) >> 5; in csc_RGB565_to_YUV420SP()
617 G = G * 4; in csc_RGB565_to_YUV420SP()
621 Y = ((66 * R) + (129 * G) + (25 * B) + 128); in csc_RGB565_to_YUV420SP()
628 U = ((-38 * R) - (74 * G) + (112 * B) + 128); in csc_RGB565_to_YUV420SP()
631 V = ((112 * R) - (94 * G) - (18 * B) + 128); in csc_RGB565_to_YUV420SP()
674 unsigned int R, G, B; in csc_ARGB8888_to_YUV420P() local
695 G = (tmp & 0x0000FF00) >> 8; in csc_ARGB8888_to_YUV420P()
698 Y = ((66 * R) + (129 * G) + (25 * B) + 128); in csc_ARGB8888_to_YUV420P()
705 U = ((-38 * R) - (74 * G) + (112 * B) + 128); in csc_ARGB8888_to_YUV420P()
708 V = ((112 * R) - (94 * G) - (18 * B) + 128); in csc_ARGB8888_to_YUV420P()
748 unsigned int R, G, B; in csc_ARGB8888_to_YUV420SP() local
766 G = (tmp & 0x0000FF00) >> 8; in csc_ARGB8888_to_YUV420SP()
769 Y = ((66 * R) + (129 * G) + (25 * B) + 128); in csc_ARGB8888_to_YUV420SP()
776 U = ((-38 * R) - (74 * G) + (112 * B) + 128); in csc_ARGB8888_to_YUV420SP()
779 V = ((112 * R) - (94 * G) - (18 * B) + 128); in csc_ARGB8888_to_YUV420SP()