Home
last modified time | relevance | path

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

/aosp_15_r20/external/libhevc/common/
H A 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()
/aosp_15_r20/external/libhevc/encoder/
H A 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()
H A 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()
/aosp_15_r20/external/libdav1d/src/
H A Drefmvs.c841 const int poc_diff = get_poc_diff(seq_hdr->order_hint_n_bits, in dav1d_refmvs_init_frame() local
843 rf->sign_bias[i] = poc_diff > 0; in dav1d_refmvs_init_frame()
844 rf->mfmv_sign[i] = poc_diff < 0; in dav1d_refmvs_init_frame()