Home
last modified time | relevance | path

Searched refs:color (Results 1 – 25 of 26) sorted by relevance

12

/qemu/ui/
H A Dvnc-palette.c33 uint32_t color, unsigned int hash) in palette_find() argument
38 if (entry->color == color) { in palette_find()
76 int palette_put(VncPalette *palette, uint32_t color) in palette_put() argument
82 hash = palette_hash(color, palette->bpp) % VNC_PALETTE_HASH_SIZE; in palette_put()
83 entry = palette_find(palette, color, hash); in palette_put()
90 entry->color = color; in palette_put()
98 int palette_idx(const VncPalette *palette, uint32_t color) in palette_idx() argument
103 hash = palette_hash(color, palette->bpp) % VNC_PALETTE_HASH_SIZE; in palette_idx()
104 entry = palette_find(palette, color, hash); in palette_idx()
114 void (*iter)(int idx, uint32_t color, void *opaque), in palette_iter() argument
[all …]
H A Dvnc-enc-hextile-template.h128 pixel_t color = 0; /* shut up gcc */ in CONCAT() local
134 color = irow[i]; in CONCAT()
137 } else if (irow[i] != color) { in CONCAT()
140 vnc_convert_pixel(vs, data + n_data, color); in CONCAT()
143 memcpy(data + n_data, &color, sizeof(color)); in CONCAT()
152 color = irow[i]; in CONCAT()
160 vnc_convert_pixel(vs, data + n_data, color); in CONCAT()
163 memcpy(data + n_data, &color, sizeof(color)); in CONCAT()
H A Dvnc-palette.h39 uint32_t color; member
55 int palette_put(VncPalette *palette, uint32_t color);
56 int palette_idx(const VncPalette *palette, uint32_t color);
60 void (*iter)(int idx, uint32_t color, void *opaque),
H A Dvnc-enc-tight.c677 uint32_t *color, bool samecolor) in check_solid_tile32() argument
687 if (samecolor && (uint32_t)c != *color) { in check_solid_tile32()
701 *color = (uint32_t)c; in check_solid_tile32()
706 uint32_t* color, bool samecolor) in check_solid_tile() argument
709 return check_solid_tile32(vs, x, y, w, h, color, samecolor); in check_solid_tile()
713 uint32_t color, int *w_ptr, int *h_ptr) in find_best_solid_area() argument
726 if (!check_solid_tile(vs, x, dy, dw, dh, &color, true)) { in find_best_solid_area()
733 if (!check_solid_tile(vs, dx, dy, dw, dh, &color, true)) { in find_best_solid_area()
751 uint32_t color, int *x_ptr, int *y_ptr, in extend_solid_area() argument
758 cy >= y && check_solid_tile(vs, *x_ptr, cy, *w_ptr, 1, &color, true); in extend_solid_area()
[all …]
H A Dcurses.c619 short color; in font_setup() local
622 ret = getcchar(&vga_to_curses[i], wch, &attr, &color, NULL); in font_setup()
H A Dconsole-vc.c131 int width, int height, pixman_color_t color) in qemu_console_fill_rect() argument
140 &color, 1, &rect); in qemu_console_fill_rect()
/qemu/docs/sphinx-static/
H A Dtheme_overrides.css11 color: black;
22 background-color: #eaedf1;
23 color: black;
31 border-color: #f60;
35 color: white;
39 color: #505050;
43 color: #303030;
53 color: black;
94 background-color: transparent;
103 background-color: #5980a6;
[all …]
/qemu/hw/misc/
H A Dled.c43 trace_led_set_intensity(s->description, s->color, intensity_percent); in led_set_intensity()
45 trace_led_change_intensity(s->description, s->color, in led_set_intensity()
90 if (s->color == NULL) { in led_realize()
93 } else if (!led_color_name_is_valid(s->color)) { in led_realize()
105 DEFINE_PROP_STRING("color", LEDState, color),
138 LEDColor color, in type_init()
147 qdev_prop_set_string(dev, "color", led_color_name[color]); in type_init()
H A Dbcm2835_property.c282 uint32_t color = ldl_le_phys(&s->dma_as, value + 20 + (e << 2)); in bcm2835_property_mbox_push() local
284 s->fbdev->vcram_base + ((offset + e) << 2), color); in bcm2835_property_mbox_push()
H A Dtrace-events351 led_set_intensity(const char *color, const char *desc, uint8_t intensity_percent) "LED desc:'%s' co…
352 …_intensity(const char *color, const char *desc, uint8_t old_intensity_percent, uint8_t new_intensi…
/qemu/hw/display/
H A Djazz_led.c87 uint32_t color) in draw_horizontal_line() argument
97 *((uint8_t *)d) = color; in draw_horizontal_line()
103 *((uint16_t *)d) = color; in draw_horizontal_line()
109 *((uint32_t *)d) = color; in draw_horizontal_line()
118 uint32_t color) in draw_vertical_line() argument
128 *((uint8_t *)d) = color; in draw_vertical_line()
134 *((uint16_t *)d) = color; in draw_vertical_line()
140 *((uint32_t *)d) = color; in draw_vertical_line()
H A Dg364fb.c141 unsigned int color; in g364fb_draw_graphic8() local
151 color = (*rgb_to_pixel)( in g364fb_draw_graphic8()
158 color = (*rgb_to_pixel)( in g364fb_draw_graphic8()
166 color = (*rgb_to_pixel)( in g364fb_draw_graphic8()
171 memcpy(dd, &color, w); in g364fb_draw_graphic8()
H A Dartist.c454 uint8_t color = artist_get_color(s); in fill_window() local
484 artist_rop8(s, buf, offset + x, color); in fill_window()
496 uint8_t color; in draw_line() local
560 color = artist_get_color(s); in draw_line()
574 artist_rop8(s, buf, ofs, color); in draw_line()
691 uint32_t color = (s->image_bitmap_op & 2) ? s->fg_color : s->bg_color; in font_write16() local
709 artist_rop8(s, buf, offset + i, color); in font_write16()
H A Dcirrus_vga.c586 unsigned int color; in cirrus_bitblt_fgcol() local
592 color = s->cirrus_shadow_gr1 | (s->vga.gr[0x11] << 8); in cirrus_bitblt_fgcol()
593 s->cirrus_blt_fgcol = le16_to_cpu(color); in cirrus_bitblt_fgcol()
601 color = s->cirrus_shadow_gr1 | (s->vga.gr[0x11] << 8) | in cirrus_bitblt_fgcol()
603 s->cirrus_blt_fgcol = le32_to_cpu(color); in cirrus_bitblt_fgcol()
610 unsigned int color; in cirrus_bitblt_bgcol() local
616 color = s->cirrus_shadow_gr0 | (s->vga.gr[0x10] << 8); in cirrus_bitblt_bgcol()
617 s->cirrus_blt_bgcol = le16_to_cpu(color); in cirrus_bitblt_bgcol()
625 color = s->cirrus_shadow_gr0 | (s->vga.gr[0x10] << 8) | in cirrus_bitblt_bgcol()
627 s->cirrus_blt_bgcol = le32_to_cpu(color); in cirrus_bitblt_bgcol()
H A Dsm501.c898 uint32_t color = s->twoD_foreground; in sm501_2d_operation() local
901 color = cpu_to_le32(color); in sm501_2d_operation()
903 color = cpu_to_le16(color); in sm501_2d_operation()
910 dst_x, dst_y, width, height, color)) in sm501_2d_operation()
919 stn_he_p(&d[i], bypp, color); in sm501_2d_operation()
H A Dati.c213 uint32_t color; in ati_cursor_draw_line() local
219 color = dp[i * 8 + j] ^ 0xffffffff; /* complement */ in ati_cursor_draw_line()
224 color = (xbits & BIT(7) ? s->regs.cur_color1 : in ati_cursor_draw_line()
230 dp[i * 8 + j] = color; in ati_cursor_draw_line()
/qemu/include/hw/misc/
H A Dled.h46 char *color; member
95 LEDColor color,
/qemu/tests/qemu-iotests/
H A Dtestrunner.py142 color: str = 'auto') -> None:
147 assert color in ('auto', 'on', 'off')
148 self.color = (color == 'on') or (color == 'auto' and
199 if self.color:
H A Dcheck191 color=args.color) as tr:
/qemu/scripts/
H A Dcheckpatch.pl30 my $color = "auto";
89 $_ = "--color=$color";
111 'color=s' => \$color,
112 'no-color' => sub { $color = 'never'; },
189 if ($color =~ /^always$/i) {
190 $color = 1;
191 } elsif ($color =~ /^never$/i) {
192 $color = 0;
193 } elsif ($color =~ /^auto$/i) {
194 $color = (-t STDOUT);
[all …]
/qemu/hw/dma/
H A Domap_dma.c46 uint32_t color; member
385 *(uint32_t *) value = ch->color; in omap_dma_transfer_generic()
387 if (!ch->transparent_copy || *(uint32_t *) value != ch->color) in omap_dma_transfer_generic()
715 s->ch[i].color = 0x00000000;
834 *value = ch->color & 0xffff;
838 *value = ch->color >> 16;
969 ch->color &= 0xffff0000;
970 ch->color |= value;
974 ch->color &= 0xffff;
975 ch->color |= (uint32_t)value << 16;
/qemu/util/
H A Dinterval-tree.c125 static inline void rb_set_parent_color(RBNode *n, RBNode *p, RBColor color) in rb_set_parent_color() argument
127 rb_set_pc(n, (uintptr_t)p | color); in rb_set_parent_color()
191 RBRoot *root, RBColor color) in rb_rotate_set_parents() argument
197 rb_set_parent_color(old, new, color); in rb_rotate_set_parents()
/qemu/tests/migration-stress/guestperf/
H A Dplot.py65 color = self.COLORS[self._color_idx]
69 return color
/qemu/hw/arm/
H A Daspeed.c696 LEDColor color; in witherspoon_bmc_i2c_init() member
719 pca1_leds[i].color, in witherspoon_bmc_i2c_init()
/qemu/tests/data/qobject/
H A Dqdict.txt3023 color.c: 4817
3024 color.h: 1187

12