Lines Matching refs:rgb_buf
450 static __inline void YuvPixel(uint8 y, uint8 u, uint8 v, uint8* rgb_buf, in YuvPixel() argument
456 *reinterpret_cast<uint32*>(rgb_buf) = (b << bshift) | in YuvPixel()
473 uint8* rgb_buf, in I444ToARGBRow_C() argument
476 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf, 24, 16, 8, 0); in I444ToARGBRow_C()
480 rgb_buf += 4; // Advance 1 pixel. in I444ToARGBRow_C()
488 uint8* rgb_buf, in I422ToARGBRow_C() argument
491 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf + 0, 24, 16, 8, 0); in I422ToARGBRow_C()
492 YuvPixel(y_buf[1], u_buf[0], v_buf[0], rgb_buf + 4, 24, 16, 8, 0); in I422ToARGBRow_C()
496 rgb_buf += 8; // Advance 2 pixels. in I422ToARGBRow_C()
499 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf + 0, 24, 16, 8, 0); in I422ToARGBRow_C()
506 uint8* rgb_buf, in I422ToRGB24Row_C() argument
510 rgb_buf + 0, rgb_buf + 1, rgb_buf + 2); in I422ToRGB24Row_C()
512 rgb_buf + 3, rgb_buf + 4, rgb_buf + 5); in I422ToRGB24Row_C()
516 rgb_buf += 6; // Advance 2 pixels. in I422ToRGB24Row_C()
520 rgb_buf + 0, rgb_buf + 1, rgb_buf + 2); in I422ToRGB24Row_C()
527 uint8* rgb_buf, in I422ToRAWRow_C() argument
531 rgb_buf + 2, rgb_buf + 1, rgb_buf + 0); in I422ToRAWRow_C()
533 rgb_buf + 5, rgb_buf + 4, rgb_buf + 3); in I422ToRAWRow_C()
537 rgb_buf += 6; // Advance 2 pixels. in I422ToRAWRow_C()
541 rgb_buf + 0, rgb_buf + 1, rgb_buf + 2); in I422ToRAWRow_C()
548 uint8* rgb_buf, in I411ToARGBRow_C() argument
551 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf + 0, 24, 16, 8, 0); in I411ToARGBRow_C()
552 YuvPixel(y_buf[1], u_buf[0], v_buf[0], rgb_buf + 4, 24, 16, 8, 0); in I411ToARGBRow_C()
553 YuvPixel(y_buf[2], u_buf[0], v_buf[0], rgb_buf + 8, 24, 16, 8, 0); in I411ToARGBRow_C()
554 YuvPixel(y_buf[3], u_buf[0], v_buf[0], rgb_buf + 12, 24, 16, 8, 0); in I411ToARGBRow_C()
558 rgb_buf += 16; // Advance 4 pixels. in I411ToARGBRow_C()
561 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf + 0, 24, 16, 8, 0); in I411ToARGBRow_C()
562 YuvPixel(y_buf[1], u_buf[0], v_buf[0], rgb_buf + 4, 24, 16, 8, 0); in I411ToARGBRow_C()
564 rgb_buf += 8; // Advance 2 pixels. in I411ToARGBRow_C()
567 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf + 0, 24, 16, 8, 0); in I411ToARGBRow_C()
573 uint8* rgb_buf, in NV12ToARGBRow_C() argument
576 YuvPixel(y_buf[0], uv_buf[0], uv_buf[1], rgb_buf + 0, 24, 16, 8, 0); in NV12ToARGBRow_C()
577 YuvPixel(y_buf[1], uv_buf[0], uv_buf[1], rgb_buf + 4, 24, 16, 8, 0); in NV12ToARGBRow_C()
580 rgb_buf += 8; // Advance 2 pixels. in NV12ToARGBRow_C()
583 YuvPixel(y_buf[0], uv_buf[0], uv_buf[1], rgb_buf + 0, 24, 16, 8, 0); in NV12ToARGBRow_C()
589 uint8* rgb_buf, in NV21ToARGBRow_C() argument
592 YuvPixel(y_buf[0], vu_buf[1], vu_buf[0], rgb_buf + 0, 24, 16, 8, 0); in NV21ToARGBRow_C()
593 YuvPixel(y_buf[1], vu_buf[1], vu_buf[0], rgb_buf + 4, 24, 16, 8, 0); in NV21ToARGBRow_C()
596 rgb_buf += 8; // Advance 2 pixels. in NV21ToARGBRow_C()
599 YuvPixel(y_buf[0], vu_buf[1], vu_buf[0], rgb_buf + 0, 24, 16, 8, 0); in NV21ToARGBRow_C()
606 uint8* rgb_buf, in I422ToBGRARow_C() argument
609 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf + 0, 0, 8, 16, 24); in I422ToBGRARow_C()
610 YuvPixel(y_buf[1], u_buf[0], v_buf[0], rgb_buf + 4, 0, 8, 16, 24); in I422ToBGRARow_C()
614 rgb_buf += 8; // Advance 2 pixels. in I422ToBGRARow_C()
617 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf, 0, 8, 16, 24); in I422ToBGRARow_C()
624 uint8* rgb_buf, in I422ToABGRRow_C() argument
627 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf + 0, 24, 0, 8, 16); in I422ToABGRRow_C()
628 YuvPixel(y_buf[1], u_buf[0], v_buf[0], rgb_buf + 4, 24, 0, 8, 16); in I422ToABGRRow_C()
632 rgb_buf += 8; // Advance 2 pixels. in I422ToABGRRow_C()
635 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf + 0, 24, 0, 8, 16); in I422ToABGRRow_C()
642 uint8* rgb_buf, in I422ToRGBARow_C() argument
645 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf + 0, 0, 24, 16, 8); in I422ToRGBARow_C()
646 YuvPixel(y_buf[1], u_buf[0], v_buf[0], rgb_buf + 4, 0, 24, 16, 8); in I422ToRGBARow_C()
650 rgb_buf += 8; // Advance 2 pixels. in I422ToRGBARow_C()
653 YuvPixel(y_buf[0], u_buf[0], v_buf[0], rgb_buf + 0, 0, 24, 16, 8); in I422ToRGBARow_C()
657 void YToARGBRow_C(const uint8* y_buf, uint8* rgb_buf, int width) { in YToARGBRow_C() argument
659 YuvPixel(y_buf[0], 128, 128, rgb_buf, 24, 16, 8, 0); in YToARGBRow_C()
661 rgb_buf += 4; // Advance 1 pixel. in YToARGBRow_C()
992 uint8* rgb_buf, \
995 I420TORGB_SSE(y_buf, u_buf, v_buf, rgb_buf, n); \
999 rgb_buf + n * 4, width & 7); \
1006 uint8* rgb_buf, \
1009 NV12TORGB_SSE(y_buf, uv_buf, rgb_buf, n); \
1012 rgb_buf + n * 4, width & 7); \
1047 uint8* rgb_buf, \
1051 memcpy(rgb_buf, row, width * BPP); \