Home
last modified time | relevance | path

Searched refs:util_format_get_num_planes (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/vulkan/util/
Dvk_format.h198 return util_format_get_num_planes(vk_format_to_pipe_format(format)); in vk_format_get_plane_count()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c57 unsigned num_planes = util_format_get_num_planes(format); in vl_get_video_buffer_formats()
224 unsigned num_planes = util_format_get_num_planes(buffer->buffer_format); in vl_video_buffer_sampler_view_planes()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_image.c48 assert(util_format_get_num_planes(image->pimage.layout.format) == 1); in panvk_image_get_total_size()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_video_buffer.cpp103 …pD3D12VideoBuffer->num_planes = util_format_get_num_planes(pD3D12VideoBuffer->texture->overall_for… in d3d12_video_buffer_create()
Dd3d12_resource.cpp304 unsigned num_planes = util_format_get_num_planes(res->base.b.format); in convert_planar_resource()
802 unsigned num_planes = util_format_get_num_planes(res->overall_format); in d3d12_resource_get_info()
1608 unsigned num_planes = util_format_get_num_planes(res->overall_format); in d3d12_transfer_map()
1761 unsigned num_planes = util_format_get_num_planes(res->overall_format); in d3d12_transfer_unmap()
Dd3d12_format.c338 unsigned plane_count = util_format_get_num_planes(resource_format); in d3d12_get_format_info()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c258 bool is_planar = util_format_get_num_planes(templ->format) > 1; in get_image_usage_for_feats()
411 if (util_format_get_num_planes(templ->format) > 1) in create_ici()
562 if (whandle && whandle->plane >= util_format_get_num_planes(whandle->format)) in resource_object_create()
578 unsigned num_planes = util_format_get_num_planes(templ->format); in resource_object_create()
1314 *value = util_format_get_num_planes(res->drm_format); in zink_resource_get_param()
Dzink_context.c4123 if (util_format_get_num_planes(src->base.b.format) == 1 && in zink_resource_copy_region()
4124 util_format_get_num_planes(dst->base.b.format) == 1) { in zink_resource_copy_region()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resource.c854 if (whandle->plane < util_format_get_num_planes(whandle->format)) { in crocus_resource_from_handle()
997 *value = util_format_get_num_planes(res->external_format); in crocus_resource_get_param()
1929 return util_format_get_num_planes(format); in crocus_get_dmabuf_modifier_planes()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c1285 unsigned num_planes = util_format_get_num_planes(templ->format); in si_texture_create_with_modifier()
1457 unsigned planes = util_format_get_num_planes(format); in si_get_dmabuf_modifier_planes()
1672 if (whandle->plane >= util_format_get_num_planes(whandle->format)) { in si_texture_from_handle()
2350 util_format_get_num_planes(format) > 1 || in si_get_sparse_texture_virtual_page_size()
Dsi_state.c2418 if (util_format_get_num_planes(format) >= 2) in si_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/tegra/
Dtegra_screen.c549 util_format_get_num_planes(format); in tegra_screen_get_dmabuf_modifier_planes()
/third_party/mesa3d/src/gallium/frontends/va/
Dsurface.c624 unsigned num_planes = util_format_get_num_planes(templat->buffer_format); in surface_from_external_memory()
678 num_format_planes = util_format_get_num_planes(templat->buffer_format); in surface_from_prime_2()
/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c47 assert(util_format_get_num_planes(desc->format) == 1); in radv_translate_buffer_dataformat()
119 assert(util_format_get_num_planes(desc->format) == 1); in radv_translate_buffer_numformat()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resource.c297 unsigned int planes = util_format_get_num_planes(format); in iris_get_dmabuf_modifier_planes()
480 util_format_get_num_planes(templ->format) > 1) in iris_resource_alloc_flags()
1387 if (whandle->plane < util_format_get_num_planes(whandle->format)) { in iris_resource_from_handle()
/third_party/mesa3d/src/util/format/
Du_format.h1353 util_format_get_num_planes(enum pipe_format format) in util_format_get_num_planes() function
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri2.c857 const unsigned format_planes = util_format_get_num_planes(map->pipe_format); in dri2_create_image_from_winsys()
1028 return util_format_get_num_planes(map->pipe_format); in dri2_get_modifier_num_planes()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c995 return util_format_get_num_planes(format); in virgl_get_dmabuf_modifier_planes()
/third_party/mesa3d/src/amd/common/
Dac_surface.c209 if (info->gfx_level < GFX9 && util_format_get_num_planes(format) > 1) in ac_is_modifier_supported()
233 if (util_format_get_num_planes(format) > 1) in ac_is_modifier_supported()