Home
last modified time | relevance | path

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

12

/external/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/aom_util/
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 …]
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/amd/vulkan/
Dradv_sdma.c106 …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
110 .height = DIV_ROUND_UP(extent.height, blk_h), in radv_sdma_pixel_extent_to_blocks()
118 …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
122 .y = DIV_ROUND_UP(offset.y, blk_h), in radv_sdma_pixel_offset_to_blocks()
136 …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
138 return DIV_ROUND_UP(DIV_ROUND_UP(linear_slice_pitch, blk_w), blk_h); in radv_sdma_pixel_area_to_blocks()
146 const unsigned extent_vertical_blocks = DIV_ROUND_UP(extent.height, img->blk_h); in radv_sdma_get_chunked_copy_info()
185 .blk_h = surf->blk_h, in radv_sdma_get_buf_surf()
283 .blk_h = surf->blk_h, in radv_sdma_get_surf()
294 info.slice_pitch = surf->blk_w * surf->blk_h * surf->u.gfx9.surf_slice_size / surf->bpe; in radv_sdma_get_surf()
[all …]
Dradv_sdma.h39 unsigned blk_h; /* Image format block height in pixels. */ member
Dradv_image.c1014 image->planes[i].surface.blk_h = vk_format_get_blockheight(format); in radv_image_reset_layout()
/external/mesa3d/src/amd/vulkan/meta/
Dradv_meta_astc_decode.c64 int blk_h = vk_format_get_blockheight(format); in decode_astc() local
81 …int push_constants[5] = {offset->x / blk_w, offset->y / blk_h, extent->width + offset->x, extent->… in decode_astc()
88 .blocks[1] = DIV_ROUND_UP(extent->height, blk_h * 2), in decode_astc()
/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/common/
Dac_surface.c665 if (surf->blk_w != 1 || surf->blk_h != 1) { in bpe_to_format()
666 if (surf->blk_w == 4 && surf->blk_h == 4) { in bpe_to_format()
681 } else if (surf->blk_w == 5 && surf->blk_h == 4) in bpe_to_format()
683 else if (surf->blk_w == 5 && surf->blk_h == 5) in bpe_to_format()
685 else if (surf->blk_w == 6 && surf->blk_h == 5) in bpe_to_format()
687 else if (surf->blk_w == 6 && surf->blk_h == 6) in bpe_to_format()
689 else if (surf->blk_w == 8 && surf->blk_h == 5) in bpe_to_format()
691 else if (surf->blk_w == 8 && surf->blk_h == 6) in bpe_to_format()
693 else if (surf->blk_w == 8 && surf->blk_h == 8) in bpe_to_format()
695 else if (surf->blk_w == 10 && surf->blk_h == 5) in bpe_to_format()
[all …]
Dac_surface.h298 uint8_t blk_h : 4; member
Dac_surface_modifier_test.c249 .blk_h = 1, in test_modifier()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_surface.c42 if (!surf->blk_w || !surf->blk_h) in radv_amdgpu_surface_sanity()
/external/mesa3d/src/gallium/winsys/radeon/drm/
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()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c66 unsigned copy_height = DIV_ROUND_UP(ssrc->buffer.b.b.height0, ssrc->surface.blk_h); in si_sdma_v4_v5_copy_texture()
108 unsigned tiled_height = DIV_ROUND_UP(tiled->buffer.b.b.height0, tiled->surface.blk_h); in si_sdma_v4_v5_copy_texture()
200 unsigned copy_height = DIV_ROUND_UP(ssrc->buffer.b.b.height0, ssrc->surface.blk_h); in cik_sdma_copy_texture()
Dsi_texture.c178 (box->y / tex->surface.blk_h * (uint64_t)pitch + box->x / tex->surface.blk_w) * in si_texture_get_offset()
192 (box->y / tex->surface.blk_h * tex->surface.u.legacy.level[level].nblk_x + in si_texture_get_offset()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c58 surf->blk_h = util_format_get_blockheight(tex->format); in amdgpu_surface_init()
/external/mesa3d/src/mesa/main/
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()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c532 unsigned blk_w, blk_h; in st_MapTextureImage() local
533 _mesa_get_format_block_size(texImage->TexFormat, &blk_w, &blk_h); in st_MapTextureImage()
535 unsigned y_blocks = DIV_ROUND_UP(texImage->Height2, blk_h); in st_MapTextureImage()
543 (z * y_blocks + (y / blk_h)) * stride + in st_MapTextureImage()
578 unsigned blk_w, blk_h; in upload_astc_slice_with_flushed_void_extents() local
579 _mesa_get_format_block_size(format, &blk_w, &blk_h); in upload_astc_slice_with_flushed_void_extents()
582 unsigned y_blocks = (src_height + blk_h - 1) / blk_h; in upload_astc_slice_with_flushed_void_extents()
/external/libaom/av1/encoder/
Dencodemb.c490 int blk_h = block_size_high[bsize]; in encode_block() local
494 plane, pixel_c, pixel_r, blk_w, blk_h, in encode_block()
Dencoder.c1964 const int blk_h = 16; in av1_set_screen_content_options() local
1974 for (int r = 0; r + blk_h <= height; r += blk_h) { in av1_set_screen_content_options()
1980 av1_count_colors_highbd(this_src, stride, blk_w, blk_h, bd, NULL, in av1_set_screen_content_options()
1983 av1_count_colors(this_src, stride, blk_w, blk_h, count_buf, &n_colors); in av1_set_screen_content_options()
1997 features->allow_screen_content_tools = counts_1 * blk_h * blk_w * 10 > area; in av1_set_screen_content_options()
2001 counts_2 * blk_h * blk_w * 12 > area; in av1_set_screen_content_options()
2004 features->allow_intrabc || (counts_1 * blk_h * blk_w * 10 > area * 4 && in av1_set_screen_content_options()
2005 counts_2 * blk_h * blk_w * 30 > area); in av1_set_screen_content_options()
/external/libvpx/vp9/encoder/
Dvp9_encodemb.c702 int blk_h = 1 << (tx_size + TX_UNIT_SIZE_LOG2); in encode_block() local
706 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()
830 rtex->surface.blk_h, in r600_print_texture_info()
/external/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()

12