Lines Matching refs:ref_idx
688 WORD32 ref_idx = 0; in ihevcd_parse_pu_mvp() local
696 ref_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); in ihevcd_parse_pu_mvp()
698 if((active_refs > 2) && ref_idx) in ihevcd_parse_pu_mvp()
704 ref_idx += value; in ihevcd_parse_pu_mvp()
708 ref_idx = ihevcd_cabac_decode_bypass_bins_tunary(ps_cabac, in ihevcd_parse_pu_mvp()
712 ref_idx += 2; in ihevcd_parse_pu_mvp()
715 AEV_TRACE("ref_idx", ref_idx, ps_cabac->u4_range); in ihevcd_parse_pu_mvp()
718 ref_idx = CLIP3(ref_idx, 0, MAX_DPB_SIZE - 1); in ihevcd_parse_pu_mvp()
719 ps_pu->mv.i1_l0_ref_idx = ref_idx; in ihevcd_parse_pu_mvp()
737 WORD32 ref_idx = 0; in ihevcd_parse_pu_mvp() local
746 ref_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); in ihevcd_parse_pu_mvp()
748 if((active_refs > 2) && ref_idx) in ihevcd_parse_pu_mvp()
754 ref_idx += value; in ihevcd_parse_pu_mvp()
758 ref_idx = ihevcd_cabac_decode_bypass_bins_tunary(ps_cabac, in ihevcd_parse_pu_mvp()
762 ref_idx += 2; in ihevcd_parse_pu_mvp()
766 AEV_TRACE("ref_idx", ref_idx, ps_cabac->u4_range); in ihevcd_parse_pu_mvp()
769 ref_idx = CLIP3(ref_idx, 0, MAX_DPB_SIZE - 1); in ihevcd_parse_pu_mvp()
770 ps_pu->mv.i1_l1_ref_idx = ref_idx; in ihevcd_parse_pu_mvp()