Searched refs:bypp (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/hw/display/ |
H A D | sm501.c | 689 int bypp = 1 << format; /* bytes per pixel */ in sm501_2d_operation() local 730 dst_base + (dst_x + width + (dst_y + height) * dst_pitch) * bypp >= in sm501_2d_operation() 755 src_base + (src_x + width + (src_y + height) * src_pitch) * bypp >= in sm501_2d_operation() 768 i = (dst_x + (dst_y + y) * dst_pitch) * bypp; in sm501_2d_operation() 769 for (x = 0; x < width; x++, i += bypp) { in sm501_2d_operation() 770 stn_he_p(&d[i], bypp, ~ldn_he_p(&d[i], bypp)); in sm501_2d_operation() 780 i = (dst_x + (dst_y + y) * dst_pitch) * bypp; in sm501_2d_operation() 781 j = (src_x + (src_y + y) * src_pitch) * bypp; in sm501_2d_operation() 782 for (x = 0; x < width; x++, i += bypp, j += bypp) { in sm501_2d_operation() 783 stn_he_p(&d[i], bypp, in sm501_2d_operation() [all …]
|
H A D | ati_2d.c | 157 unsigned int y, i, j, bypp = bpp / 8; in ati_2d_blt() local 162 i = dst_x * bypp; in ati_2d_blt() 163 j = src_x * bypp; in ati_2d_blt() 171 memmove(&dst_bits[i], &src_bits[j], s->regs.dst_width * bypp); in ati_2d_blt() 219 unsigned int x, y, i, bypp = bpp / 8; in ati_2d_blt() local 222 i = dst_x * bypp + (dst_y + y) * dst_pitch; in ati_2d_blt() 223 for (x = 0; x < s->regs.dst_width; x++, i += bypp) { in ati_2d_blt() 224 stn_he_p(&dst_bits[i], bypp, filler); in ati_2d_blt()
|
H A D | vmware_vga.c | 426 int bypp = surface_bytes_per_pixel(surface); in vmsvga_copy_rect() local 427 int width = bypp * w; in vmsvga_copy_rect() 439 ptr[0] = vram + bypp * x0 + bypl * (y0 + h - 1); in vmsvga_copy_rect() 440 ptr[1] = vram + bypp * x1 + bypl * (y1 + h - 1); in vmsvga_copy_rect() 445 ptr[0] = vram + bypp * x0 + bypl * y0; in vmsvga_copy_rect() 446 ptr[1] = vram + bypp * x1 + bypl * y1; in vmsvga_copy_rect()
|
H A D | ati.c | 114 int bypp = DIV_ROUND_UP(bpp, BITS_PER_BYTE); in ati_vga_switch_mode() local 118 stride *= bypp; in ati_vga_switch_mode() 123 vbe_ioport_write_data(&s->vga, 0, offs % stride / bypp); in ati_vga_switch_mode()
|