Home
last modified time | relevance | path

Searched refs:PIXMAN_FORMAT_BPP (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/include/ui/
H A Dpixman-minimal.h63 #define PIXMAN_FORMAT_BPP(f) PIXMAN_FORMAT_RESHIFT(f, 24, 8) macro
123 int bpp = PIXMAN_FORMAT_BPP(format); in create_bits()
176 width * DIV_ROUND_UP(PIXMAN_FORMAT_BPP(format), 8); in pixman_image_create_bits()
H A Dsurface.h83 int bits = PIXMAN_FORMAT_BPP(surface_format(s)); in surface_bits_per_pixel()
89 int bits = PIXMAN_FORMAT_BPP(surface_format(s)); in surface_bytes_per_pixel()
/openbmc/qemu/ui/
H A Dqemu-pixman.c18 bpp = pf.bits_per_pixel = PIXMAN_FORMAT_BPP(format); in qemu_pixelformat_from_pixman()
19 pf.bytes_per_pixel = PIXMAN_FORMAT_BPP(format) / 8; in qemu_pixelformat_from_pixman()
H A Dvnc.h595 #define VNC_SERVER_FB_BITS (PIXMAN_FORMAT_BPP(VNC_SERVER_FB_FORMAT))
H A Ddbus-listener.c682 stride = w * DIV_ROUND_UP(PIXMAN_FORMAT_BPP(surface_format(ddl->ds)), 8); in dbus_gfx_update_sub()
692 int bp = PIXMAN_FORMAT_BPP(surface_format(ddl->ds)) / 8; in dbus_gfx_update_sub()
H A Dcocoa.m532 int bitsPerPixel = PIXMAN_FORMAT_BPP(pixman_image_get_format(pixman_image));
H A Dvnc.c3144 PIXMAN_FORMAT_BPP(pixman_image_get_format(vd->guest.fb)); in vnc_refresh_server_surface()
/openbmc/qemu/hw/display/
H A Dramfb.c60 linesize = width * PIXMAN_FORMAT_BPP(format) / 8; in ramfb_create_display_surface()
H A Dvirtio-gpu.c237 int bpp = PIXMAN_FORMAT_BPP(pformat); in calc_image_hostmem()
466 bpp = DIV_ROUND_UP(PIXMAN_FORMAT_BPP(format), 8); in virtio_gpu_transfer_to_host_2d()
714 fb.bytes_pp = DIV_ROUND_UP(PIXMAN_FORMAT_BPP(fb.format), 8); in virtio_gpu_set_scanout()
738 fb->bytes_pp = DIV_ROUND_UP(PIXMAN_FORMAT_BPP(fb->format), 8); in virtio_gpu_scanout_blob_to_fb()
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvhost-user-gpu.c630 bpp = (PIXMAN_FORMAT_BPP(format) + 7) / 8; in vg_transfer_to_host_2d()
822 PIXMAN_FORMAT_BPP(pixman_image_get_format(res->image)) / 8; in vg_resource_flush()
958 PIXMAN_FORMAT_BPP(pixman_image_get_format(res->image)) == 32); in update_cursor_data_simple()