Home
last modified time | relevance | path

Searched refs:pic_size (Results 1 – 6 of 6) sorted by relevance

/external/libavc/test/encoder/
Drecon.c89 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()
Dinput.c232 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/
Dihevcd_utils.c251 WORD32 pic_size; in ihevcd_get_pic_mv_bank_size() local
256 pic_size = num_luma_samples; in ihevcd_get_pic_mv_bank_size()
259 num_pu = pic_size / (MIN_PU_SIZE * MIN_PU_SIZE); in ihevcd_get_pic_mv_bank_size()
260 num_ctb = pic_size / (MIN_CTB_SIZE * MIN_CTB_SIZE); in ihevcd_get_pic_mv_bank_size()
617 WORD32 pic_size; in ihevcd_mv_buf_mgr_add_bufs() local
618 pic_size = ALIGN64(ps_sps->i2_pic_width_in_luma_samples) * in ihevcd_mv_buf_mgr_add_bufs()
622 num_pu = pic_size / (MIN_PU_SIZE * MIN_PU_SIZE); in ihevcd_mv_buf_mgr_add_bufs()
623 num_ctb = pic_size / (MIN_CTB_SIZE * MIN_CTB_SIZE); in ihevcd_mv_buf_mgr_add_bufs()
809 WORD32 pic_size; in ihevcd_parse_pic_init() local
813 pic_size = ALIGN64(ps_sps->i2_pic_width_in_luma_samples) * in ihevcd_parse_pic_init()
[all …]
Dihevcd_utils.h41 WORD32 ihevcd_get_dpb_size(WORD32 level, WORD32 pic_size);
/external/libavc/encoder/
Dih264e_utils.h156 WORD32 ih264e_get_dpb_size(WORD32 level, WORD32 pic_size);
188 WORD32 ih264e_get_total_pic_buf_size(WORD32 pic_size, WORD32 level,
Dih264e_utils.c468 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()