Lines Matching refs:src_rgb
98 void RGB565ToARGBRow_C(const uint8* src_rgb, uint8* dst_argb, int width) {
100 uint8 b = src_rgb[0] & 0x1f;
101 uint8 g = (src_rgb[0] >> 5) | ((src_rgb[1] & 0x07) << 3);
102 uint8 r = src_rgb[1] >> 3;
108 src_rgb += 2;
112 void ARGB1555ToARGBRow_C(const uint8* src_rgb, uint8* dst_argb, int width) {
114 uint8 b = src_rgb[0] & 0x1f;
115 uint8 g = (src_rgb[0] >> 5) | ((src_rgb[1] & 0x03) << 3);
116 uint8 r = (src_rgb[1] & 0x7c) >> 2;
117 uint8 a = src_rgb[1] >> 7;
123 src_rgb += 2;
127 void ARGB4444ToARGBRow_C(const uint8* src_rgb, uint8* dst_argb, int width) {
129 uint8 b = src_rgb[0] & 0x0f;
130 uint8 g = src_rgb[0] >> 4;
131 uint8 r = src_rgb[1] & 0x0f;
132 uint8 a = src_rgb[1] >> 4;
138 src_rgb += 2;