/third_party/ffmpeg/libavcodec/ |
D | flashsvenc.c | 62 int block_width, block_height; member 130 int buf_size, int block_width, int block_height, in encode_bitstream() argument 141 put_bits(&pb, 4, block_width / 16 - 1); in encode_bitstream() 148 h_blocks = s->image_width / block_width; in encode_bitstream() 149 h_part = s->image_width % block_width; in encode_bitstream() 161 int x_pos = i * block_width; // horizontal position in frame in encode_bitstream() 162 int cur_blk_width = (i < h_blocks) ? block_width : h_part; in encode_bitstream() 174 unsigned long zsize = 3 * block_width * block_height; in encode_bitstream()
|
D | flashsv.c | 59 int block_width, block_height; member 277 int last_blockwidth = s->block_width; in flashsv_decode_frame() 290 s->block_width = 16 * (get_bits(&gb, 4) + 1); in flashsv_decode_frame() 295 if ( last_blockwidth != s->block_width in flashsv_decode_frame() 312 h_blocks = s->image_width / s->block_width; in flashsv_decode_frame() 313 h_part = s->image_width % s->block_width; in flashsv_decode_frame() 319 if (s->block_size < s->block_width * s->block_height) { in flashsv_decode_frame() 320 int tmpblock_size = 3 * s->block_width * s->block_height, err; in flashsv_decode_frame() 329 s->block_size = s->block_width * s->block_height; in flashsv_decode_frame() 362 s->image_width, s->image_height, s->block_width, s->block_height, in flashsv_decode_frame() [all …]
|
D | flashsv2enc.c | 111 int block_width, block_height; member 154 s->block_width : in init_blocks() 155 s->image_width - col * s->block_width; in init_blocks() 182 static int update_block_dimensions(FlashSV2Context *s, int block_width, int block_height) in update_block_dimensions() argument 184 s->block_width = block_width; in update_block_dimensions() 187 s->cols = (s->image_width + s->block_width - 1) / s->block_width; in update_block_dimensions() 200 av_fast_malloc(&s->blockbuffer, &s->blockbuffer_size, block_width * block_height * 6); in update_block_dimensions() 305 put_bits(&pb, 4, (s->block_width >> 4) - 1); in write_header() 636 possl = stride * sl + col * s->block_width * 3; in mark_all_blocks() 637 pos = s->image_width * rsl * 3 + col * s->block_width * 3; in mark_all_blocks() [all …]
|
D | rpzaenc.c | 76 int block_width; member 123 bi->block_width = bi->image_width % 4; in get_block_info() 125 bi->block_width = 4; in get_block_info() 208 for (x = 0; x < bi->block_width; x++) { in get_max_component_diff() 249 for (x = 0; x < bi->block_width; x++) { in compare_blocks() 274 count = bi->block_height * bi->block_width; in leastsquares() 280 for (j = 0; j < bi->block_width; j++) { in leastsquares() 327 for (j = 0; j < bi->block_width; j++) { in calc_lsq_max_fit_error() 489 total_pixels_blk = *total_pixels + bi->block_height * bi->block_width; in update_block_stats() 495 for (x = 0; x < bi->block_width; x++) { in update_block_stats()
|
D | svq1enc.c | 258 int block_width, block_height; in svq1_encode_plane() local 270 block_width = (width + 15) / 16; in svq1_encode_plane() 284 s->m.mb_width = block_width; in svq1_encode_plane() 336 for (x = width; x < 16 * block_width; x++) in svq1_encode_plane() 341 16 * block_width); in svq1_encode_plane() 343 for (x = 0; x < block_width; x++) { in svq1_encode_plane() 362 for (x = width; x < 16 * block_width; x++) in svq1_encode_plane() 366 memcpy(&src[i * stride], &src[(i - 1) * stride], 16 * block_width); in svq1_encode_plane() 369 for (x = 0; x < block_width; x++) { in svq1_encode_plane()
|
D | truemotion1.c | 68 int block_width; member 119 int block_width; // vres member 460 s->block_width = compression_types[header.compression].block_width; in truemotion1_decode_header() 466 s->last_deltaset, s->last_vectable, s->compression, s->block_width, in truemotion1_decode_header() 664 if (s->block_width == 2) { in truemotion1_decode_16bit() 790 if (s->block_width == 2) { in truemotion1_decode_24bit()
|
D | h264_cavlc.c | 913 const int block_width= (sub_mb_type & (MB_TYPE_16x16|MB_TYPE_16x8)) ? 2 : 1; in ff_h264_decode_mb_cavlc() local 916 const int index= 4*i + block_width*j; in ff_h264_decode_mb_cavlc() 918 … pred_motion(h, sl, index, block_width, list, sl->ref_cache[list][ scan8[index] ], &mx, &my); in ff_h264_decode_mb_cavlc()
|
D | h264_cabac.c | 2174 const int block_width= (sub_mb_type & (MB_TYPE_16x16|MB_TYPE_16x8)) ? 2 : 1; in ff_h264_decode_mb_cabac() local 2178 const int index= 4*i + block_width*j; in ff_h264_decode_mb_cabac() 2181 … pred_motion(h, sl, index, block_width, list, sl->ref_cache[list][ scan8[index] ], &mx, &my); in ff_h264_decode_mb_cabac()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_blurdetect.c | 54 int block_width; // width for block abbreviation member 75 …{ "block_width", "block size for block-based abbreviation of blurriness", OFFSET(block_width), A… 105 if (s->block_width < 1 || s->block_height < 1) { in blurdetect_config_input() 106 s->block_width = inlink->w; in blurdetect_config_input() 114 s->blks = av_calloc((inlink->w / s->block_width) * (inlink->h / s->block_height), in blurdetect_config_input() 205 int block_width = AV_CEIL_RSHIFT(s->block_width, hsub); in calculate_blur() local 208 int bcols = w / block_width; in calculate_blur() 215 for (int ini = 0; ini < block_width; ini++) { in calculate_blur() 216 i = blki * block_width + ini; in calculate_blur()
|
/third_party/mesa3d/src/mesa/main/ |
D | format_parser.py | 235 …def __init__(self, name, layout, block_width, block_height, block_depth, channels, swizzle, colors… argument 256 self.block_width = block_width 371 return self.block_width != 1 or self.block_height != 1 or self.block_depth != 1 563 block_width = int(fields[2]) 575 … yield Format(name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace)
|
D | format_info.py | 199 …print(' .BlockWidth = {0}, .BlockHeight = {1}, .BlockDepth = {2},'.format(fmat.block_width, f…
|
/third_party/mesa3d/src/util/format/ |
D | u_format_parse.py | 117 …def __init__(self, name, layout, block_width, block_height, block_depth, le_channels, le_swizzles,… argument 120 self.block_width = block_width 424 block_width, block_height, block_depth = map(int, fields[2:5]) 440 …format = Format(name, layout, block_width, block_height, block_depth, le_channels, le_swizzles, be…
|
D | u_format_table.py | 205 …print(" {%u, %u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.bl… 265 if format.block_width > 1:
|
D | u_format_pack.py | 622 ' for (unsigned x = 0; x < width; x += %u) {' % (format.block_width,)) 652 print(' for(x = 0; x < width; x += %u) {' % (format.block_width,))
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_surface.c | 224 int block_width = util_format_get_blockwidth(dpt->format); in i915_surface_copy_blitter() local 228 assert(util_format_get_blockwidth(spt->format) == block_width); in i915_surface_copy_blitter() 231 dstx /= block_width; in i915_surface_copy_blitter() 233 int srcx = src_box->x / block_width; in i915_surface_copy_blitter() 235 int width = DIV_ROUND_UP(src_box->width, block_width); in i915_surface_copy_blitter()
|
/third_party/mesa3d/src/freedreno/fdl/ |
D | fd6_view.c | 305 uint32_t block_width, block_height; in fdl6_view_init() local 306 fdl6_get_ubwc_blockwidth(layout, &block_width, &block_height); in fdl6_view_init() 314 A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW(util_logbase2_ceil(DIV_ROUND_UP(width, block_width))) | in fdl6_view_init()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_image_view.c | 74 unsigned block_width, block_height, bytes_per_block; in svga_create_uav_image() local 76 svga_format_size(svga_format, &block_width, &block_height, in svga_create_uav_image()
|
D | svga_format.h | 88 unsigned *block_width,
|
D | svga_format.c | 406 unsigned block_width, block_height, block_bytes; member 1754 unsigned *block_width, in svga_format_size() argument 1759 *block_width = format_cap_table[format].block_width; in svga_format_size() 1763 if (*block_width == 0) in svga_format_size() 1765 assert(*block_width); in svga_format_size()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_layout.c | 166 unsigned block_width = panfrost_afbc_superblock_width(modifier); in pan_afbc_row_stride() local 168 return (width / block_width) * pan_afbc_tile_size(modifier) * in pan_afbc_row_stride()
|
D | pan_texture.c | 403 cfg.astc._3d.block_width = panfrost_astc_dim_3d(desc->block.width); in panfrost_emit_plane() 408 cfg.astc._2d.block_width = panfrost_astc_dim_2d(desc->block.width); in panfrost_emit_plane()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs.c | 122 unsigned block_width, 530 unsigned block_width = block_size / block_height; in fs_fb_fetch() local 567 unsigned x = i % block_width; in fs_fb_fetch() 568 unsigned y = i / block_width; in fs_fb_fetch() 1608 unsigned block_width, in load_unswizzled_block() argument 1619 assert((block_width * block_height) % dst_count == 0); in load_unswizzled_block() 1652 unsigned block_width, in store_unswizzled_block() argument 1663 assert((block_width * block_height) % src_count == 0); in store_unswizzled_block() 2376 const unsigned block_width = LP_RASTER_BLOCK_SIZE; in generate_unswizzled_blend() local 2378 const unsigned block_size = block_width * block_height; in generate_unswizzled_blend() [all …]
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_image.c | 96 uint32_t block_width = vk_format_get_blockwidth(image->vk.format); in v3d_setup_slices() local 132 level_width = DIV_ROUND_UP(level_width, block_width); in v3d_setup_slices()
|
D | v3dv_meta_copy.c | 583 uint32_t block_width = vk_format_get_blockwidth(image->vk.format); in copy_image_to_buffer_blit() local 585 buf_width = buf_width / block_width; in copy_image_to_buffer_blit() 697 DIV_ROUND_UP(region->imageOffset.x, block_width), in copy_image_to_buffer_blit() 703 block_width), in copy_image_to_buffer_blit() 718 DIV_ROUND_UP(region->imageExtent.width, block_width), in copy_image_to_buffer_blit() 2375 const uint32_t block_width = vk_format_get_blockwidth(image->vk.format); in copy_buffer_to_image_blit() local 2397 buf_width = buf_width / block_width; in copy_buffer_to_image_blit() 2439 .bufferRowLength = region->bufferRowLength / block_width, in copy_buffer_to_image_blit() 2491 DIV_ROUND_UP(region->imageOffset.x, block_width), in copy_buffer_to_image_blit() 2497 block_width), in copy_buffer_to_image_blit()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_resource.c | 548 uint32_t block_width = util_format_get_blockwidth(prsc->format); in v3d_setup_slices() local 584 level_width = DIV_ROUND_UP(level_width, block_width); in v3d_setup_slices()
|