Home
last modified time | relevance | path

Searched refs:max_num_bufs (Results 1 – 2 of 2) sorted by relevance

/external/libhevc/decoder/
Dihevcd_utils.c259 WORD32 max_num_bufs; in ihevcd_get_total_pic_buf_size() local
267 max_num_bufs = (2 * max_dpb_size + 1); in ihevcd_get_total_pic_buf_size()
271 max_num_bufs = MIN(max_num_bufs, init_num_bufs); in ihevcd_get_total_pic_buf_size()
276 max_num_bufs += init_extra_bufs; in ihevcd_get_total_pic_buf_size()
277 max_num_bufs = MIN(max_num_bufs, BUF_MGR_MAX_CNT); in ihevcd_get_total_pic_buf_size()
323 size = num_samples * max_num_bufs; in ihevcd_get_total_pic_buf_size()
561 WORD32 max_num_bufs; in ihevcd_pic_buf_mgr_add_bufs() local
589max_num_bufs = MIN(max_dpb_size, (ps_codec->i4_init_num_ref + ps_codec->i4_init_num_reorder + 1)); in ihevcd_pic_buf_mgr_add_bufs()
624 if(i < max_num_bufs) in ihevcd_pic_buf_mgr_add_bufs()
/external/libavc/encoder/
Dih264e_utils.c662 WORD32 max_num_bufs; in ih264e_get_total_pic_buf_size() local
669 max_num_bufs = (num_ref_frames + num_reorder_frames + MAX_CTXT_SETS); in ih264e_get_total_pic_buf_size()
705 size = num_samples * max_num_bufs; in ih264e_get_total_pic_buf_size()
708 size += ((pad * pad) + pad * (max_wd + min_ht)) * 3 / 2 * max_num_bufs; in ih264e_get_total_pic_buf_size()
782 WORD32 max_num_bufs = ps_codec->i4_ref_buf_cnt; in ih264e_pic_buf_mgr_add_bufs() local
809 for (i = 0; i < max_num_bufs; i++) in ih264e_pic_buf_mgr_add_bufs()