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