48 #define RGB332_TO_BGR8(x) (((x << 3) & 0xC0) | ((x << 3) & 0x38) | ((x >> 5) & 7))
53 for (i = 0; i <
size; i++)
68 const uint8_t *src_end = src + src_size;
80 while (src_end - src >= 2) {
82 if (v > 0 && v < 0xC0) {
92 }
else if (v >= 0xC1) {
96 if (src_end - src < length || length <= 0)
112 void *
data,
int *got_frame,