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