/third_party/ffmpeg/libavcodec/ |
H A D | flashsvenc.c | 62 int block_width, block_height; member 130 int buf_size, int block_width, int block_height, in encode_bitstream() 143 put_bits(&pb, 4, block_height / 16 - 1); in encode_bitstream() 150 v_blocks = s->image_height / block_height; in encode_bitstream() 151 v_part = s->image_height % block_height; in encode_bitstream() 156 int y_pos = j * block_height; // vertical position in frame in encode_bitstream() 157 int cur_blk_height = (j < v_blocks) ? block_height : v_part; in encode_bitstream() 174 unsigned long zsize = 3 * block_width * block_height; in encode_bitstream() 129 encode_bitstream(FlashSVContext *s, const AVFrame *p, uint8_t *buf, int buf_size, int block_width, int block_height, uint8_t *previous_frame, int *I_frame) encode_bitstream() argument
|
H A D | flashsv.c | 59 int block_width, block_height; member 278 int last_blockheight= s->block_height; in flashsv_decode_frame() 292 s->block_height = 16 * (get_bits(&gb, 4) + 1); in flashsv_decode_frame() 296 || last_blockheight!= s->block_height) in flashsv_decode_frame() 314 v_blocks = s->image_height / s->block_height; in flashsv_decode_frame() 315 v_part = s->image_height % s->block_height; 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...] |
H A D | flashsv2enc.c | 111 int block_width, block_height; member 158 s->block_height : in init_blocks() 159 s->image_height - row * s->block_height; in init_blocks() 182 static int update_block_dimensions(FlashSV2Context *s, int block_width, int block_height) in update_block_dimensions() argument 185 s->block_height = block_height; in update_block_dimensions() 186 s->rows = (s->image_height + s->block_height - 1) / s->block_height; in update_block_dimensions() 200 av_fast_malloc(&s->blockbuffer, &s->blockbuffer_size, block_width * block_height * 6); in update_block_dimensions() 307 put_bits(&pb, 4, (s->block_height >> in write_header() 822 int block_height = optimum_block_height(s); reconfigure_at_keyframe() local [all...] |
H A D | rpzaenc.c | 77 int block_height; member 130 bi->block_height = bi->image_height % 4; in get_block_info() 132 bi->block_height = 4; in get_block_info() 207 for (y = 0; y < bi->block_height; y++) { in get_max_component_diff() 248 for (y = 0; y < bi->block_height; y++) { in compare_blocks() 274 count = bi->block_height * bi->block_width; in leastsquares() 279 for (i = 0; i < bi->block_height; i++) { in leastsquares() 326 for (i = 0; i < bi->block_height; i++) { in calc_lsq_max_fit_error() 489 total_pixels_blk = *total_pixels + bi->block_height * bi->block_width; in update_block_stats() 494 for (y = 0; y < bi->block_height; in update_block_stats() [all...] |
H A D | svq1enc.c | 258 int block_width, block_height; in svq1_encode_plane() local 271 block_height = (height + 15) / 16; in svq1_encode_plane() 285 s->m.mb_height = block_height; in svq1_encode_plane() 304 block_height * 2 + 2) * in svq1_encode_plane() 307 (block_height + 2) + 1) * in svq1_encode_plane() 329 for (y = 0; y < block_height; y++) { in svq1_encode_plane() 339 for (; i < 16 && i + 16 * y < 16 * block_height; i++) in svq1_encode_plane() 358 for (y = 0; y < block_height; y++) { in svq1_encode_plane() 365 for (; i < 16 && i + 16 * y < 16 * block_height; i++) in svq1_encode_plane()
|
H A D | truemotion1.c | 69 int block_height; member 120 int block_height; // hres member 461 s->block_height = compression_types[header.compression].block_height; in truemotion1_decode_header() 467 s->block_height, s->block_type, in truemotion1_decode_header()
|
H A D | snowenc.c | 1654 int block_height= (height+15)>>4; in encode_frame() local 1669 s->m.mb_height= block_height; in encode_frame()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_blurdetect.c | 55 int block_height; // height for block abbreviation member 76 { "block_height", "block size for block-based abbreviation of blurriness", OFFSET(block_height), AV_OPT_TYPE_INT, {.i64=-1}, -1, INT_MAX, FLAGS }, 105 if (s->block_width < 1 || s->block_height < 1) { in blurdetect_config_input() 107 s->block_height = inlink->h; in blurdetect_config_input() 114 s->blks = av_calloc((inlink->w / s->block_width) * (inlink->h / s->block_height), in blurdetect_config_input() 206 int block_height = AV_CEIL_RSHIFT(s->block_height, vsub); in calculate_blur() local 207 int brows = h / block_height; in calculate_blur() 214 for (int inj = 0; inj < block_height; in in calculate_blur() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | format_parser.py | 235 def __init__(self, name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace): 248 block_height -- The block height if the format is compressed, 1 otherwise 257 self.block_height = block_height 371 return self.block_width != 1 or self.block_height != 1 or self.block_depth != 1 564 block_height = int(fields[3]) 575 yield Format(name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace)
|
H A D | format_info.py | 199 print(' .BlockWidth = {0}, .BlockHeight = {1}, .BlockDepth = {2},'.format(fmat.block_width, fmat.block_height, fmat.block_depth))
|
/third_party/mesa3d/src/util/format/ |
H A D | u_format_parse.py | 117 def __init__(self, name, layout, block_width, block_height, block_depth, le_channels, le_swizzles, be_channels, be_swizzles, colorspace): 121 self.block_height = block_height 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_channels, be_swizzles, colorspace)
|
H A D | u_format_table.py | 205 print(" {%u, %u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_depth, format.block_size()))
|
H A D | u_format_pack.py | 649 print(' for(y = 0; y < height; y += %u) {' % (format.block_height,))
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_surface.c | 225 int block_height = util_format_get_blockheight(dpt->format); in i915_surface_copy_blitter() local 229 assert(util_format_get_blockheight(spt->format) == block_height); in i915_surface_copy_blitter() 232 dsty /= block_height; in i915_surface_copy_blitter() 234 int srcy = src_box->y / block_height; in i915_surface_copy_blitter() 236 int height = DIV_ROUND_UP(src_box->height, block_height); in i915_surface_copy_blitter()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_fs.c | 123 unsigned block_height, 529 unsigned block_height = key->resource_1d ? 1 : 2; in fs_fb_fetch() local 530 unsigned block_width = block_size / block_height; in fs_fb_fetch() 1609 unsigned block_height, in load_unswizzled_block() 1616 const unsigned row_size = dst_count / block_height; in load_unswizzled_block() 1619 assert((block_width * block_height) % dst_count == 0); in load_unswizzled_block() 1653 unsigned block_height, in store_unswizzled_block() 1660 const unsigned row_size = src_count / block_height; in store_unswizzled_block() 1663 assert((block_width * block_height) % src_count == 0); in store_unswizzled_block() 2270 const unsigned block_height, in convert_alpha() 1605 load_unswizzled_block(struct gallivm_state *gallivm, LLVMValueRef base_ptr, LLVMValueRef stride, unsigned block_width, unsigned block_height, LLVMValueRef* dst, struct lp_type dst_type, unsigned dst_count, unsigned dst_alignment) load_unswizzled_block() argument 1649 store_unswizzled_block(struct gallivm_state *gallivm, LLVMValueRef base_ptr, LLVMValueRef stride, unsigned block_width, unsigned block_height, LLVMValueRef* src, struct lp_type src_type, unsigned src_count, unsigned src_alignment) store_unswizzled_block() argument 2266 convert_alpha(struct gallivm_state *gallivm, struct lp_type row_type, struct lp_type alpha_type, const unsigned block_size, const unsigned block_height, const unsigned src_count, const unsigned dst_channels, const bool pad_inline, LLVMValueRef* src_alpha) convert_alpha() argument 2377 const unsigned block_height = LP_RASTER_BLOCK_SIZE; generate_unswizzled_blend() local [all...] |
/third_party/mesa3d/src/freedreno/fdl/ |
H A 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() 315 A6XX_TEX_CONST_10_FLAG_BUFFER_LOGH(util_logbase2_ceil(DIV_ROUND_UP(height, block_height))); in fdl6_view_init()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_format.h | 89 unsigned *block_height,
|
H A 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()
|
H A D | svga_format.c | 406 unsigned block_width, block_height, block_bytes; member 1755 unsigned *block_height, in svga_format_size() 1760 *block_height = format_cap_table[format].block_height; in svga_format_size() 1766 assert(*block_height); in svga_format_size() 1753 svga_format_size(SVGA3dSurfaceFormat format, unsigned *block_width, unsigned *block_height, unsigned *bytes_per_block) svga_format_size() argument
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_texture.c | 404 cfg.astc._3d.block_height = panfrost_astc_dim_3d(desc->block.height); in panfrost_emit_plane() 409 cfg.astc._2d.block_height = panfrost_astc_dim_2d(desc->block.height); in panfrost_emit_plane()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_image.c | 97 uint32_t block_height = vk_format_get_blockheight(image->vk.format); in v3d_setup_slices() local 133 level_height = DIV_ROUND_UP(level_height, block_height); in v3d_setup_slices()
|
H A D | v3dv_meta_copy.c | 584 uint32_t block_height = vk_format_get_blockheight(image->vk.format); in copy_image_to_buffer_blit() local 586 buf_height = buf_height / block_height; in copy_image_to_buffer_blit() 698 DIV_ROUND_UP(region->imageOffset.y, block_height), in copy_image_to_buffer_blit() 705 block_height), in copy_image_to_buffer_blit() 719 DIV_ROUND_UP(region->imageExtent.height, block_height), in copy_image_to_buffer_blit() 2376 const uint32_t block_height = vk_format_get_blockheight(image->vk.format); in copy_buffer_to_image_blit() local 2398 buf_height = buf_height / block_height; in copy_buffer_to_image_blit() 2440 .bufferImageHeight = region->bufferImageHeight / block_height, in copy_buffer_to_image_blit() 2492 DIV_ROUND_UP(region->imageOffset.y, block_height), in copy_buffer_to_image_blit() 2499 block_height), in copy_buffer_to_image_blit() [all...] |
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_resource.c | 549 uint32_t block_height = util_format_get_blockheight(prsc->format); in v3d_setup_slices() local 585 level_height = DIV_ROUND_UP(level_height, block_height); in v3d_setup_slices()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_gmem.c | 311 uint32_t block_width, block_height; in patch_fb_read_sysmem() local 312 fdl6_get_ubwc_blockwidth(&rsc->layout, &block_width, &block_height); in patch_fb_read_sysmem()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_clear_blit.c | 1678 uint32_t block_height = vk_format_get_blockheight(format); in copy_compressed() local 1681 offset->y /= block_height; in copy_compressed() 1685 extent->height = DIV_ROUND_UP(extent->height, block_height); in copy_compressed() 1690 *height = DIV_ROUND_UP(*height, block_height); in copy_compressed()
|