Home
last modified time | relevance | path

Searched refs:pixel_bytes (Results 1 – 6 of 6) sorted by relevance

/bootable/recovery/minui/
Dgraphics.cpp127 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; in gr_text()
140 if (icon->pixel_bytes != 1) { in gr_texticon()
151 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; in gr_texticon()
186 px += gr_draw->row_bytes - (gr_draw->width * gr_draw->pixel_bytes); in gr_clear()
201 unsigned char* p = gr_draw->data + y1 * gr_draw->row_bytes + x1 * gr_draw->pixel_bytes; in gr_fill()
235 if (gr_draw->pixel_bytes != source->pixel_bytes) { in gr_blit()
245 unsigned char* src_p = source->data + sy*source->row_bytes + sx*source->pixel_bytes; in gr_blit()
246 unsigned char* dst_p = gr_draw->data + dy*gr_draw->row_bytes + dx*gr_draw->pixel_bytes; in gr_blit()
250 memcpy(dst_p, src_p, w * source->pixel_bytes); in gr_blit()
289 gr_font->texture->pixel_bytes = 1; in gr_init_font()
Dgraphics_fbdev.cpp75 vi.bits_per_pixel = gr_framebuffer[0].pixel_bytes * 8; in set_displayed_framebuffer()
135 gr_framebuffer[0].pixel_bytes = vi.bits_per_pixel / 8; in fbdev_init()
Dresources.cpp148 surface->pixel_bytes = 4; in init_display_surface()
352 surface->pixel_bytes = 1; in res_create_alpha_surface()
404 surface->pixel_bytes = 1; in res_create_localized_alpha_surface()
435 surface->pixel_bytes = 1; in res_create_localized_alpha_surface()
Dminui.h32 int pixel_bytes; member
Dgraphics_adf.cpp64 surf->base.pixel_bytes = (pdata->format == DRM_FORMAT_RGB565) ? 2 : 4; in adf_surface_init()
Dgraphics_drm.cpp194 surface->base.pixel_bytes = create_dumb.bpp / 8; in drm_create_surface()