/aosp_15_r20/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_test_image_copy_region.c | 81 … 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 D | fd6_view.c | 156 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 D | layout.c | 73 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 D | layout.h | 206 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 D | i915_surface.c | 226 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 D | hk_image_view.c | 154 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 D | u_format.h | 530 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 D | crocus_blt.c | 268 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 D | pvr_blit.c | 103 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 D | box.h | 307 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 D | etnaviv_transfer.c | 59 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 D | etnaviv_etc2.c | 82 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 D | amdgpu_surface.c | 57 surf->blk_w = util_format_get_blockwidth(tex->format); in amdgpu_surface_init()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_texture.c | 981 .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 D | vk_format.h | 176 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 D | pan_texture.c | 700 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 D | fd2_texture.c | 166 util_format_get_blockwidth(prsc->format)) | in fd2_sampler_view_create()
|
/aosp_15_r20/external/mesa3d/src/util/format/ |
H A D | u_format.h | 889 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 D | u_surface.c | 240 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 D | r300_transfer.c | 222 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 D | volumetexture9.c | 56 const unsigned w = util_format_get_blockwidth(pf); in NineVolumeTexture9_ctor()
|
H A D | cubetexture9.c | 61 const unsigned w = util_format_get_blockwidth(pf); in NineCubeTexture9_ctor()
|
H A D | surface9.c | 119 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 D | dzn_image.c | 36 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 D | virgl_texture.c | 151 util_format_get_blockwidth(resource->format)); in texture_transfer_map_resolve()
|