Lines Matching refs:B
523 unsigned int R, G, B; in csc_RGB565_to_YUV420P() local
545 B = (tmp & 0x0000001F); in csc_RGB565_to_YUV420P()
546 B = B << 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
618 B = (tmp & 0x0000001F); in csc_RGB565_to_YUV420SP()
619 B = B * 8; 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
696 B = (tmp & 0x000000FF); 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
767 B = (tmp & 0x000000FF); 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()