Home
last modified time | relevance | path

Searched refs:util_format_get_blockwidth (Results 1 – 25 of 58) sorted by relevance

123

/aosp_15_r20/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_test_image_copy_region.c81 … unsigned width = align(u_minify(tex1->width0, level), util_format_get_blockwidth(tex1->format)); in set_random_pixels_for_2_textures()
230 if (!options->allow_compressed && util_format_get_blockwidth(format) >= 4) in get_random_format()
266 util_format_get_blockwidth(res_format) != util_format_get_blockwidth(format) || in get_random_format()
401 if (util_format_get_blockwidth(templ->format) == 2) in set_random_image_attrs()
577 srcx &= ~(util_format_get_blockwidth(src->format) - 1); in si_test_image_copy_region()
580 dstx &= ~(util_format_get_blockwidth(dst->format) - 1); in si_test_image_copy_region()
583 width = align(width, util_format_get_blockwidth(src->format)); in si_test_image_copy_region()
818 srcx &= ~(util_format_get_blockwidth(tsrc.format) - 1); in si_test_blit()
821 dstx &= ~(util_format_get_blockwidth(tdst.format) - 1); in si_test_blit()
824 src_width = align(src_width, util_format_get_blockwidth(tsrc.format)); in si_test_blit()
[all …]
/aosp_15_r20/external/mesa3d/src/freedreno/fdl/
H A Dfd6_view.c156 if (util_format_get_blockwidth(layout->format) > 1 && in fdl6_view_init()
157 util_format_get_blockwidth(args->format) == 1) { in fdl6_view_init()
159 } else if (util_format_get_blockwidth(layout->format) == 1 && in fdl6_view_init()
160 util_format_get_blockwidth(args->format) > 1) { in fdl6_view_init()
161 width *= util_format_get_blockwidth(args->format); in fdl6_view_init()
/aosp_15_r20/external/mesa3d/src/asahi/layout/
H A Dlayout.c73 unsigned bw_px = util_format_get_blockwidth(layout->format); in ail_initialize_twiddled()
208 assert(util_format_get_blockwidth(layout->format) == 1); in ail_initialize_compression()
262 assert(util_format_get_blockwidth(layout->format) == 1 && in ail_make_miptree()
H A Dlayout.h206 assert(util_format_get_blockwidth(layout->format) == 1 && in ail_get_linear_pixel_B()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/i915/
H A Di915_surface.c226 int block_width = util_format_get_blockwidth(dpt->format); in i915_surface_copy_blitter()
230 assert(util_format_get_blockwidth(spt->format) == block_width); in i915_surface_copy_blitter()
299 assert(util_format_get_blockwidth(pt->format) == 1); in i915_clear_render_target_blitter()
323 assert(util_format_get_blockwidth(pt->format) == 1); in i915_clear_depth_stencil_blitter()
/aosp_15_r20/external/mesa3d/src/asahi/vulkan/
H A Dhk_image_view.c154 assert(util_format_get_blockwidth(img_format) == in view_denominator()
155 util_format_get_blockwidth(view_format)); in view_denominator()
171 util_format_get_blockwidth(img_format), in view_denominator()
/aosp_15_r20/external/virglrenderer/src/gallium/auxiliary/util/
H A Du_format.h530 util_format_get_blockwidth(enum pipe_format format) in util_format_get_blockwidth() function
559 unsigned blockwidth = util_format_get_blockwidth(format); in util_format_get_nblocksx()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_blt.c268 int bw = util_format_get_blockwidth(src->base.b.format); in crocus_emit_blt()
281 int bw = util_format_get_blockwidth(dst->base.b.format); in crocus_emit_blt()
/aosp_15_r20/external/mesa3d/src/imagination/vulkan/
H A Dpvr_blit.c103 uint32_t block_width = util_format_get_blockwidth(pformat); in pvr_setup_buffer_surface()
198 uint32_t block_width = util_format_get_blockwidth(image_pformat); in pvr_setup_transfer_surface()
523 uint32_t block_width = util_format_get_blockwidth(src_pformat); in pvr_copy_or_resolve_image_region()
530 uint32_t block_width = util_format_get_blockwidth(dst_pformat); in pvr_copy_or_resolve_image_region()
781 uint32_t block_width = util_format_get_blockwidth(pformat); in pvr_copy_buffer_to_image_region_format()
964 uint32_t block_width = util_format_get_blockwidth(pformat); in pvr_copy_image_to_buffer_region_format()
/aosp_15_r20/external/mesa3d/src/util/
H A Dbox.h307 pixels->x / util_format_get_blockwidth(format), in u_box_pixels_to_blocks()
310 DIV_ROUND_UP(pixels->width, util_format_get_blockwidth(format)), in u_box_pixels_to_blocks()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_transfer.c59 box->x / util_format_get_blockwidth(format) * in etna_compute_offset()
391 unsigned divSizeX = util_format_get_blockwidth(format); in etna_transfer_map()
H A Detnaviv_etc2.c82 const unsigned bw = util_format_get_blockwidth(format); in etna_etc2_calculate_blocks()
/aosp_15_r20/external/mesa3d/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_surface.c57 surf->blk_w = util_format_get_blockwidth(tex->format); in amdgpu_surface_init()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_texture.c981 .x = box->x / util_format_get_blockwidth(format), in llvmpipe_transfer_map_ms()
982 .width = DIV_ROUND_UP(box->x + box->width, util_format_get_blockwidth(format)), in llvmpipe_transfer_map_ms()
1033 box->x / util_format_get_blockwidth(format) * util_format_get_blocksize(format); in llvmpipe_transfer_map_ms()
1074 … sparse_tile_size[0] * util_format_get_blockwidth(resource->format)); in llvmpipe_get_texel_offset()
/aosp_15_r20/external/mesa3d/src/vulkan/util/
H A Dvk_format.h176 return util_format_get_blockwidth(vk_format_to_pipe_format(format)); in vk_format_get_blockwidth()
/aosp_15_r20/external/mesa3d/src/panfrost/lib/
H A Dpan_texture.c700 DIV_ROUND_UP(width, util_format_get_blockwidth(layout->format)); in GENX()
705 assert(util_format_get_blockwidth(format) == 1); in GENX()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_texture.c166 util_format_get_blockwidth(prsc->format)) | in fd2_sampler_view_create()
/aosp_15_r20/external/mesa3d/src/util/format/
H A Du_format.h889 util_format_get_blockwidth(enum pipe_format format) in util_format_get_blockwidth() function
931 unsigned blockwidth = util_format_get_blockwidth(format); in util_format_get_nblocksx()
/aosp_15_r20/external/mesa3d/src/gallium/auxiliary/util/
H A Du_surface.c240 src_bw = util_format_get_blockwidth(src_format); in util_resource_copy_region()
243 dst_bw = util_format_get_blockwidth(dst_format); in util_resource_copy_region()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_transfer.c222 box->x / util_format_get_blockwidth(format) * util_format_get_blocksize(format); in r300_texture_transfer_map()
/aosp_15_r20/external/mesa3d/src/gallium/frontends/nine/
H A Dvolumetexture9.c56 const unsigned w = util_format_get_blockwidth(pf); in NineVolumeTexture9_ctor()
H A Dcubetexture9.c61 const unsigned w = util_format_get_blockwidth(pf); in NineCubeTexture9_ctor()
H A Dsurface9.c119 const unsigned w = util_format_get_blockwidth(This->base.info.format); in NineSurface9_ctor()
447 const unsigned w = util_format_get_blockwidth(This->base.info.format); in NineSurface9_LockRect()
/aosp_15_r20/external/mesa3d/src/microsoft/vulkan/
H A Ddzn_image.c36 uint32_t blkw = util_format_get_blockwidth(pfmt); in dzn_image_align_extent()
160 .Width = ALIGN_POT(image->vk.extent.width, util_format_get_blockwidth(pfmt)), in dzn_image_create()
434 uint32_t blkw = util_format_get_blockwidth(pfmt); in dzn_image_get_copy_loc()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_texture.c151 util_format_get_blockwidth(resource->format)); in texture_transfer_map_resolve()

123