Home
last modified time | relevance | path

Searched refs:blk_w (Results 1 – 25 of 62) sorted by relevance

123

/aosp_15_r20/external/mesa3d/src/amd/vulkan/
H A Dradv_sdma.c96 radv_sdma_pixel_extent_to_blocks(const VkExtent3D extent, const unsigned blk_w, const unsigned blk_… in radv_sdma_pixel_extent_to_blocks() argument
99 .width = DIV_ROUND_UP(extent.width, blk_w), in radv_sdma_pixel_extent_to_blocks()
108 radv_sdma_pixel_offset_to_blocks(const VkOffset3D offset, const unsigned blk_w, const unsigned blk_… in radv_sdma_pixel_offset_to_blocks() argument
111 .x = DIV_ROUND_UP(offset.x, blk_w), in radv_sdma_pixel_offset_to_blocks()
120 radv_sdma_pixels_to_blocks(const unsigned linear_pitch, const unsigned blk_w) in radv_sdma_pixels_to_blocks() argument
122 return DIV_ROUND_UP(linear_pitch, blk_w); in radv_sdma_pixels_to_blocks()
126 radv_sdma_pixel_area_to_blocks(const unsigned linear_slice_pitch, const unsigned blk_w, const unsig… in radv_sdma_pixel_area_to_blocks() argument
128 return DIV_ROUND_UP(DIV_ROUND_UP(linear_slice_pitch, blk_w), blk_h); in radv_sdma_pixel_area_to_blocks()
135 const unsigned extent_horizontal_blocks = DIV_ROUND_UP(extent.width, img->blk_w); in radv_sdma_get_chunked_copy_info()
174 .blk_w = surf->blk_w, in radv_sdma_get_buf_surf()
[all …]
H A Dradv_image_view.c373 uint32_t blk_w; in radv_image_view_make_descriptor() local
384 assert(plane->surface.blk_w % vk_format_get_blockwidth(plane->format) == 0); in radv_image_view_make_descriptor()
385blk_w = plane->surface.blk_w / vk_format_get_blockwidth(plane->format) * vk_format_get_blockwidth(… in radv_image_view_make_descriptor()
422 … iview->vk.base_mip_level, blk_w, is_stencil, is_storage_image, disable_compression, in radv_image_view_make_descriptor()
H A Dradv_sdma.h21 unsigned blk_w; /* Image format block width in pixels. */ member
/aosp_15_r20/external/libvpx/vpx_util/
H A Dvpx_debug_util.c118 int pixel_c, int pixel_r, int blk_w, int blk_h, in mismatch_record_block_pre() argument
123 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_pre()
129 for (c = 0; c < blk_w; ++c) { in mismatch_record_block_pre()
142 ref_pixel_c >= pixel_c && ref_pixel_c < pixel_c + blk_w && in mismatch_record_block_pre()
147 frame_idx_w, plane, pixel_c, pixel_r, blk_w, blk_h); in mismatch_record_block_pre()
153 int pixel_c, int pixel_r, int blk_w, int blk_h, in mismatch_record_block_tx() argument
157 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_tx()
163 for (c = 0; c < blk_w; ++c) { in mismatch_record_block_tx()
176 ref_pixel_c >= pixel_c && ref_pixel_c < pixel_c + blk_w && in mismatch_record_block_tx()
181 frame_idx_w, plane, pixel_c, pixel_r, blk_w, blk_h); in mismatch_record_block_tx()
[all …]
H A Dvpx_debug_util.h53 int pixel_c, int pixel_r, int blk_w, int blk_h,
56 int pixel_c, int pixel_r, int blk_w, int blk_h,
59 int pixel_c, int pixel_r, int blk_w, int blk_h,
62 int pixel_c, int pixel_r, int blk_w, int blk_h,
/aosp_15_r20/external/libaom/aom_util/
H A Ddebug_util.c138 int pixel_r, int blk_w, int blk_h, int highbd) { in mismatch_record_block_pre() argument
139 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_pre()
146 for (int c = 0; c < blk_w; ++c) { in mismatch_record_block_pre()
160 ref_pixel_c < pixel_c + blk_w && ref_pixel_r >= pixel_r && in mismatch_record_block_pre()
165 frame_idx_w, frame_offset, plane, pixel_c, pixel_r, blk_w, blk_h); in mismatch_record_block_pre()
171 int pixel_r, int blk_w, int blk_h, int highbd) { in mismatch_record_block_tx() argument
172 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_tx()
179 for (int c = 0; c < blk_w; ++c) { in mismatch_record_block_tx()
192 ref_pixel_c >= pixel_c && ref_pixel_c < pixel_c + blk_w && in mismatch_record_block_tx()
197 frame_idx_w, frame_offset, plane, pixel_c, pixel_r, blk_w, blk_h); in mismatch_record_block_tx()
[all …]
H A Ddebug_util.h53 int pixel_r, int blk_w, int blk_h, int highbd);
56 int pixel_r, int blk_w, int blk_h, int highbd);
59 int pixel_r, int blk_w, int blk_h, int highbd);
62 int pixel_r, int blk_w, int blk_h, int highbd);
/aosp_15_r20/external/libopenapv/src/
H A Doapv.c60 static void imgb_to_block_10bit(void *src, int blk_w, int blk_h, int s_src, int offset_src, int s_d… in imgb_to_block_10bit() argument
67 for(int w = 0; w < blk_w; w++) { in imgb_to_block_10bit()
75 static void imgb_to_block_p210_y(void *src, int blk_w, int blk_h, int s_src, int offset_src, int s_… in imgb_to_block_p210_y() argument
82 for(int w = 0; w < blk_w; w++) { in imgb_to_block_p210_y()
90 static void imgb_to_block_p210_uv(void *src, int blk_w, int blk_h, int s_src, int offset_src, int s… in imgb_to_block_p210_uv() argument
97 for(int w = 0; w < blk_w; w++) { in imgb_to_block_p210_uv()
137 static void block_to_imgb_10bit(void *src, int blk_w, int blk_h, int s_src, int offset_dst, int s_d… in block_to_imgb_10bit() argument
145 for(int w = 0; w < blk_w; w++) { in block_to_imgb_10bit()
153 static void block_to_imgb_p210_y(void *src, int blk_w, int blk_h, int s_src, int offset_dst, int s_… in block_to_imgb_p210_y() argument
161 for(int w = 0; w < blk_w; w++) { in block_to_imgb_p210_y()
[all …]
H A Doapv_def.h191 typedef void (*oapv_fn_imgb_to_block)(void *src, int blk_w, int blk_h, int s_src, int offset_src, i…
192 typedef void (*oapv_fn_block_to_imgb)(void *src, int blk_w, int blk_h, int s_src, int offset_dst, i…
/aosp_15_r20/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_sdma_copy_image.c29 static unsigned minify_as_blocks(unsigned width, unsigned level, unsigned blk_w) in minify_as_blocks() argument
32 return DIV_ROUND_UP(width, blk_w); in minify_as_blocks()
66 unsigned copy_width = DIV_ROUND_UP(ssrc->buffer.b.b.width0, ssrc->surface.blk_w); in si_sdma_v4_v5_copy_texture()
108 unsigned tiled_width = DIV_ROUND_UP(tiled->buffer.b.b.width0, tiled->surface.blk_w); in si_sdma_v4_v5_copy_texture()
223 unsigned dst_width = minify_as_blocks(sdst->buffer.b.b.width0, 0, sdst->surface.blk_w); in cik_sdma_copy_texture()
224 unsigned src_width = minify_as_blocks(ssrc->buffer.b.b.width0, 0, ssrc->surface.blk_w); in cik_sdma_copy_texture()
225 unsigned copy_width = DIV_ROUND_UP(ssrc->buffer.b.b.width0, ssrc->surface.blk_w); in cik_sdma_copy_texture()
/aosp_15_r20/external/mesa3d/src/amd/common/
H A Dac_surface.c733 if (surf->blk_w != 1 || surf->blk_h != 1) { in bpe_to_format()
734 if (surf->blk_w == 4 && surf->blk_h == 4) { in bpe_to_format()
749 } else if (surf->blk_w == 5 && surf->blk_h == 4) in bpe_to_format()
751 else if (surf->blk_w == 5 && surf->blk_h == 5) in bpe_to_format()
753 else if (surf->blk_w == 6 && surf->blk_h == 5) in bpe_to_format()
755 else if (surf->blk_w == 6 && surf->blk_h == 6) in bpe_to_format()
757 else if (surf->blk_w == 8 && surf->blk_h == 5) in bpe_to_format()
759 else if (surf->blk_w == 8 && surf->blk_h == 6) in bpe_to_format()
761 else if (surf->blk_w == 8 && surf->blk_h == 8) in bpe_to_format()
763 else if (surf->blk_w == 10 && surf->blk_h == 5) in bpe_to_format()
[all …]
/aosp_15_r20/external/mesa3d/src/amd/vulkan/meta/
H A Dradv_meta_astc_decode.c47 int blk_w = vk_format_get_blockwidth(format); in decode_astc() local
64 …int push_constants[5] = {offset->x / blk_w, offset->y / blk_h, extent->width + offset->x, extent->… in decode_astc()
70 .blocks[0] = DIV_ROUND_UP(extent->width, blk_w * 2), in decode_astc()
/aosp_15_r20/external/libdrm/radeon/
H A Dradeon_surface.c176 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in surf_minify()
585 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in eg_surf_minify()
1436 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify()
1440 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in si_surf_minify()
1486 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify_2d()
1490 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in si_surf_minify_2d()
2480 if (!surf->blk_w || !surf->blk_h || !surf->blk_d) { in radeon_surface_sanity()
H A Dradeon_surface.h114 uint32_t blk_w; member
/aosp_15_r20/external/mesa3d/src/mesa/main/
H A Dtexcompress_astc.cpp1818 unsigned blk_w, blk_h; in _mesa_unpack_astc_2d_ldr() local
1819 _mesa_get_format_block_size(format, &blk_w, &blk_h); in _mesa_unpack_astc_2d_ldr()
1822 unsigned x_blocks = (src_width + blk_w - 1) / blk_w; in _mesa_unpack_astc_2d_ldr()
1825 Decoder dec(blk_w, blk_h, 1, srgb, true); in _mesa_unpack_astc_2d_ldr()
1835 unsigned dst_blk_w = MIN2(blk_w, src_width - x*blk_w); in _mesa_unpack_astc_2d_ldr()
1841 (x * blk_w + sub_x) * 4; in _mesa_unpack_astc_2d_ldr()
1842 const uint16_t *src = &block_out[(sub_y * blk_w + sub_x) * 4]; in _mesa_unpack_astc_2d_ldr()
/aosp_15_r20/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDeviceInterface.cpp50 …ALOGD("blk_w (%d, %d, %d)", res.restriction.blk_w.min, res.restriction.blk_w.max, res.restriction. in printDppRestriction()
DExynosDeviceDrmInterface.cpp52 … set_hwc_dpp_size_range(hwc_dpp_restriction.restriction.blk_w, drm_restriction.restriction.blk_w); in set_dpp_ch_restriction()
DExynosDeviceInterface.h43 struct hwc_dpp_size_range blk_w; member
/aosp_15_r20/external/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_surface.c83 surf_drm->blk_w = util_format_get_blockwidth(tex->format); in surf_winsys_to_drm()
163 surf_ws->blk_w = surf_drm->blk_w; in surf_drm_to_winsys()
/aosp_15_r20/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_surface.c25 if (!surf->blk_w || !surf->blk_h) in radv_amdgpu_surface_sanity()
/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/mesa/state_tracker/
H A Dst_cb_texture.c581 unsigned blk_w, blk_h; in st_MapTextureImage() local
582 _mesa_get_format_block_size(texImage->TexFormat, &blk_w, &blk_h); in st_MapTextureImage()
593 (x / blk_w) * block_size; in st_MapTextureImage()
627 unsigned blk_w, blk_h; in upload_astc_slice_with_flushed_void_extents() local
628 _mesa_get_format_block_size(format, &blk_w, &blk_h); in upload_astc_slice_with_flushed_void_extents()
630 unsigned x_blocks = (src_width + blk_w - 1) / blk_w; in upload_astc_slice_with_flushed_void_extents()
/aosp_15_r20/device/google/lynx-kernels/6.1/25Q1-12919773/kernel-headers/drm/
Dsamsung_drm.h107 struct dpp_size_range blk_w; member
/aosp_15_r20/device/google/shusky-kernels/6.1/25Q1-12919773/kernel-headers/drm/
Dsamsung_drm.h107 struct dpp_size_range blk_w; member
/aosp_15_r20/device/google/tangorpro-kernels/6.1/25Q1-12919773/original-kernel-headers/drm/
Dsamsung_drm.h207 struct dpp_size_range blk_w; member

123