Home
last modified time | relevance | path

Searched refs:blk_h (Results 1 – 25 of 53) sorted by relevance

123

/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()
128 for (r = 0; r < blk_h; ++r) { in mismatch_record_block_pre()
143 ref_pixel_r >= pixel_r && ref_pixel_r < pixel_r + blk_h) { 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()
162 for (r = 0; r < blk_h; ++r) { in mismatch_record_block_tx()
177 ref_pixel_r >= pixel_r && ref_pixel_r < pixel_r + blk_h) { 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()
145 for (int r = 0; r < blk_h; ++r) { in mismatch_record_block_pre()
161 ref_pixel_r < pixel_r + blk_h) { 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()
178 for (int r = 0; r < blk_h; ++r) { in mismatch_record_block_tx()
193 ref_pixel_r >= pixel_r && ref_pixel_r < pixel_r + blk_h) { 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/mesa3d/src/amd/vulkan/
H A Dradv_sdma.c96 …dv_sdma_pixel_extent_to_blocks(const VkExtent3D extent, const unsigned blk_w, const unsigned blk_h) in radv_sdma_pixel_extent_to_blocks() argument
100 .height = DIV_ROUND_UP(extent.height, blk_h), in radv_sdma_pixel_extent_to_blocks()
108 …dv_sdma_pixel_offset_to_blocks(const VkOffset3D offset, const unsigned blk_w, const unsigned blk_h) in radv_sdma_pixel_offset_to_blocks() argument
112 .y = DIV_ROUND_UP(offset.y, blk_h), in radv_sdma_pixel_offset_to_blocks()
126 …pixel_area_to_blocks(const unsigned linear_slice_pitch, const unsigned blk_w, const unsigned blk_h) 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()
136 const unsigned extent_vertical_blocks = DIV_ROUND_UP(extent.height, img->blk_h); in radv_sdma_get_chunked_copy_info()
175 .blk_h = surf->blk_h, in radv_sdma_get_buf_surf()
281 .blk_h = surf->blk_h, in radv_sdma_get_surf()
291 info.slice_pitch = surf->blk_w * surf->blk_h * surf->u.gfx9.surf_slice_size / surf->bpe; in radv_sdma_get_surf()
[all …]
H A Dradv_sdma.h22 unsigned blk_h; /* Image format block height in pixels. */ member
/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
66 for(int h = 0; h < blk_h; h++) { 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
81 for(int h = 0; h < blk_h; h++) { 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
96 for(int h = 0; h < blk_h; h++) { 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
144 for(int h = 0; h < blk_h; h++) { 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
160 for(int h = 0; h < blk_h; h++) { 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/amd/vulkan/meta/
H A Dradv_meta_astc_decode.c48 int blk_h = vk_format_get_blockheight(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()
71 .blocks[1] = DIV_ROUND_UP(extent->height, blk_h * 2), in decode_astc()
/aosp_15_r20/external/libdrm/radeon/
H A Dradeon_surface.c177 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in surf_minify()
586 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in eg_surf_minify()
1437 surflevel->nblk_y = (next_power_of_two(surflevel->npix_y) + surf->blk_h - 1) / surf->blk_h; in si_surf_minify()
1441 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in si_surf_minify()
1487 surflevel->nblk_y = (next_power_of_two(surflevel->npix_y) + surf->blk_h - 1) / surf->blk_h; in si_surf_minify_2d()
1491 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in si_surf_minify_2d()
2480 if (!surf->blk_w || !surf->blk_h || !surf->blk_d) { in radeon_surface_sanity()
H A Dradeon_surface.h115 uint32_t blk_h; member
/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/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDeviceInterface.cpp51 …ALOGD("blk_h (%d, %d, %d)", res.restriction.blk_h.min, res.restriction.blk_h.max, res.restriction. in printDppRestriction()
DExynosDeviceDrmInterface.cpp53 … set_hwc_dpp_size_range(hwc_dpp_restriction.restriction.blk_h, drm_restriction.restriction.blk_h); in set_dpp_ch_restriction()
DExynosDeviceInterface.h44 struct hwc_dpp_size_range blk_h; 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()
1823 unsigned y_blocks = (src_height + blk_h - 1) / blk_h; in _mesa_unpack_astc_2d_ldr()
1825 Decoder dec(blk_w, blk_h, 1, srgb, true); in _mesa_unpack_astc_2d_ldr()
1836 unsigned dst_blk_h = MIN2(blk_h, src_height - y*blk_h); in _mesa_unpack_astc_2d_ldr()
1852 dst_row += dst_stride * blk_h; in _mesa_unpack_astc_2d_ldr()
/aosp_15_r20/external/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_surface.c84 surf_drm->blk_h = util_format_get_blockheight(tex->format); in surf_winsys_to_drm()
164 surf_ws->blk_h = surf_drm->blk_h; in surf_drm_to_winsys()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_sdma_copy_image.c67 unsigned copy_height = DIV_ROUND_UP(ssrc->buffer.b.b.height0, ssrc->surface.blk_h); in si_sdma_v4_v5_copy_texture()
109 unsigned tiled_height = DIV_ROUND_UP(tiled->buffer.b.b.height0, tiled->surface.blk_h); in si_sdma_v4_v5_copy_texture()
226 unsigned copy_height = DIV_ROUND_UP(ssrc->buffer.b.b.height0, ssrc->surface.blk_h); in cik_sdma_copy_texture()
/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.c58 surf->blk_h = util_format_get_blockheight(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()
584 unsigned y_blocks = DIV_ROUND_UP(texImage->Height2, blk_h); in st_MapTextureImage()
592 (z * y_blocks + (y / blk_h)) * stride + 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()
631 unsigned y_blocks = (src_height + blk_h - 1) / blk_h; in upload_astc_slice_with_flushed_void_extents()
/aosp_15_r20/device/google/lynx-kernels/6.1/25Q1-12919773/kernel-headers/drm/
Dsamsung_drm.h108 struct dpp_size_range blk_h; member
/aosp_15_r20/device/google/shusky-kernels/6.1/25Q1-12919773/kernel-headers/drm/
Dsamsung_drm.h108 struct dpp_size_range blk_h; member
/aosp_15_r20/device/google/tangorpro-kernels/6.1/25Q1-12919773/original-kernel-headers/drm/
Dsamsung_drm.h208 struct dpp_size_range blk_h; member
/aosp_15_r20/device/google/caimito-kernels/6.1/25Q1-12919773/original-kernel-headers/drm/
Dsamsung_drm.h208 struct dpp_size_range blk_h; member

123