| /external/libvpx/vpx_util/ |
| D | vpx_debug_util.c | 118 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 …]
|
| D | vpx_debug_util.h | 53 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/ |
| D | debug_util.c | 138 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 …]
|
| D | debug_util.h | 53 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/ |
| D | radv_sdma.c | 106 …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 …]
|
| D | radv_sdma.h | 39 unsigned blk_h; /* Image format block height in pixels. */ member
|
| D | radv_image.c | 1014 image->planes[i].surface.blk_h = vk_format_get_blockheight(format); in radv_image_reset_layout()
|
| /external/mesa3d/src/amd/vulkan/meta/ |
| D | radv_meta_astc_decode.c | 64 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/ |
| D | radeon_surface.c | 177 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()
|
| D | radeon_surface.h | 115 uint32_t blk_h; member
|
| /external/mesa3d/src/amd/common/ |
| D | ac_surface.c | 665 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 …]
|
| D | ac_surface.h | 298 uint8_t blk_h : 4; member
|
| D | ac_surface_modifier_test.c | 249 .blk_h = 1, in test_modifier()
|
| /external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
| D | radv_amdgpu_surface.c | 42 if (!surf->blk_w || !surf->blk_h) in radv_amdgpu_surface_sanity()
|
| /external/mesa3d/src/gallium/winsys/radeon/drm/ |
| D | radeon_drm_surface.c | 84 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/ |
| D | si_sdma_copy_image.c | 66 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()
|
| D | si_texture.c | 178 (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/ |
| D | amdgpu_surface.c | 58 surf->blk_h = util_format_get_blockheight(tex->format); in amdgpu_surface_init()
|
| /external/mesa3d/src/mesa/main/ |
| D | texcompress_astc.cpp | 1818 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/ |
| D | st_cb_texture.c | 532 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/ |
| D | encodemb.c | 490 int blk_h = block_size_high[bsize]; in encode_block() local 494 plane, pixel_c, pixel_r, blk_w, blk_h, in encode_block()
|
| D | encoder.c | 1964 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/ |
| D | vp9_encodemb.c | 702 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/ |
| D | r600_texture.c | 192 (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/ |
| D | vp9_decodeframe.c | 408 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()
|