Lines Matching refs:bgr
289 __m128i bgr[6]; in VP8YuvToBgr32() local
297 bgr[0] = _mm_packus_epi16(B0, B1); in VP8YuvToBgr32()
298 bgr[1] = _mm_packus_epi16(B2, B3); in VP8YuvToBgr32()
299 bgr[2] = _mm_packus_epi16(G0, G1); in VP8YuvToBgr32()
300 bgr[3] = _mm_packus_epi16(G2, G3); in VP8YuvToBgr32()
301 bgr[4] = _mm_packus_epi16(R0, R1); in VP8YuvToBgr32()
302 bgr[5] = _mm_packus_epi16(R2, R3); in VP8YuvToBgr32()
305 PlanarTo24b(bgr, dst); in VP8YuvToBgr32()
415 __m128i bgr[6]; in YuvToBgrRow() local
423 bgr[0] = _mm_packus_epi16(B0, B1); in YuvToBgrRow()
424 bgr[1] = _mm_packus_epi16(B2, B3); in YuvToBgrRow()
425 bgr[2] = _mm_packus_epi16(G0, G1); in YuvToBgrRow()
426 bgr[3] = _mm_packus_epi16(G2, G3); in YuvToBgrRow()
427 bgr[4] = _mm_packus_epi16(R0, R1); in YuvToBgrRow()
428 bgr[5] = _mm_packus_epi16(R2, R3); in YuvToBgrRow()
431 PlanarTo24b(bgr, dst); in YuvToBgrRow()
613 static void ConvertBGR24ToY(const uint8_t* bgr, uint8_t* y, int width) { in ConvertBGR24ToY() argument
616 for (i = 0; i < max_width; bgr += 3 * 16 * 2) { in ConvertBGR24ToY()
620 RGB24PackedToPlanar(bgr, bgr_plane); in ConvertBGR24ToY()
642 for (; i < width; ++i, bgr += 3) { // left-over in ConvertBGR24ToY()
643 y[i] = VP8RGBToY(bgr[2], bgr[1], bgr[0], YUV_HALF); in ConvertBGR24ToY()