Home
last modified time | relevance | path

Searched refs:pixel_size (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/tools/easylogo/
H A Deasylogo.c53 int width, height, pixels, bpp, pixel_size, size, palette_size, yuyv; member
186 image->pixel_size = ((image->bpp - 1) / 8) + 1; in image_load_tga()
188 image->size = image->pixels * image->pixel_size; in image_load_tga()
211 int linesize = image->pixel_size * image->width; in image_load_tga()
249 yuyv_image->pixel_size = 2; in image_rgb_to_yuyv()
255 yuyv_image->size = yuyv_image->pixels * yuyv_image->pixel_size; in image_rgb_to_yuyv()
285 rgb565_image->pixel_size = 2; in image_rgb888_to_rgb565()
291 rgb565_image->size = rgb565_image->pixels * rgb565_image->pixel_size; in image_rgb888_to_rgb565()
426 image->pixel_size); in image_save_header()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h71 const struct drm_vmw_size *pixel_size, in vmw_surface_get_size_in_blocks() argument
74 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks()
76 block_size->height = __KERNEL_DIV_ROUND_UP(pixel_size->height, in vmw_surface_get_size_in_blocks()
78 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks()
/openbmc/linux/drivers/gpu/drm/vkms/
H A Dvkms_composer.c248 size_t line_width, pixel_size = sizeof(struct pixel_argb_u16); in compose_active_planes() local
270 stage_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()
276 output_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()
284 &output_buffer, line_width * pixel_size); in compose_active_planes()
/openbmc/u-boot/include/
H A Dvideo_easylogo.h22 int pixel_size; member
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_client_blt.c35 int pixel_size = bpp / 8; in linear_x_y_to_ftiled_pos() local
53 x *= pixel_size; in linear_x_y_to_ftiled_pos()
78 GEM_BUG_ON(!IS_ALIGNED(pos, pixel_size)); in linear_x_y_to_ftiled_pos()
80 return pos / pixel_size * 4; in linear_x_y_to_ftiled_pos()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddisplay.c42 if (dssdev->ctrl.pixel_size == 24) in omapdss_default_get_recommended_bpp()
/openbmc/linux/include/video/
H A Domapfb_dss.h639 u8 pixel_size; member