Searched refs:pic_size (Results 1 – 7 of 7) sorted by relevance
/external/libavc/test/encoder/ |
D | recon.c | 89 WORD32 pic_size; in allocate_recon() local 100 pic_size = luma_size + chroma_size * 2; in allocate_recon() 105 pu1_buf = (UWORD8 *)ih264a_aligned_malloc(16, pic_size); in allocate_recon() 110 pic_size); in allocate_recon() 114 ps_app_ctxt->as_recon_buf[i].u4_buf_size = pic_size; in allocate_recon() 120 pu1_buf = (UWORD8 *)ih264a_aligned_malloc(16, pic_size); in allocate_recon() 125 pic_size); in allocate_recon() 129 ps_app_ctxt->u4_psnr_buf_size = pic_size; in allocate_recon()
|
D | input.c | 232 WORD32 pic_size; in allocate_input() local 247 pic_size = luma_size + chroma_size; in allocate_input() 257 pu1_buf[0] = (UWORD8 *)ih264a_aligned_malloc(16, pic_size); in allocate_input() 262 pic_size); in allocate_input() 285 ps_app_ctxt->as_input_buf[i].u4_buf_size = pic_size; in allocate_input()
|
/external/libhevc/decoder/ |
D | ihevcd_utils.c | 185 WORD32 ihevcd_get_dpb_size(WORD32 level, WORD32 pic_size) in ihevcd_get_dpb_size() argument 196 if(pic_size <= (max_luma_samples >> 2)) in ihevcd_get_dpb_size() 200 else if(pic_size <= (max_luma_samples >> 1)) in ihevcd_get_dpb_size() 204 else if(pic_size <= ((3 * max_luma_samples) >> 2)) in ihevcd_get_dpb_size() 245 WORD32 ihevcd_get_total_pic_buf_size(WORD32 pic_size, in ihevcd_get_total_pic_buf_size() argument 264 max_dpb_size = ihevcd_get_dpb_size(level, pic_size); in ihevcd_get_total_pic_buf_size() 352 WORD32 pic_size; in ihevcd_get_pic_mv_bank_size() local 357 pic_size = num_luma_samples; in ihevcd_get_pic_mv_bank_size() 360 num_pu = pic_size / (MIN_PU_SIZE * MIN_PU_SIZE); in ihevcd_get_pic_mv_bank_size() 361 num_ctb = pic_size / (MIN_CTB_SIZE * MIN_CTB_SIZE); in ihevcd_get_pic_mv_bank_size() [all …]
|
D | ihevcd_utils.h | 41 WORD32 ihevcd_get_dpb_size(WORD32 level, WORD32 pic_size); 54 WORD32 ihevcd_get_total_pic_buf_size(WORD32 pic_size,
|
D | ihevcd_api.c | 3374 WORD32 pic_size; in ihevcd_get_status() local 3385 pic_size = ps_sps->i2_pic_width_in_luma_samples * ps_sps->i2_pic_height_in_luma_samples; in ihevcd_get_status() 3388 max_dpb_size = ihevcd_get_dpb_size(level, pic_size); in ihevcd_get_status() 3397 pic_size = ps_codec->i4_max_wd * ps_codec->i4_max_ht; in ihevcd_get_status() 3398 max_dpb_size = ihevcd_get_dpb_size(ps_codec->i4_init_level, pic_size); in ihevcd_get_status() 3554 WORD32 pic_size; in ihevcd_get_buf_info() local 3565 pic_size = ps_sps->i2_pic_width_in_luma_samples * ps_sps->i2_pic_height_in_luma_samples; in ihevcd_get_buf_info() 3568 max_dpb_size = ihevcd_get_dpb_size(level, pic_size); in ihevcd_get_buf_info() 3577 pic_size = ps_codec->i4_max_wd * ps_codec->i4_max_ht; in ihevcd_get_buf_info() 3578 max_dpb_size = ihevcd_get_dpb_size(ps_codec->i4_init_level, pic_size); in ihevcd_get_buf_info()
|
/external/libavc/encoder/ |
D | ih264e_utils.h | 156 WORD32 ih264e_get_dpb_size(WORD32 level, WORD32 pic_size); 188 WORD32 ih264e_get_total_pic_buf_size(WORD32 pic_size, WORD32 level,
|
D | ih264e_utils.c | 468 WORD32 pic_size = wd * ht; in ih264e_get_min_level() local 472 if ((pic_size <= gai4_ih264_max_luma_pic_size[i]) && in ih264e_get_min_level() 597 WORD32 ih264e_get_dpb_size(WORD32 level, WORD32 pic_size) in ih264e_get_dpb_size() argument 615 MIN( 1024 * max_dpb_size_bytes / ( pic_size * 3 ), MAX_DPB_SIZE ); in ih264e_get_dpb_size() 650 WORD32 ih264e_get_total_pic_buf_size(WORD32 pic_size, in ih264e_get_total_pic_buf_size() argument 676 num_luma_samples = MAX(num_luma_samples, pic_size); in ih264e_get_total_pic_buf_size()
|