52 #define RBG323_TO_BGR8(x) ((((x) << 3) & 0xC0) | \
53 (((x) << 3) & 0x38) | \
59 for (i = 0; i <
size; i++)
77 const uint8_t *src_end = src + src_size;
89 while (src_end - src >= 2) {
91 if (v > 0 && v < 0xC0) {
101 }
else if (v >= 0xC1) {
105 if (src_end - src < length || length <= 0)