Searched refs:layout_from_format (Results 1 – 2 of 2) sorted by relevance
89 static const struct planar_layout *layout_from_format(uint32_t format) in layout_from_format() function173 const struct planar_layout *layout = layout_from_format(format); in drv_num_planes_from_format()202 const struct planar_layout *layout = layout_from_format(format); in drv_height_from_format()211 const struct planar_layout *layout = layout_from_format(format); in drv_vertical_subsampling_from_format()220 const struct planar_layout *layout = layout_from_format(format); in drv_bytes_per_pixel_from_format()232 const struct planar_layout *layout = layout_from_format(format); in drv_stride_from_format()370 DIV_ROUND_UP(aligned_width * layout_from_format(format)->bytes_per_pixel[0], 4); in drv_dumb_bo_create_ex()376 create_dumb.bpp = layout_from_format(format)->bytes_per_pixel[0] * 8; in drv_dumb_bo_create_ex()
173 static const struct planar_layout *layout_from_format(uint32_t format) in layout_from_format() function338 const struct planar_layout *layout = layout_from_format(format); in virgl_gbm_transfer()534 const struct planar_layout *layout = layout_from_format(format); in virgl_gbm_get_plane_width()542 const struct planar_layout *layout = layout_from_format(format); in virgl_gbm_get_plane_height()550 const struct planar_layout *layout = layout_from_format(format); in virgl_gbm_get_plane_bytes_per_pixel()