Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavcodec/
Dflashsvenc.c61 int block_width, block_height; member
129 int buf_size, int block_width, int block_height, in encode_bitstream() argument
140 put_bits(&pb, 4, block_width / 16 - 1); in encode_bitstream()
147 h_blocks = s->image_width / block_width; in encode_bitstream()
148 h_part = s->image_width % block_width; in encode_bitstream()
160 int x_pos = i * block_width; // horizontal position in frame in encode_bitstream()
161 int cur_blk_width = (i < h_blocks) ? block_width : h_part; in encode_bitstream()
173 unsigned long zsize = 3 * block_width * block_height; in encode_bitstream()
Dflashsv.c55 int block_width, block_height; member
273 int last_blockwidth = s->block_width; in flashsv_decode_frame()
286 s->block_width = 16 * (get_bits(&gb, 4) + 1); in flashsv_decode_frame()
291 if ( last_blockwidth != s->block_width in flashsv_decode_frame()
308 h_blocks = s->image_width / s->block_width; in flashsv_decode_frame()
309 h_part = s->image_width % s->block_width; in flashsv_decode_frame()
315 if (s->block_size < s->block_width * s->block_height) { in flashsv_decode_frame()
316 int tmpblock_size = 3 * s->block_width * s->block_height, err; in flashsv_decode_frame()
338 s->block_size = s->block_width * s->block_height; in flashsv_decode_frame()
368 s->image_width, s->image_height, s->block_width, s->block_height, in flashsv_decode_frame()
[all …]
Dflashsv2enc.c109 int block_width, block_height; member
150 s->block_width : in init_blocks()
151 s->image_width - col * s->block_width; in init_blocks()
178 static int update_block_dimensions(FlashSV2Context *s, int block_width, int block_height) in update_block_dimensions() argument
180 s->block_width = block_width; in update_block_dimensions()
183 s->cols = (s->image_width + s->block_width - 1) / s->block_width; in update_block_dimensions()
196 av_fast_malloc(&s->blockbuffer, &s->blockbuffer_size, block_width * block_height * 6); in update_block_dimensions()
299 put_bits(&pb, 4, (s->block_width >> 4) - 1); in write_header()
624 possl = stride * sl + col * s->block_width * 3; in mark_all_blocks()
625 pos = s->image_width * rsl * 3 + col * s->block_width * 3; in mark_all_blocks()
[all …]
Drpzaenc.c75 int block_width; member
122 bi->block_width = bi->image_width % 4; in get_block_info()
124 bi->block_width = 4; in get_block_info()
207 for (x = 0; x < bi->block_width; x++) { in get_max_component_diff()
248 for (x = 0; x < bi->block_width; x++) { in compare_blocks()
273 count = bi->block_height * bi->block_width; in leastsquares()
279 for (j = 0; j < bi->block_width; j++) { in leastsquares()
326 for (j = 0; j < bi->block_width; j++) { in calc_lsq_max_fit_error()
488 total_pixels_blk = *total_pixels + bi->block_height * bi->block_width; in update_block_stats()
494 for (x = 0; x < bi->block_width; x++) { in update_block_stats()
Dsvq1enc.c255 int block_width, block_height; in svq1_encode_plane() local
267 block_width = (width + 15) / 16; in svq1_encode_plane()
281 s->m.mb_width = block_width; in svq1_encode_plane()
333 for (x = width; x < 16 * block_width; x++) in svq1_encode_plane()
338 16 * block_width); in svq1_encode_plane()
340 for (x = 0; x < block_width; x++) { in svq1_encode_plane()
359 for (x = width; x < 16 * block_width; x++) in svq1_encode_plane()
363 memcpy(&src[i * stride], &src[(i - 1) * stride], 16 * block_width); in svq1_encode_plane()
366 for (x = 0; x < block_width; x++) { in svq1_encode_plane()
Dtruemotion1.c67 int block_width; member
118 int block_width; // vres member
459 s->block_width = compression_types[header.compression].block_width; in truemotion1_decode_header()
465 s->last_deltaset, s->last_vectable, s->compression, s->block_width, in truemotion1_decode_header()
663 if (s->block_width == 2) { in truemotion1_decode_16bit()
789 if (s->block_width == 2) { in truemotion1_decode_24bit()
/third_party/gstreamer/gstplugins_bad/gst/fieldanalysis/
Dgstfieldanalysis.c366 filter->block_width = DEFAULT_BLOCK_WIDTH; in gst_field_analysis_init()
434 filter->block_width = g_value_get_uint64 (value); in gst_field_analysis_set_property()
439 gsize nbytes = (frame_width / filter->block_width) * sizeof (guint); in gst_field_analysis_set_property()
444 g_malloc0 ((frame_width / filter->block_width) * sizeof (guint)); in gst_field_analysis_set_property()
520 g_value_set_uint64 (value, filter->block_width); in gst_field_analysis_get_property()
586 gsize nbytes = (width / filter->block_width) * sizeof (guint); in gst_field_analysis_update_format()
591 g_malloc0 ((width / filter->block_width) * sizeof (guint)); in gst_field_analysis_update_format()
1059 const guint64 block_width = filter->block_width; in block_score_for_row_32detect() local
1064 (GST_VIDEO_FRAME_WIDTH (&(*history)[0].frame) % block_width); in block_score_for_row_32detect()
1088 const guint64 res_idx = (i - 1) / block_width; in block_score_for_row_32detect()
[all …]
Dgstfieldanalysis.h135 guint64 block_width, block_height; /* width/height of window used for comb clusted detection */ member
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c477 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height) in get_tile_size() argument
482 *block_width = 1; in get_tile_size()
486 *block_width = 2; in get_tile_size()
490 *block_width = 4; in get_tile_size()
496 *block_width = 4; in get_tile_size()
501 *block_width = 8; in get_tile_size()
506 *block_width = 8; in get_tile_size()
Dradeon_tile.h38 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height);
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c477 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height) in get_tile_size() argument
482 *block_width = 1; in get_tile_size()
486 *block_width = 2; in get_tile_size()
490 *block_width = 4; in get_tile_size()
496 *block_width = 4; in get_tile_size()
501 *block_width = 8; in get_tile_size()
506 *block_width = 8; in get_tile_size()
Dradeon_tile.h38 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height);
/third_party/mesa3d/src/mesa/main/
Dformat_parser.py235 …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)
Dformat_info.py199 …print(' .BlockWidth = {0}, .BlockHeight = {1}, .BlockDepth = {2},'.format(fmat.block_width, f…
/third_party/mesa3d/src/util/format/
Du_format_parse.py117 …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…
Du_format_table.py207 …print(" {%u, %u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.bl…
267 if format.block_width > 1:
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_surface.c224 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/gallium/drivers/freedreno/a6xx/
Dfd6_image.c211 uint32_t block_width, block_height; in emit_image_tex() local
212 fdl6_get_ubwc_blockwidth(&rsc->layout, &block_width, &block_height); in emit_image_tex()
220 DIV_ROUND_UP(img->width, block_width))) | in emit_image_tex()
Dfd6_texture.c322 uint32_t block_width, block_height; in fd6_sampler_view_update() local
323 fdl6_get_ubwc_blockwidth(&rsc->layout, &block_width, &block_height); in fd6_sampler_view_update()
332 DIV_ROUND_UP(u_minify(prsc->width0, lvl), block_width))) | in fd6_sampler_view_update()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_format.h86 unsigned *block_width,
Dsvga_format.c393 unsigned block_width, block_height, block_bytes; member
1688 unsigned *block_width, in svga_format_size() argument
1693 *block_width = format_cap_table[format].block_width; in svga_format_size()
1697 if (*block_width == 0) in svga_format_size()
1699 assert(*block_width); in svga_format_size()
/third_party/boost/libs/dynamic_bitset/test/
Ddyn_bitset_unit_tests3.cpp368 const int block_width = bitset_type::bits_per_block; in run_test_cases() local
370 bitset_type b(num_blocks * block_width); in run_test_cases()
371 typename bitset_type::size_type i = block_width - 1; in run_test_cases()
372 for ( ; i < b.size(); i += block_width) { in run_test_cases()
375 typename bitset_type::size_type first_in_block = i - (block_width - 1); in run_test_cases()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c120 unsigned block_width,
476 unsigned block_width = block_size / block_height; in fs_fb_fetch() local
534 …load_unswizzled_block(gallivm, color_ptr, stride, block_width, block_height, dst, dst_type, block_… in fs_fb_fetch()
1517 unsigned block_width, in load_unswizzled_block() argument
1532 assert((block_width * block_height) % dst_count == 0); in load_unswizzled_block()
1585 unsigned block_width, in store_unswizzled_block() argument
1597 assert((block_width * block_height) % src_count == 0); in store_unswizzled_block()
2311 const unsigned block_width = LP_RASTER_BLOCK_SIZE; in generate_unswizzled_blend() local
2313 const unsigned block_size = block_width * block_height; in generate_unswizzled_blend()
2799 dst_type.length = block_width; in generate_unswizzled_blend()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_image.c337 uint32_t block_width, block_height; in tu_image_view_init() local
338 fdl6_get_ubwc_blockwidth(layout, &block_width, &block_height); in tu_image_view_init()
346 A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW(util_logbase2_ceil(DIV_ROUND_UP(width, block_width))) | in tu_image_view_init()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c97 uint32_t block_width = vk_format_get_blockwidth(image->vk.format); in v3d_setup_slices() local
133 level_width = DIV_ROUND_UP(level_width, block_width); in v3d_setup_slices()

12