Home
last modified time | relevance | path

Searched refs:mb_array_size (Results 1 - 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dmpegpicture.c209 const int mb_array_size = mb_stride * mb_height; in alloc_picture_tables() local
214 pic->mbskip_table_buf = av_buffer_allocz(mb_array_size + 2); in alloc_picture_tables()
222 pic->mb_var_buf = av_buffer_allocz(mb_array_size * sizeof(int16_t)); in alloc_picture_tables()
223 pic->mc_mb_var_buf = av_buffer_allocz(mb_array_size * sizeof(int16_t)); in alloc_picture_tables()
224 pic->mb_mean_buf = av_buffer_allocz(mb_array_size); in alloc_picture_tables()
232 int ref_index_size = 4 * mb_array_size; in alloc_picture_tables()
H A Dmpeg_er.c103 int mb_array_size = s->mb_height * s->mb_stride; in ff_mpeg_er_init() local
116 er->error_status_table = av_mallocz(mb_array_size); in ff_mpeg_er_init()
H A Dmpegvideo.c527 int y_size, c_size, yc_size, i, mb_array_size, mv_table_size, x, y; in ff_mpv_init_context_frame() local
532 mb_array_size = s->mb_height * s->mb_stride; in ff_mpv_init_context_frame()
581 if (!FF_ALLOCZ_TYPED_ARRAY(s->mb_type, mb_array_size) || in ff_mpv_init_context_frame()
582 !FF_ALLOCZ_TYPED_ARRAY(s->lambda_table, mb_array_size) || in ff_mpv_init_context_frame()
583 !FF_ALLOC_TYPED_ARRAY (s->cplx_tab, mb_array_size) || in ff_mpv_init_context_frame()
584 !FF_ALLOC_TYPED_ARRAY (s->bits_tab, mb_array_size)) in ff_mpv_init_context_frame()
631 !(s->cbp_table = av_mallocz(mb_array_size)) || in ff_mpv_init_context_frame()
632 !(s->pred_dir_table = av_mallocz(mb_array_size))) in ff_mpv_init_context_frame()
650 if (!(s->mbintra_table = av_mallocz(mb_array_size)) || in ff_mpv_init_context_frame()
652 !(s->mbskip_table = av_mallocz(mb_array_size in ff_mpv_init_context_frame()
[all...]
H A Dh264dec.c216 int mb_array_size = h->mb_height * h->mb_stride; in ff_h264_alloc_tables() local
234 !FF_ALLOCZ_TYPED_ARRAY(er->error_status_table, mb_array_size) || in ff_h264_alloc_tables()
H A Dh264_slice.c166 const int mb_array_size = h->mb_stride * h->mb_height; in init_table_pools() local
176 h->ref_index_pool = av_buffer_pool_init(4 * mb_array_size, av_buffer_allocz); in init_table_pools()

Completed in 8 milliseconds