Searched refs:mb_array_size (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | mpegpicture.c | 188 const int mb_array_size = mb_stride * mb_height; in alloc_picture_tables() local 193 pic->mbskip_table_buf = av_buffer_allocz(mb_array_size + 2); in alloc_picture_tables() 201 pic->mb_var_buf = av_buffer_allocz(mb_array_size * sizeof(int16_t)); in alloc_picture_tables() 202 pic->mc_mb_var_buf = av_buffer_allocz(mb_array_size * sizeof(int16_t)); in alloc_picture_tables() 203 pic->mb_mean_buf = av_buffer_allocz(mb_array_size); in alloc_picture_tables() 211 int ref_index_size = 4 * mb_array_size; in alloc_picture_tables()
|
D | mpeg_er.c | 103 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()
|
D | mpegvideo.c | 718 int y_size, c_size, yc_size, i, mb_array_size, mv_table_size, x, y; in init_context_frame() local 723 mb_array_size = s->mb_height * s->mb_stride; in init_context_frame() 772 if (!FF_ALLOCZ_TYPED_ARRAY(s->mb_type, mb_array_size) || in init_context_frame() 773 !FF_ALLOCZ_TYPED_ARRAY(s->lambda_table, mb_array_size) || in init_context_frame() 774 !FF_ALLOC_TYPED_ARRAY (s->cplx_tab, mb_array_size) || in init_context_frame() 775 !FF_ALLOC_TYPED_ARRAY (s->bits_tab, mb_array_size)) in init_context_frame() 803 !FF_ALLOCZ_TYPED_ARRAY(s->cbp_table, mb_array_size) || in init_context_frame() 804 !FF_ALLOCZ_TYPED_ARRAY(s->pred_dir_table, mb_array_size)) in init_context_frame() 822 if (!FF_ALLOC_TYPED_ARRAY(s->mbintra_table, mb_array_size) || in init_context_frame() 824 !FF_ALLOCZ_TYPED_ARRAY(s->mbskip_table, mb_array_size + 2)) in init_context_frame() [all …]
|
D | h264dec.c | 225 int mb_array_size = h->mb_height * h->mb_stride; in ff_h264_slice_context_init() local 257 !FF_ALLOCZ_TYPED_ARRAY(er->error_status_table, mb_array_size) || in ff_h264_slice_context_init()
|
D | h264_slice.c | 163 const int mb_array_size = h->mb_stride * h->mb_height; in init_table_pools() local 173 h->ref_index_pool = av_buffer_pool_init(4 * mb_array_size, av_buffer_allocz); in init_table_pools()
|