/openbmc/qemu/hw/display/ |
H A D | pl110_template.h | 177 COPY_PIXEL(d, rgb_to_pixel32(r, g, b)); in glue() 184 COPY_PIXEL(d, rgb_to_pixel32(r, g, b)); in glue() 214 COPY_PIXEL(d, rgb_to_pixel32(r, g, b)); in glue() 245 COPY_PIXEL(d, rgb_to_pixel32(r, g, b)); in glue() 252 COPY_PIXEL(d, rgb_to_pixel32(r, g, b)); in glue() 283 COPY_PIXEL(d, rgb_to_pixel32(r, g, b)); in glue() 290 COPY_PIXEL(d, rgb_to_pixel32(r, g, b)); in glue()
|
H A D | omap_lcdc.c | 87 ((uint32_t *) d)[0] = rgb_to_pixel32(r, g, b); in draw_line2_32() 93 ((uint32_t *) d)[0] = rgb_to_pixel32(r, g, b); in draw_line2_32() 99 ((uint32_t *) d)[0] = rgb_to_pixel32(r, g, b); in draw_line2_32() 105 ((uint32_t *) d)[0] = rgb_to_pixel32(r, g, b); in draw_line2_32() 126 ((uint32_t *) d)[0] = rgb_to_pixel32(r, g, b); in draw_line4_32() 132 ((uint32_t *) d)[0] = rgb_to_pixel32(r, g, b); in draw_line4_32() 153 ((uint32_t *) d)[0] = rgb_to_pixel32(r, g, b); in draw_line8_32() 173 ((uint32_t *) d)[0] = rgb_to_pixel32(r, g, b); in draw_line12_32() 193 ((uint32_t *) d)[0] = rgb_to_pixel32(r, g, b); in draw_line16_32()
|
H A D | pxa2xx_lcd.c | 300 COPY_PIXEL(dest, rgb_to_pixel32(r, g, b)); in pxa2xx_draw_line16() 306 COPY_PIXEL(dest, rgb_to_pixel32(r, g, b)); in pxa2xx_draw_line16() 331 COPY_PIXEL(dest, rgb_to_pixel32(r, g, b)); in pxa2xx_draw_line16t() 343 COPY_PIXEL(dest, rgb_to_pixel32(r, g, b)); in pxa2xx_draw_line16t() 365 COPY_PIXEL(dest, rgb_to_pixel32(r, g, b)); in pxa2xx_draw_line18() 395 COPY_PIXEL(dest, rgb_to_pixel32(r, g, b)); in pxa2xx_draw_line18p() 402 COPY_PIXEL(dest, rgb_to_pixel32(r, g, b)); in pxa2xx_draw_line18p() 409 COPY_PIXEL(dest, rgb_to_pixel32(r, g, b)); in pxa2xx_draw_line18p() 415 COPY_PIXEL(dest, rgb_to_pixel32(r, g, b)); in pxa2xx_draw_line18p() 530 COPY_PIXEL(dest, rgb_to_pixel32(r, g, b)); in pxa2xx_draw_line24() [all …]
|
H A D | vga-helpers.h | 345 ((uint32_t *)d)[0] = rgb_to_pixel32(r, g, b); in vga_draw_line15_le() 364 ((uint32_t *)d)[0] = rgb_to_pixel32(r, g, b); in vga_draw_line15_be() 386 ((uint32_t *)d)[0] = rgb_to_pixel32(r, g, b); in vga_draw_line16_le() 405 ((uint32_t *)d)[0] = rgb_to_pixel32(r, g, b); in vga_draw_line16_be() 426 ((uint32_t *)d)[0] = rgb_to_pixel32(r, g, b); in vga_draw_line24_le() 444 ((uint32_t *)d)[0] = rgb_to_pixel32(r, g, b); in vga_draw_line24_be() 465 ((uint32_t *)d)[0] = rgb_to_pixel32(r, g, b); in vga_draw_line32_le() 483 ((uint32_t *)d)[0] = rgb_to_pixel32(r, g, b); in vga_draw_line32_be()
|
H A D | macfb.c | 143 *(uint32_t *)d = rgb_to_pixel32(r, g, b); in macfb_draw_line1() 163 *(uint32_t *)d = rgb_to_pixel32(r, g, b); in macfb_draw_line2() 183 *(uint32_t *)d = rgb_to_pixel32(r, g, b); in macfb_draw_line4() 201 *(uint32_t *)d = rgb_to_pixel32(r, g, b); in macfb_draw_line8() 221 *(uint32_t *)d = rgb_to_pixel32(r, g, b); in macfb_draw_line16() 239 *(uint32_t *)d = rgb_to_pixel32(r, g, b); in macfb_draw_line24()
|
H A D | jazz_led.c | 185 color_segment = rgb_to_pixel32(0xaa, 0xaa, 0xaa); in jazz_led_update_display() 186 color_led = rgb_to_pixel32(0x00, 0xff, 0x00); in jazz_led_update_display()
|
H A D | ati_2d.c | 199 filler = 0xffUL << 24 | rgb_to_pixel32(s->vga.palette[0], in ati_2d_blt() 203 filler = 0xffUL << 24 | rgb_to_pixel32(s->vga.palette[3], in ati_2d_blt()
|
H A D | blizzard.c | 939 *dest++ = rgb_to_pixel32(r, g, b); in blizzard_draw_line16_32() 955 *dest++ = rgb_to_pixel32(r[0], g[0], b[0]); in blizzard_draw_line24mode1_32() 958 *dest++ = rgb_to_pixel32(r[1], g[1], b[1]); in blizzard_draw_line24mode1_32() 972 *dest++ = rgb_to_pixel32(r, g, b); in blizzard_draw_line24mode2_32()
|
H A D | sm501.c | 1645 *(uint32_t *)d = rgb_to_pixel32(r, g, b); in draw_line8_32() 1662 *(uint32_t *)d = rgb_to_pixel32(r, g, b); in draw_line16_32() 1677 *(uint32_t *)d = rgb_to_pixel32(r, g, b); in draw_line32_32() 1712 *(uint32_t *)d = rgb_to_pixel32(r, g, b); in draw_hwc_line_32()
|
H A D | tcx.c | 133 s->palette[i] = rgb_to_pixel32(s->r[i], s->g[i], s->b[i]); in update_palette_entries() 198 dval = rgb_to_pixel32(r, g, b); in tcx24_draw_line32()
|
H A D | bcm2835_fb.c | 131 *(uint32_t *)dst = rgb_to_pixel32(r, g, b); in draw_line_src16()
|
H A D | pl110.c | 349 s->palette[n] = rgb_to_pixel32(r, g, b); in pl110_update_palette()
|
H A D | g364fb.c | 104 rgb_to_pixel = rgb_to_pixel32; in g364fb_draw_graphic8()
|
H A D | tc6393xb.c | 426 uint32_t dest_color = rgb_to_pixel32( in tc6393xb_draw_graphic()
|
H A D | vga.c | 1052 col = rgb_to_pixel32(c6_to_8(s->palette[v]), in update_palette16() 1074 col = rgb_to_pixel32(s->palette[v], in update_palette256() 1078 col = rgb_to_pixel32(c6_to_8(s->palette[v]), in update_palette256()
|
H A D | cirrus_vga.c | 2304 color0 = rgb_to_pixel32(c6_to_8(palette[0x0 * 3]), in cirrus_cursor_draw_line() 2307 color1 = rgb_to_pixel32(c6_to_8(palette[0xf * 3]), in cirrus_cursor_draw_line()
|
/openbmc/qemu/include/ui/ |
H A D | pixel_ops.h | 43 static inline unsigned int rgb_to_pixel32(unsigned int r, unsigned int g, in rgb_to_pixel32() function
|
/openbmc/qemu/hw/arm/ |
H A D | musicpal.c | 160 col = rgb_to_pixel32(scale_lcd_color(s, (MP_LCD_TEXTCOLOR >> 16) & 0xff), in lcd_refresh()
|