Lines Matching refs:sb

48     unsigned sr = r, sg = g, sb = b, sa = a; (void) sa; \
54 unsigned sr, sg, sb, sa = 0xFF; \
58 sb = DRAW_MUL(inva, sb) + b; \
65 unsigned sr, sg, sb, sa; (void) sa; \
69 sb += b; if (sb > 0xff) sb = 0xff; \
75 unsigned sr, sg, sb, sa; (void) sa; \
79 sb = DRAW_MUL(sb, b); \
85 unsigned sr, sg, sb, sa; sa = 0xFF; \
89 sb = DRAW_MUL(sb, b) + DRAW_MUL(inva, sb); if (sb > 0xff) sb = 0xff; \
106 DRAW_SETPIXEL(RGB555_FROM_RGB(*pixel, sr, sg, sb))
109 DRAW_SETPIXEL_BLEND(RGB_FROM_RGB555(*pixel, sr, sg, sb), \
110 RGB555_FROM_RGB(*pixel, sr, sg, sb))
113 DRAW_SETPIXEL_ADD(RGB_FROM_RGB555(*pixel, sr, sg, sb), \
114 RGB555_FROM_RGB(*pixel, sr, sg, sb))
117 DRAW_SETPIXEL_MOD(RGB_FROM_RGB555(*pixel, sr, sg, sb), \
118 RGB555_FROM_RGB(*pixel, sr, sg, sb))
121 DRAW_SETPIXEL_MUL(RGB_FROM_RGB555(*pixel, sr, sg, sb), \
122 RGB555_FROM_RGB(*pixel, sr, sg, sb))
144 DRAW_SETPIXEL(RGB565_FROM_RGB(*pixel, sr, sg, sb))
147 DRAW_SETPIXEL_BLEND(RGB_FROM_RGB565(*pixel, sr, sg, sb), \
148 RGB565_FROM_RGB(*pixel, sr, sg, sb))
151 DRAW_SETPIXEL_ADD(RGB_FROM_RGB565(*pixel, sr, sg, sb), \
152 RGB565_FROM_RGB(*pixel, sr, sg, sb))
155 DRAW_SETPIXEL_MOD(RGB_FROM_RGB565(*pixel, sr, sg, sb), \
156 RGB565_FROM_RGB(*pixel, sr, sg, sb))
159 DRAW_SETPIXEL_MUL(RGB_FROM_RGB565(*pixel, sr, sg, sb), \
160 RGB565_FROM_RGB(*pixel, sr, sg, sb))
182 DRAW_SETPIXEL(RGB888_FROM_RGB(*pixel, sr, sg, sb))
185 DRAW_SETPIXEL_BLEND(RGB_FROM_RGB888(*pixel, sr, sg, sb), \
186 RGB888_FROM_RGB(*pixel, sr, sg, sb))
189 DRAW_SETPIXEL_ADD(RGB_FROM_RGB888(*pixel, sr, sg, sb), \
190 RGB888_FROM_RGB(*pixel, sr, sg, sb))
193 DRAW_SETPIXEL_MOD(RGB_FROM_RGB888(*pixel, sr, sg, sb), \
194 RGB888_FROM_RGB(*pixel, sr, sg, sb))
197 DRAW_SETPIXEL_MUL(RGB_FROM_RGB888(*pixel, sr, sg, sb), \
198 RGB888_FROM_RGB(*pixel, sr, sg, sb))
220 DRAW_SETPIXEL(ARGB8888_FROM_RGBA(*pixel, sr, sg, sb, sa))
223 DRAW_SETPIXEL_BLEND(RGBA_FROM_ARGB8888(*pixel, sr, sg, sb, sa), \
224 ARGB8888_FROM_RGBA(*pixel, sr, sg, sb, sa))
227 DRAW_SETPIXEL_ADD(RGBA_FROM_ARGB8888(*pixel, sr, sg, sb, sa), \
228 ARGB8888_FROM_RGBA(*pixel, sr, sg, sb, sa))
231 DRAW_SETPIXEL_MOD(RGBA_FROM_ARGB8888(*pixel, sr, sg, sb, sa), \
232 ARGB8888_FROM_RGBA(*pixel, sr, sg, sb, sa))
235 DRAW_SETPIXEL_MUL(RGBA_FROM_ARGB8888(*pixel, sr, sg, sb, sa), \
236 ARGB8888_FROM_RGBA(*pixel, sr, sg, sb, sa))
258 DRAW_SETPIXEL(PIXEL_FROM_RGB(*pixel, fmt, sr, sg, sb))
261 DRAW_SETPIXEL_BLEND(RGB_FROM_PIXEL(*pixel, fmt, sr, sg, sb), \
262 PIXEL_FROM_RGB(*pixel, fmt, sr, sg, sb))
265 DRAW_SETPIXEL_ADD(RGB_FROM_PIXEL(*pixel, fmt, sr, sg, sb), \
266 PIXEL_FROM_RGB(*pixel, fmt, sr, sg, sb))
269 DRAW_SETPIXEL_MOD(RGB_FROM_PIXEL(*pixel, fmt, sr, sg, sb), \
270 PIXEL_FROM_RGB(*pixel, fmt, sr, sg, sb))
273 DRAW_SETPIXEL_MUL(RGB_FROM_PIXEL(*pixel, fmt, sr, sg, sb), \
274 PIXEL_FROM_RGB(*pixel, fmt, sr, sg, sb))
312 DRAW_SETPIXEL(PIXEL_FROM_RGBA(*pixel, fmt, sr, sg, sb, sa))
315 DRAW_SETPIXEL_BLEND(RGBA_FROM_PIXEL(*pixel, fmt, sr, sg, sb, sa), \
316 PIXEL_FROM_RGBA(*pixel, fmt, sr, sg, sb, sa))
319 DRAW_SETPIXEL_ADD(RGBA_FROM_PIXEL(*pixel, fmt, sr, sg, sb, sa), \
320 PIXEL_FROM_RGBA(*pixel, fmt, sr, sg, sb, sa))
323 DRAW_SETPIXEL_MOD(RGBA_FROM_PIXEL(*pixel, fmt, sr, sg, sb, sa), \
324 PIXEL_FROM_RGBA(*pixel, fmt, sr, sg, sb, sa))
327 DRAW_SETPIXEL_MUL(RGBA_FROM_PIXEL(*pixel, fmt, sr, sg, sb, sa), \
328 PIXEL_FROM_RGBA(*pixel, fmt, sr, sg, sb, sa))