Searched refs:surface_bytes_per_pixel (Results 1 – 9 of 9) sorted by relevance
50 assert(QEMU_IS_ALIGNED(surface_stride(surface), surface_bytes_per_pixel(surface))); in surface_gl_create_texture()79 surface_stride(surface) / surface_bytes_per_pixel(surface)); in surface_gl_create_texture()111 / surface_bytes_per_pixel(surface)); in surface_gl_update_texture()116 + surface_bytes_per_pixel(surface) * x); in surface_gl_update_texture()
44 surface_data_offset = surface_bytes_per_pixel(surf) * x + in sdl2_2d_update()
123 if (surface_bytes_per_pixel(vs->vd->ds) == 1 || in tight_can_send_png_rect()306 if (surface_bytes_per_pixel(vs->vd->ds) == 1 || in tight_detect_smooth_image()1187 if (surface_bytes_per_pixel(vs->vd->ds) == 1) { in send_jpeg_rect()
194 int bpp = surface_bytes_per_pixel(ssd->ds); in qemu_spice_create_update()
87 static inline int surface_bytes_per_pixel(DisplaySurface *s) in surface_bytes_per_pixel() function
373 width = surface_bytes_per_pixel(surface) * w; in vmsvga_update_rect()374 start = surface_bytes_per_pixel(surface) * x + bypl * y; in vmsvga_update_rect()426 int bypp = surface_bytes_per_pixel(surface); in vmsvga_copy_rect()463 int width = surface_bytes_per_pixel(surface) * w; in vmsvga_fill_rect()480 fst = s->vga.vram_ptr + surface_bytes_per_pixel(surface) * x + bypl * y; in vmsvga_fill_rect()487 if (src - col == surface_bytes_per_pixel(surface)) { in vmsvga_fill_rect()
230 w = s->width * surface_bytes_per_pixel(surface); in g364fb_draw_blank()
1258 x_incr = cw * surface_bytes_per_pixel(surface); in vga_draw_text()1772 w = s->last_scr_width * surface_bytes_per_pixel(surface); in vga_draw_blank()
1728 int dst_bpp = surface_bytes_per_pixel(surface); in sm501_update_display()