Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dflashsvenc.c61 int block_width, block_height; member
137 int buf_size, int block_width, int block_height, in encode_bitstream() argument
148 put_bits(&pb, 4, block_width / 16 - 1); in encode_bitstream()
155 h_blocks = s->image_width / block_width; in encode_bitstream()
156 h_part = s->image_width % block_width; in encode_bitstream()
168 int x_pos = i * block_width; // horizontal position in frame in encode_bitstream()
169 int cur_blk_width = (i < h_blocks) ? block_width : h_part; in encode_bitstream()
181 unsigned long zsize = 3 * block_width * block_height; in encode_bitstream()
Dflashsv2enc.c109 int block_width, block_height; member
149 s->block_width : in init_blocks()
150 s->image_width - col * s->block_width; in init_blocks()
213 s->block_width = (s->image_width / 12) & ~15; in flashsv2_encode_init()
216 if(!s->block_width) in flashsv2_encode_init()
217 s->block_width = 1; in flashsv2_encode_init()
222 s->cols = (s->image_width + s->block_width - 1) / s->block_width; in flashsv2_encode_init()
292 put_bits(&pb, 4, (s->block_width >> 4) - 1); in write_header()
617 possl = stride * sl + col * s->block_width * 3; in mark_all_blocks()
618 pos = s->image_width * rsl * 3 + col * s->block_width * 3; in mark_all_blocks()
[all …]
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 …]
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()
665 if (s->block_width == 2) { in truemotion1_decode_16bit()
791 if (s->block_width == 2) { in truemotion1_decode_24bit()
Dh264_cavlc.c920 const int block_width= (sub_mb_type & (MB_TYPE_16x16|MB_TYPE_16x8)) ? 2 : 1; in ff_h264_decode_mb_cavlc() local
923 const int index= 4*i + block_width*j; in ff_h264_decode_mb_cavlc()
925 … pred_motion(h, sl, index, block_width, list, sl->ref_cache[list][ scan8[index] ], &mx, &my); in ff_h264_decode_mb_cavlc()
Dh264_cabac.c2165 const int block_width= (sub_mb_type & (MB_TYPE_16x16|MB_TYPE_16x8)) ? 2 : 1; in ff_h264_decode_mb_cabac() local
2169 const int index= 4*i + block_width*j; in ff_h264_decode_mb_cabac()
2172 … pred_motion(h, sl, index, block_width, list, sl->ref_cache[list][ scan8[index] ], &mx, &my); in ff_h264_decode_mb_cabac()
Dvp3.c1969 int block_width = plane ? 8 : 16; in vp4_mc_loop_filter() local
1993 x2 = x + block_width; in vp4_mc_loop_filter()
1994 y2 = y + block_width; in vp4_mc_loop_filter()
Dsnowenc.c1671 int block_width = (width +15)>>4; in encode_frame() local
1686 s->m.mb_width = block_width; in encode_frame()
/third_party/gstreamer/gstplugins_bad/gst/fieldanalysis/
Dgstfieldanalysis.c357 filter->block_width = DEFAULT_BLOCK_WIDTH; in gst_field_analysis_init()
425 filter->block_width = g_value_get_uint64 (value); in gst_field_analysis_set_property()
430 gsize nbytes = (frame_width / filter->block_width) * sizeof (guint); in gst_field_analysis_set_property()
435 g_malloc0 ((frame_width / filter->block_width) * sizeof (guint)); in gst_field_analysis_set_property()
511 g_value_set_uint64 (value, filter->block_width); in gst_field_analysis_get_property()
577 gsize nbytes = (width / filter->block_width) * sizeof (guint); in gst_field_analysis_update_format()
582 g_malloc0 ((width / filter->block_width) * sizeof (guint)); in gst_field_analysis_update_format()
1050 const guint64 block_width = filter->block_width; in block_score_for_row_32detect() local
1055 (GST_VIDEO_FRAME_WIDTH (&(*history)[0].frame) % block_width); in block_score_for_row_32detect()
1079 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/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()
Dbitset_test.hpp42 int block_width = sizeof(Block) * CHAR_BIT; in nth_bit() local
44 int block_width = std::numeric_limits<Block>::digits; in nth_bit()
46 assert(n < (std::size_t) block_width); in nth_bit()
/third_party/ffmpeg/libavcodec/arm/
Dvp8dsp_armv6.S1287 @ r1 dst_stride - block_width
1290 @ r4 block_width
1292 @ [sp] block_width