pix[3] = (y << 2) | (cr << 12) | ( y << 22);
memset16(dst, pix, video_format.stride * video_format.height / sizeof(pix));
} else {
- uint8_t ycbcr[] = { y, cb, y, cr };
+ uint8_t ycbcr[] = { cb, y, cr, y };
memset4(dst, ycbcr, video_format.width * video_format.height / 2);
}
}