44 #define RGB332_TO_BGR8(x) (((x << 3) & 0xC0) | ((x << 3) & 0x38) | ((x >> 5) & 7))
49 for (i = 0; i <
size; i++)
64 const uint8_t *src_end = src + src_size;
76 while (src_end - src >= 2) {
78 if (v > 0 && v < 0xC0) {
80 int length =
FFMIN(v, width - x);
86 }
else if (v >= 0xC1) {
89 int length =
FFMIN3(v, width - x, src_end - src);
90 if (src_end - src < length)
106 void *
data,
int *got_frame,