Lines Matching refs:ref_idx
675 WORD32 ref_idx = 0; in ihevcd_parse_pu_mvp() local
683 ref_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); in ihevcd_parse_pu_mvp()
685 if((active_refs > 2) && ref_idx) in ihevcd_parse_pu_mvp()
691 ref_idx += value; in ihevcd_parse_pu_mvp()
695 ref_idx = ihevcd_cabac_decode_bypass_bins_tunary(ps_cabac, in ihevcd_parse_pu_mvp()
699 ref_idx += 2; in ihevcd_parse_pu_mvp()
702 AEV_TRACE("ref_idx", ref_idx, ps_cabac->u4_range); in ihevcd_parse_pu_mvp()
705 ref_idx = CLIP3(ref_idx, 0, MAX_DPB_SIZE - 1); in ihevcd_parse_pu_mvp()
706 ps_pu->mv.i1_l0_ref_idx = ref_idx; in ihevcd_parse_pu_mvp()
724 WORD32 ref_idx = 0; in ihevcd_parse_pu_mvp() local
733 ref_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); in ihevcd_parse_pu_mvp()
735 if((active_refs > 2) && ref_idx) in ihevcd_parse_pu_mvp()
741 ref_idx += value; in ihevcd_parse_pu_mvp()
745 ref_idx = ihevcd_cabac_decode_bypass_bins_tunary(ps_cabac, in ihevcd_parse_pu_mvp()
749 ref_idx += 2; in ihevcd_parse_pu_mvp()
753 AEV_TRACE("ref_idx", ref_idx, ps_cabac->u4_range); in ihevcd_parse_pu_mvp()
756 ref_idx = CLIP3(ref_idx, 0, MAX_DPB_SIZE - 1); in ihevcd_parse_pu_mvp()
757 ps_pu->mv.i1_l1_ref_idx = ref_idx; in ihevcd_parse_pu_mvp()