Home
last modified time | relevance | path

Searched refs:mb_count (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dproresenc_anatoliy.c324 …CTDSPContext *fdsp, uint8_t *src, int16_t * blocks, int src_stride, int mb_count, int chroma, int … in calc_plane_dct() argument
332 for (i = 0; i < mb_count; i++) { in calc_plane_dct()
342 for (i = 0; i < mb_count; i++) { in calc_plane_dct()
349 for (i = 0; i < mb_count; i++) { in calc_plane_dct()
361 static int encode_slice_plane(int16_t *blocks, int mb_count, uint8_t *buf, unsigned buf_size, int *… in encode_slice_plane() argument
367 blocks_per_slice = mb_count << (2 - sub_sample_chroma); in encode_slice_plane()
379 … unsigned mb_count, uint8_t *buf, unsigned data_size, in encode_slice_data() argument
385 *y_data_size = encode_slice_plane(blocks_y, mb_count, in encode_slice_data()
389 …*u_data_size = encode_slice_plane(blocks_u, mb_count, buf + *y_data_size, data_size - *y_data_size, in encode_slice_data()
392 *v_data_size = encode_slice_plane(blocks_v, mb_count, buf + *y_data_size + *u_data_size, in encode_slice_data()
[all …]
Dcinepakenc.c157 int x, mb_count, strip_buf_size, frame_buf_size; in cinepak_encode_init() local
191 mb_count = avctx->width * avctx->height / MB_AREA; in cinepak_encode_init()
197 …ZE + 3 * CHUNK_HEADER_SIZE + 2 * VECTOR_MAX * CODEBOOK_MAX + 4 * (mb_count + (mb_count + 15) / 16)… in cinepak_encode_init()
207 if (!(s->mb = av_malloc_array(mb_count, sizeof(mb_info)))) in cinepak_encode_init()
265 int mb_count = s->w * h / MB_AREA; in calculate_mode_score() local
275 ret += s->lambda * 8 * mb_count; in calculate_mode_score()
278 for (x = 0; x < mb_count; x++) { in calculate_mode_score()
292 for (x = 0; x < mb_count; x++) { in calculate_mode_score()
302 for (x = 0; x < mb_count; x++) { in calculate_mode_score()
322 for (x = 0; x < mb_count; x++) { in calculate_mode_score()
[all …]
Drv10.c100 int mb_count, pb_frame, marker, mb_xy; in rv10_decode_picture_header() local
144 mb_count = get_bits(&s->gb, 12); in rv10_decode_picture_header()
148 mb_count = s->mb_width * s->mb_height; in rv10_decode_picture_header()
154 return mb_count; in rv10_decode_picture_header()
447 int mb_count, mb_pos, left, start_mb_x, active_bits_size, ret; in rv10_decode_packet() local
452 mb_count = rv10_decode_picture_header(s); in rv10_decode_packet()
454 mb_count = rv20_decode_picture_header(rv, whole_size); in rv10_decode_packet()
455 if (mb_count < 0) { in rv10_decode_packet()
456 if (mb_count != ERROR_SKIP_FRAME) in rv10_decode_packet()
468 if (mb_count > left) { in rv10_decode_packet()
[all …]
Ddxva2_mpeg2.c159 const unsigned mb_count = s->mb_width * (s->mb_height >> is_field); in commit_bitstream_and_slice_buffer() local
205 mb_count - slice[0].wNumberMBsInSlice; in commit_bitstream_and_slice_buffer()
229 dsc11->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
240 dsc2->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
250 mb_count); in commit_bitstream_and_slice_buffer()
Ddxva2_vc1.c193 const unsigned mb_count = s->mb_width * (s->mb_height >> v->field_mode); in commit_bitstream_and_slice_buffer() local
242 mb_count - slice[0].wNumberMBsInSlice; in commit_bitstream_and_slice_buffer()
285 dsc11->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
296 dsc2->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
306 mb_count); in commit_bitstream_and_slice_buffer()
Dproresdec2.c376 slice->mb_count = slice_mb_count; in decode_picture_header()
526 int i, blocks_per_slice = slice->mb_count<<2; in decode_slice_luma()
540 for (i = 0; i < slice->mb_count; i++) { in decode_slice_luma()
560 int i, j, blocks_per_slice = slice->mb_count << log2_blocks_per_mb; in decode_slice_chroma()
574 for (i = 0; i < slice->mb_count; i++) { in decode_slice_chroma()
710 size_t mb_max_x = slice->mb_count << (mb_x_shift - 1); in decode_slice_thread()
729 a_data_size, slice->mb_count); in decode_slice_thread()
Dmxpegdec.c92 unsigned bitmask_size, mb_count; in mxpeg_decode_mxm() local
97 mb_count = s->mb_width * s->mb_height; in mxpeg_decode_mxm()
99 bitmask_size = (mb_count + 7) >> 3; in mxpeg_decode_mxm()
Dproresdec.h33 unsigned mb_count; member
Ddxva2_h264.c302 const unsigned mb_count = h->mb_width * h->mb_height; in commit_bitstream_and_slice_buffer() local
372 slice_long->NumMbsForSlice = mb_count - slice_long->first_mb_in_slice; in commit_bitstream_and_slice_buffer()
407 dsc11->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
420 dsc2->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
437 slice_data, slice_size, mb_count); in commit_bitstream_and_slice_buffer()
Ddxva2_internal.h145 unsigned mb_count);
Ddxva2.c801 unsigned mb_count) in ff_dxva2_commit_buffer() argument
834 dsc11->NumMBsInBuffer = mb_count; in ff_dxva2_commit_buffer()
843 dsc2->NumMBsInBuffer = mb_count; in ff_dxva2_commit_buffer()
Dmpeg4videodec.c882 static int mpeg4_decode_partition_b(MpegEncContext *s, int mb_count) in mpeg4_decode_partition_b() argument
889 for (s->mb_y = s->resync_mb_y; mb_num < mb_count; s->mb_y++) { in mpeg4_decode_partition_b()
891 for (; mb_num < mb_count && s->mb_x < s->mb_width; s->mb_x++) { in mpeg4_decode_partition_b()
964 if (mb_num >= mb_count) in mpeg4_decode_partition_b()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11mpeg2dec.cpp687 guint mb_count = inner->width_in_mb * (inner->height_in_mb >> is_field); in gst_d3d11_mpeg2_dec_end_picture() local
709 slice->wNumberMBsInSlice = mb_count - slice->wNumberMBsInSlice; in gst_d3d11_mpeg2_dec_end_picture()