Home
last modified time | relevance | path

Searched refs:poc_diff (Results 1 – 3 of 3) sorted by relevance

/external/libhevc/common/
Dihevc_dpb_mgr.c286 WORD32 poc_diff = cur_abs_poc - ps_dpb_mgr->as_dpb_info[i].ps_pic_buf->i4_abs_poc; in ihevc_dpb_mgr_get_ref_by_nearest_poc() local
287 if((poc_diff > 0) && (poc_diff < min_diff)) in ihevc_dpb_mgr_get_ref_by_nearest_poc()
289 min_diff = poc_diff; in ihevc_dpb_mgr_get_ref_by_nearest_poc()
303 WORD32 poc_diff = cur_abs_poc - ps_dpb_mgr->as_dpb_info[i].ps_pic_buf->i4_abs_poc; in ihevc_dpb_mgr_get_ref_by_nearest_poc() local
304 if(ABS(poc_diff) < min_diff) in ihevc_dpb_mgr_get_ref_by_nearest_poc()
306 min_diff = ABS(poc_diff); in ihevc_dpb_mgr_get_ref_by_nearest_poc()
/external/libhevc/encoder/
Dihevce_coarse_me_pass.c629 WORD32 ref_poc, poc_diff; in ihevce_coarse_me_frame_end() local
637 poc_diff = (cur_poc - ref_poc); in ihevce_coarse_me_frame_end()
640 i2_mv_per_poc = (ps_dyn_range_prms_thrd0->i2_dyn_max_y + (poc_diff - 1)) / poc_diff; in ihevce_coarse_me_frame_end()
647 i2_mv_per_poc = (ps_dyn_range_prms_thrd0->i2_dyn_min_y - (poc_diff - 1)) / poc_diff; in ihevce_coarse_me_frame_end()
Dihevce_me_pass.c1530 WORD32 ref_poc, poc_diff; in ihevce_l0_me_frame_end() local
1537 poc_diff = (cur_poc - ref_poc); in ihevce_l0_me_frame_end()
1538 poc_diff = MAX(1, poc_diff); in ihevce_l0_me_frame_end()
1541 i2_mv_per_poc = (ps_dyn_range_prms_thrd0->i2_dyn_max_y + (poc_diff - 1)) / poc_diff; in ihevce_l0_me_frame_end()
1547 i2_mv_per_poc = (ps_dyn_range_prms_thrd0->i2_dyn_min_y - (poc_diff - 1)) / poc_diff; in ihevce_l0_me_frame_end()