Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_util/
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 …]
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,
/external/libaom/libaom/aom_util/
Ddebug_util.c124 int pixel_r, int blk_w, int blk_h, int highbd) { in mismatch_record_block_pre() argument
125 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_pre()
131 for (int r = 0; r < blk_h; ++r) { in mismatch_record_block_pre()
147 ref_pixel_r < pixel_r + blk_h) { in mismatch_record_block_pre()
151 frame_idx_w, frame_offset, plane, pixel_c, pixel_r, blk_w, blk_h); in mismatch_record_block_pre()
157 int pixel_r, int blk_w, int blk_h, int highbd) { in mismatch_record_block_tx() argument
158 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_tx()
164 for (int r = 0; r < blk_h; ++r) { in mismatch_record_block_tx()
179 ref_pixel_r >= pixel_r && ref_pixel_r < pixel_r + blk_h) { in mismatch_record_block_tx()
183 frame_idx_w, frame_offset, plane, pixel_c, pixel_r, blk_w, blk_h); in mismatch_record_block_tx()
[all …]
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);
/external/mesa3d/src/gallium/drivers/radeonsi/
Dcik_sdma.c71 unsigned srcy = src_box->y / ssrc->surface.blk_h; in si_sdma_v4_copy_texture()
74 unsigned copy_height = DIV_ROUND_UP(src_box->height, ssrc->surface.blk_h); in si_sdma_v4_copy_texture()
89 dsty /= sdst->surface.blk_h; in si_sdma_v4_copy_texture()
149 ? DIV_ROUND_UP(ssrc->buffer.b.b.height0, ssrc->surface.blk_h) in si_sdma_v4_copy_texture()
150 : DIV_ROUND_UP(sdst->buffer.b.b.height0, sdst->surface.blk_h); in si_sdma_v4_copy_texture()
230 unsigned dst_height = minify_as_blocks(sdst->buffer.b.b.height0, dst_level, sdst->surface.blk_h); in cik_sdma_copy_texture()
231 unsigned src_height = minify_as_blocks(ssrc->buffer.b.b.height0, src_level, ssrc->surface.blk_h); in cik_sdma_copy_texture()
233 unsigned srcy = src_box->y / ssrc->surface.blk_h; in cik_sdma_copy_texture()
236 unsigned copy_height = DIV_ROUND_UP(src_box->height, ssrc->surface.blk_h); in cik_sdma_copy_texture()
252 dsty /= sdst->surface.blk_h; in cik_sdma_copy_texture()
Dsi_texture.c196 (box->y / tex->surface.blk_h * tex->surface.u.gfx9.surf_pitch + in si_texture_get_offset()
211 (box->y / tex->surface.blk_h * tex->surface.u.legacy.level[level].nblk_x + in si_texture_get_offset()
838 tex->surface.blk_w, tex->surface.blk_h, tex->buffer.b.b.array_size, in si_print_texture_info()
/external/libaom/libaom/av1/encoder/mips/msa/
Dtemporal_filter_msa.c273 uint32_t blk_h, int32_t strength, in av1_temporal_filter_apply_msa() argument
276 if (8 == (blk_w * blk_h)) { in av1_temporal_filter_apply_msa()
279 } else if (16 == (blk_w * blk_h)) { in av1_temporal_filter_apply_msa()
283 av1_temporal_filter_apply_c(frame1_ptr, stride, frame2_ptr, blk_w, blk_h, in av1_temporal_filter_apply_msa()
/external/libdrm/radeon/
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()
2479 if (!surf->blk_w || !surf->blk_h || !surf->blk_d) { in radeon_surface_sanity()
Dradeon_surface.h115 uint32_t blk_h; member
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_surface.c44 if (!surf->blk_w || !surf->blk_h) in radv_amdgpu_surface_sanity()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c104 surf_drm->blk_h = util_format_get_blockheight(tex->format); in surf_winsys_to_drm()
184 surf_ws->blk_h = surf_drm->blk_h; in surf_drm_to_winsys()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c77 surf->blk_h = util_format_get_blockheight(tex->format); in amdgpu_surface_init()
/external/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp1836 unsigned blk_w, blk_h; in _mesa_unpack_astc_2d_ldr() local
1837 _mesa_get_format_block_size(format, &blk_w, &blk_h); in _mesa_unpack_astc_2d_ldr()
1841 unsigned y_blocks = (src_height + blk_h - 1) / blk_h; in _mesa_unpack_astc_2d_ldr()
1843 Decoder dec(blk_w, blk_h, 1, srgb, true); in _mesa_unpack_astc_2d_ldr()
1854 unsigned dst_blk_h = MIN2(blk_h, src_height - y*blk_h); in _mesa_unpack_astc_2d_ldr()
1870 dst_row += dst_stride * blk_h; in _mesa_unpack_astc_2d_ldr()
/external/mesa3d/src/amd/common/
Dac_surface.h195 unsigned blk_h : 4; member
Dac_surface.c700 surf->blk_h == 1) { in get_display_flag()
702 if (surf->blk_w == 2 && surf->blk_h == 1) in get_display_flag()
862 compressed = surf->blk_w == 4 && surf->blk_h == 4; in gfx6_compute_surface()
1783 compressed = surf->blk_w == 4 && surf->blk_h == 4; in gfx9_compute_surface()
/external/libaom/libaom/av1/encoder/
Dencodemb.c449 int blk_h = block_size_high[bsize]; in encode_block() local
453 plane, pixel_c, pixel_r, blk_w, blk_h, in encode_block()
Dencoder.c4019 const int blk_h = 16; in av1_set_screen_content_options() local
4029 for (int r = 0; r + blk_h <= height; r += blk_h) { in av1_set_screen_content_options()
4034 use_hbd ? av1_count_colors_highbd(this_src, stride, blk_w, blk_h, bd, in av1_set_screen_content_options()
4036 : av1_count_colors(this_src, stride, blk_w, blk_h, count_buf); in av1_set_screen_content_options()
4053 counts_1 * blk_h * blk_w * 10 > width * height; in av1_set_screen_content_options()
4057 counts_2 * blk_h * blk_w * 12 > width * height; in av1_set_screen_content_options()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c338 unsigned blk_w, blk_h; in st_MapTextureImage() local
339 _mesa_get_format_block_size(texImage->TexFormat, &blk_w, &blk_h); in st_MapTextureImage()
341 unsigned y_blocks = DIV_ROUND_UP(texImage->Height2, blk_h); in st_MapTextureImage()
349 (z * y_blocks + (y / blk_h)) * stride + in st_MapTextureImage()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.c726 int blk_h = 1 << (tx_size + TX_UNIT_SIZE_LOG2); in encode_block() local
730 blk_w, blk_h, in encode_block()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c192 (box->y / rtex->surface.blk_h * in r600_texture_get_offset()
836 rtex->surface.blk_h, in r600_print_texture_info()
Dr600_state.c2988 copy_height = src_box->height / rsrc->surface.blk_h; in r600_dma_copy()
Devergreen_state.c3930 copy_height = src_box->height / rsrc->surface.blk_h; in evergreen_dma_copy()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c408 int blk_h = 1 << (tx_size + TX_UNIT_SIZE_LOG2); in reconstruct_inter_block() local
412 blk_h, xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH); in reconstruct_inter_block()
/external/mesa3d/src/amd/vulkan/
Dradv_image.c1324 image->planes[i].surface.blk_h = vk_format_get_blockheight(format); in radv_image_reset_layout()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c252 int blk_h = block_size_high[bsize]; in inverse_transform_inter_block() local
258 plane, pixel_c, pixel_r, blk_w, blk_h, in inverse_transform_inter_block()