Lines Matching refs:candidate_cnt

494     WORD32 candidate_cnt;  in ihevcd_mv_merge()  local
505 candidate_cnt = 0; in ihevcd_mv_merge()
563 as_pu_merge_list[candidate_cnt] = *ps_nbr_pu[NBR_A1]; in ihevcd_mv_merge()
564 candidate_cnt++; in ihevcd_mv_merge()
565 if(candidate_cnt == max_num_merge_cand) in ihevcd_mv_merge()
567 ps_pu[0].mv = as_pu_merge_list[candidate_cnt - 1].mv; in ihevcd_mv_merge()
568 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
616 as_pu_merge_list[candidate_cnt] = *ps_nbr_pu[NBR_B1]; in ihevcd_mv_merge()
617 candidate_cnt++; in ihevcd_mv_merge()
618 if(candidate_cnt == max_num_merge_cand) in ihevcd_mv_merge()
620 ps_pu[0].mv = as_pu_merge_list[candidate_cnt - 1].mv; in ihevcd_mv_merge()
621 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
658 as_pu_merge_list[candidate_cnt] = *ps_nbr_pu[NBR_B0]; in ihevcd_mv_merge()
659 candidate_cnt++; in ihevcd_mv_merge()
660 if(candidate_cnt == max_num_merge_cand) in ihevcd_mv_merge()
662 ps_pu[0].mv = as_pu_merge_list[candidate_cnt - 1].mv; in ihevcd_mv_merge()
663 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
699 as_pu_merge_list[candidate_cnt] = *ps_nbr_pu[NBR_A0]; in ihevcd_mv_merge()
700 candidate_cnt++; in ihevcd_mv_merge()
701 if(candidate_cnt == max_num_merge_cand) in ihevcd_mv_merge()
703 ps_pu[0].mv = as_pu_merge_list[candidate_cnt - 1].mv; in ihevcd_mv_merge()
704 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
754 as_pu_merge_list[candidate_cnt] = *ps_nbr_pu[NBR_B2]; in ihevcd_mv_merge()
755 candidate_cnt++; in ihevcd_mv_merge()
756 if(candidate_cnt == max_num_merge_cand) in ihevcd_mv_merge()
758 ps_pu[0].mv = as_pu_merge_list[candidate_cnt - 1].mv; in ihevcd_mv_merge()
759 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
785 as_pu_merge_list[candidate_cnt].mv.s_l0_mv = as_mv_col[0]; in ihevcd_mv_merge()
786 as_pu_merge_list[candidate_cnt].mv.s_l1_mv = as_mv_col[1]; in ihevcd_mv_merge()
798 as_pu_merge_list[candidate_cnt].mv.s_l0_mv = as_mv_col[0]; in ihevcd_mv_merge()
802 as_pu_merge_list[candidate_cnt].mv.s_l1_mv = as_mv_col[1]; in ihevcd_mv_merge()
809 as_pu_merge_list[candidate_cnt].mv.i1_l0_ref_idx = 0; in ihevcd_mv_merge()
810 as_pu_merge_list[candidate_cnt].mv.i1_l1_ref_idx = 0; in ihevcd_mv_merge()
811 …as_pu_merge_list[candidate_cnt].b2_pred_mode = avail_col_l0 ? (avail_col_l1 ? PRED_BI : PRED_L0) :… in ihevcd_mv_merge()
813 candidate_cnt += (avail_col_l0 || avail_col_l1); in ihevcd_mv_merge()
815 if(candidate_cnt == max_num_merge_cand) in ihevcd_mv_merge()
817 ps_pu[0].mv = as_pu_merge_list[candidate_cnt - 1].mv; in ihevcd_mv_merge()
818 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
834 if((candidate_cnt > 1) && (candidate_cnt < MAX_NUM_MERGE_CAND)) in ihevcd_mv_merge()
843 candidate_cnt * (candidate_cnt - 1); in ihevcd_mv_merge()
869 candidate_cnt++; in ihevcd_mv_merge()
870 if(candidate_cnt == max_num_merge_cand) in ihevcd_mv_merge()
885 || (candidate_cnt == MAX_NUM_MERGE_CAND)) in ihevcd_mv_merge()
901 zero_idx = max_num_merge_cand - candidate_cnt - 1; in ihevcd_mv_merge()
929 candidate_cnt++; in ihevcd_mv_merge()