Home
last modified time | relevance | path

Searched refs:mb_count (Results 1 - 12 of 12) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dproresenc_anatoliy.c326 static void calc_plane_dct(FDCTDSPContext *fdsp, uint8_t *src, int16_t * blocks, int src_stride, int mb_count, int chroma, int is_422) in calc_plane_dct() argument
334 for (i = 0; i < mb_count; i++) { in calc_plane_dct()
344 for (i = 0; i < mb_count; i++) { in calc_plane_dct()
351 for (i = 0; i < mb_count; i++) { in calc_plane_dct()
363 static int encode_slice_plane(int16_t *blocks, int mb_count, uint8_t *buf, unsigned buf_size, int *qmat, int sub_sample_chroma, in encode_slice_plane() argument
369 blocks_per_slice = mb_count << (2 - sub_sample_chroma); in encode_slice_plane()
381 unsigned mb_count, uint8_t *buf, unsigned data_size, in encode_slice_data()
387 *y_data_size = encode_slice_plane(blocks_y, mb_count, in encode_slice_data()
391 *u_data_size = encode_slice_plane(blocks_u, mb_count, buf + *y_data_size, data_size - *y_data_size, in encode_slice_data()
394 *v_data_size = encode_slice_plane(blocks_v, mb_count, bu in encode_slice_data()
379 encode_slice_data(AVCodecContext *avctx, int16_t * blocks_y, int16_t * blocks_u, int16_t * blocks_v, unsigned mb_count, uint8_t *buf, unsigned data_size, unsigned* y_data_size, unsigned* u_data_size, unsigned* v_data_size, int qp) encode_slice_data() argument
435 encode_alpha_slice_data(AVCodecContext *avctx, int8_t * src_a, unsigned mb_count, uint8_t *buf, unsigned data_size, unsigned* a_data_size) encode_alpha_slice_data() argument
539 encode_slice(AVCodecContext *avctx, const AVFrame *pic, int mb_x, int mb_y, unsigned mb_count, uint8_t *buf, unsigned data_size, int unsafe, int *qp, int is_interlaced, int is_top_field) encode_slice() argument
[all...]
H A Dcinepakenc.c159 int x, mb_count, strip_buf_size, frame_buf_size; in cinepak_encode_init() local
193 mb_count = avctx->width * avctx->height / MB_AREA; in cinepak_encode_init()
199 strip_buf_size = STRIP_HEADER_SIZE + 3 * CHUNK_HEADER_SIZE + 2 * VECTOR_MAX * CODEBOOK_MAX + 4 * (mb_count + (mb_count + 15) / 16) + (2 * CODEBOOK_MAX) / 8; in cinepak_encode_init()
209 if (!(s->mb = av_malloc_array(mb_count, sizeof(mb_info)))) in cinepak_encode_init()
266 int mb_count = s->w * h / MB_AREA; in calculate_mode_score() local
276 ret += s->lambda * 8 * mb_count; in calculate_mode_score()
279 for (x = 0; x < mb_count; x++) { in calculate_mode_score()
293 for (x = 0; x < mb_count; x++) { in calculate_mode_score()
303 for (x = 0; x < mb_count; in calculate_mode_score()
531 int x, y, z, bits, temp_size, header_ofs, ret = 0, mb_count = s->w * h / MB_AREA; encode_mode() local
[all...]
H A Drv10.c103 int mb_count, pb_frame, marker, mb_xy; in rv10_decode_picture_header() local
147 mb_count = get_bits(&s->gb, 12); in rv10_decode_picture_header()
151 mb_count = s->mb_width * s->mb_height; in rv10_decode_picture_header()
156 return mb_count; in rv10_decode_picture_header()
448 int mb_count, mb_pos, left, start_mb_x, active_bits_size, ret; in rv10_decode_packet() local
453 mb_count = rv10_decode_picture_header(s); in rv10_decode_packet()
455 mb_count = rv20_decode_picture_header(rv, whole_size); in rv10_decode_packet()
456 if (mb_count < 0) { in rv10_decode_packet()
457 if (mb_count != ERROR_SKIP_FRAME) in rv10_decode_packet()
469 if (mb_count > lef in rv10_decode_packet()
[all...]
H A Ddxva2_vc1.c196 const unsigned mb_count = s->mb_width * (s->mb_height >> v->field_mode); in commit_bitstream_and_slice_buffer() local
245 mb_count - slice[0].wNumberMBsInSlice; in commit_bitstream_and_slice_buffer()
288 dsc11->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
299 dsc2->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
309 mb_count); in commit_bitstream_and_slice_buffer()
H A Ddxva2_mpeg2.c161 const unsigned mb_count = s->mb_width * (s->mb_height >> is_field); in commit_bitstream_and_slice_buffer() local
207 mb_count - slice[0].wNumberMBsInSlice; in commit_bitstream_and_slice_buffer()
231 dsc11->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
242 dsc2->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
252 mb_count); in commit_bitstream_and_slice_buffer()
H A Dproresdec2.c402 slice->mb_count = slice_mb_count; in decode_picture_header()
552 int i, blocks_per_slice = slice->mb_count<<2; in decode_slice_luma()
566 for (i = 0; i < slice->mb_count; i++) { in decode_slice_luma()
586 int i, j, blocks_per_slice = slice->mb_count << log2_blocks_per_mb; in decode_slice_chroma()
600 for (i = 0; i < slice->mb_count; i++) { in decode_slice_chroma()
662 // jobnr, slice->mb_count, slice->mb_x, slice->mb_y); in decode_slice_thread()
736 size_t mb_max_x = slice->mb_count << (mb_x_shift - 1); in decode_slice_thread()
755 a_data_size, slice->mb_count); in decode_slice_thread()
H A Dmxpegdec.c93 unsigned bitmask_size, mb_count; in mxpeg_decode_mxm() local
98 mb_count = s->mb_width * s->mb_height; in mxpeg_decode_mxm()
100 bitmask_size = (mb_count + 7) >> 3; in mxpeg_decode_mxm()
H A Ddxva2_h264.c304 const unsigned mb_count = h->mb_width * h->mb_height; in commit_bitstream_and_slice_buffer() local
374 slice_long->NumMbsForSlice = mb_count - slice_long->first_mb_in_slice; in commit_bitstream_and_slice_buffer()
409 dsc11->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
422 dsc2->NumMBsInBuffer = mb_count; in commit_bitstream_and_slice_buffer()
439 slice_data, slice_size, mb_count); in commit_bitstream_and_slice_buffer()
H A Dproresdec.h33 unsigned mb_count; member
H A Ddxva2_internal.h145 unsigned mb_count);
H A Ddxva2.c801 unsigned mb_count) in ff_dxva2_commit_buffer()
834 dsc11->NumMBsInBuffer = mb_count; in ff_dxva2_commit_buffer()
843 dsc2->NumMBsInBuffer = mb_count; in ff_dxva2_commit_buffer()
797 ff_dxva2_commit_buffer(AVCodecContext *avctx, AVDXVAContext *ctx, DECODER_BUFFER_DESC *dsc, unsigned type, const void *data, unsigned size, unsigned mb_count) ff_dxva2_commit_buffer() argument
H A Dmpeg4videodec.c953 static int mpeg4_decode_partition_b(MpegEncContext *s, int mb_count) in mpeg4_decode_partition_b() argument
960 for (s->mb_y = s->resync_mb_y; mb_num < mb_count; s->mb_y++) { in mpeg4_decode_partition_b()
962 for (; mb_num < mb_count && s->mb_x < s->mb_width; s->mb_x++) { in mpeg4_decode_partition_b()
1035 if (mb_num >= mb_count) in mpeg4_decode_partition_b()

Completed in 16 milliseconds