Lines Matching refs:ps_pu
5313 pu_t *ps_pu; in ihevce_inter_tu_tree_selector_and_rdopt_cost_computer() local
5318 ps_pu = ps_inter_cand->as_inter_pu + i; in ihevce_inter_tu_tree_selector_and_rdopt_cost_computer()
5320 inter_pu_wd = (ps_pu->b4_wd + 1) << 2; /* cb and cr pixel interleaved */ in ihevce_inter_tu_tree_selector_and_rdopt_cost_computer()
5321 inter_pu_ht = ((ps_pu->b4_ht + 1) << 2) >> 1; in ihevce_inter_tu_tree_selector_and_rdopt_cost_computer()
5325 ps_pu, in ihevce_inter_tu_tree_selector_and_rdopt_cost_computer()
5794 pu_t *ps_pu; in ihevce_inter_rdopt_cu_mc_mvp() local
5798 ps_pu = &ps_inter_cand->as_inter_pu[ctr]; in ihevce_inter_rdopt_cu_mc_mvp()
5801 inter_pu_wd = (ps_pu->b4_wd + 1) << 2; in ihevce_inter_rdopt_cu_mc_mvp()
5802 inter_pu_ht = (ps_pu->b4_ht + 1) << 2; in ihevce_inter_rdopt_cu_mc_mvp()
5807 if(-1 != ps_pu->mv.i1_l0_ref_idx) in ihevce_inter_rdopt_cu_mc_mvp()
5809 ps_pu->mv.i1_l0_ref_pic_buf_id = in ihevce_inter_rdopt_cu_mc_mvp()
5810 ps_ctxt->s_mv_pred_ctxt.ps_ref_list[0][ps_pu->mv.i1_l0_ref_idx]->i4_buf_id; in ihevce_inter_rdopt_cu_mc_mvp()
5814 if(-1 != ps_pu->mv.i1_l1_ref_idx) in ihevce_inter_rdopt_cu_mc_mvp()
5816 ps_pu->mv.i1_l1_ref_pic_buf_id = in ihevce_inter_rdopt_cu_mc_mvp()
5817 ps_ctxt->s_mv_pred_ctxt.ps_ref_list[1][ps_pu->mv.i1_l1_ref_idx]->i4_buf_id; in ihevce_inter_rdopt_cu_mc_mvp()
5821 skip_or_merge_flag = ps_inter_cand->b1_skip_flag | ps_pu->b1_merge_flag; in ihevce_inter_rdopt_cu_mc_mvp()
5836 if(ps_ctxt->u1_disable_intra_eval && DISABLE_TOP_SYNC && (ps_pu->b4_pos_y == 0)) in ihevce_inter_rdopt_cu_mc_mvp()
5913 ps_pu, in ihevce_inter_rdopt_cu_mc_mvp()
5928 ps_nbr_4x4->mv = ps_pu->mv; in ihevce_inter_rdopt_cu_mc_mvp()
5931 ps_final_prms->as_pu_enc_loop[ctr] = *ps_pu; in ihevce_inter_rdopt_cu_mc_mvp()
5934 ps_final_prms->as_pu_chrm_proc[ctr] = *ps_pu; in ihevce_inter_rdopt_cu_mc_mvp()
5943 if((PRED_BI == ps_pu->b2_pred_mode) || (PRED_L0 == ps_pu->b2_pred_mode)) in ihevce_inter_rdopt_cu_mc_mvp()
5948 idx0_cost = abs(ps_pu->mv.s_l0_mv.i2_mvx - as_pred_mv[0].s_l0_mv.i2_mvx); in ihevce_inter_rdopt_cu_mc_mvp()
5949 idx0_cost += abs(ps_pu->mv.s_l0_mv.i2_mvy - as_pred_mv[0].s_l0_mv.i2_mvy); in ihevce_inter_rdopt_cu_mc_mvp()
5954 idx1_cost = abs(ps_pu->mv.s_l0_mv.i2_mvx - as_pred_mv[1].s_l0_mv.i2_mvx); in ihevce_inter_rdopt_cu_mc_mvp()
5955 idx1_cost += abs(ps_pu->mv.s_l0_mv.i2_mvy - as_pred_mv[1].s_l0_mv.i2_mvy); in ihevce_inter_rdopt_cu_mc_mvp()
5986 if((PRED_BI == ps_pu->b2_pred_mode) || (PRED_L1 == ps_pu->b2_pred_mode)) in ihevce_inter_rdopt_cu_mc_mvp()
5991 idx0_cost = abs(ps_pu->mv.s_l1_mv.i2_mvx - as_pred_mv[0].s_l1_mv.i2_mvx); in ihevce_inter_rdopt_cu_mc_mvp()
5992 idx0_cost += abs(ps_pu->mv.s_l1_mv.i2_mvy - as_pred_mv[0].s_l1_mv.i2_mvy); in ihevce_inter_rdopt_cu_mc_mvp()
5997 idx1_cost = abs(ps_pu->mv.s_l1_mv.i2_mvx - as_pred_mv[1].s_l1_mv.i2_mvx); in ihevce_inter_rdopt_cu_mc_mvp()
5998 idx1_cost += abs(ps_pu->mv.s_l1_mv.i2_mvy - as_pred_mv[1].s_l1_mv.i2_mvy); in ihevce_inter_rdopt_cu_mc_mvp()
6036 ps_final_prms->as_pu_enc_loop[ctr].b1_merge_flag = ps_pu->b1_merge_flag; in ihevce_inter_rdopt_cu_mc_mvp()
6038 ps_final_prms->as_pu_enc_loop[ctr].b3_merge_idx = ps_pu->b3_merge_idx; in ihevce_inter_rdopt_cu_mc_mvp()
6040 if((PRED_BI == ps_pu->b2_pred_mode) || (PRED_L0 == ps_pu->b2_pred_mode)) in ihevce_inter_rdopt_cu_mc_mvp()
6047 if((PRED_BI == ps_pu->b2_pred_mode) || (PRED_L1 == ps_pu->b2_pred_mode)) in ihevce_inter_rdopt_cu_mc_mvp()
6058 ps_final_prms->as_col_pu_enc_loop[ctr].s_l0_mv = ps_pu->mv.s_l0_mv; in ihevce_inter_rdopt_cu_mc_mvp()
6059 ps_final_prms->as_col_pu_enc_loop[ctr].s_l1_mv = ps_pu->mv.s_l1_mv; in ihevce_inter_rdopt_cu_mc_mvp()
6060 ps_final_prms->as_col_pu_enc_loop[ctr].i1_l0_ref_idx = ps_pu->mv.i1_l0_ref_idx; in ihevce_inter_rdopt_cu_mc_mvp()
6061 ps_final_prms->as_col_pu_enc_loop[ctr].i1_l1_ref_idx = ps_pu->mv.i1_l1_ref_idx; in ihevce_inter_rdopt_cu_mc_mvp()
6062 ps_final_prms->as_col_pu_enc_loop[ctr].b2_pred_mode = ps_pu->b2_pred_mode; in ihevce_inter_rdopt_cu_mc_mvp()
6101 ihevce_luma_inter_pred_pu(&ps_ctxt->s_mc_ctxt, ps_pu, pu1_pred, pred_stride, 0); in ihevce_inter_rdopt_cu_mc_mvp()
7152 pu_t *ps_pu; in ihevce_chroma_cu_prcs_rdopt() local
7156 ps_pu = &ps_best_cu_prms->as_pu_chrm_proc[ctr]; in ihevce_chroma_cu_prcs_rdopt()
7158 inter_pu_wd = (ps_pu->b4_wd + 1) << 2; /* cb and cr pixel interleaved */ in ihevce_chroma_cu_prcs_rdopt()
7159 inter_pu_ht = ((ps_pu->b4_ht + 1) << 2) >> 1; in ihevce_chroma_cu_prcs_rdopt()
7162 ihevce_chroma_inter_pred_pu(&ps_ctxt->s_mc_ctxt, ps_pu, pu1_pred, pred_strd); in ihevce_chroma_cu_prcs_rdopt()
8581 pu_t *ps_pu; in ihevce_final_rdopt_mode_prcs() local
8584 ps_pu = &ps_best_cu_prms->as_pu_chrm_proc[ctr]; in ihevce_final_rdopt_mode_prcs()
8587 inter_pu_wd = (ps_pu->b4_wd + 1) << 2; /* cb and cr pixel interleaved */ in ihevce_final_rdopt_mode_prcs()
8588 inter_pu_ht = ((ps_pu->b4_ht + 1) << 2) >> 1; in ihevce_final_rdopt_mode_prcs()
8592 &ps_ctxt->s_mc_ctxt, ps_pu, pu1_cur_pred, pred_chrm_strd); in ihevce_final_rdopt_mode_prcs()
10390 nbr_4x4_t *ps_nbr_4x4, pu_t *ps_pu, WORD32 i4_nbr_buf_stride) in ihevce_populate_nbr_4x4_with_pu_data() argument
10396 WORD32 ht = (ps_pu->b4_ht + 1); in ihevce_populate_nbr_4x4_with_pu_data()
10397 WORD32 wd = (ps_pu->b4_wd + 1); in ihevce_populate_nbr_4x4_with_pu_data()
10400 ps_nbr_4x4->b1_pred_l0_flag = !(ps_pu->b2_pred_mode & 1); in ihevce_populate_nbr_4x4_with_pu_data()
10401 ps_nbr_4x4->b1_pred_l1_flag = (ps_pu->b2_pred_mode > PRED_L0); in ihevce_populate_nbr_4x4_with_pu_data()
10402 ps_nbr_4x4->mv = ps_pu->mv; in ihevce_populate_nbr_4x4_with_pu_data()
10418 pu_t *ps_pu; in ihevce_call_luma_inter_pred_rdopt_pass1() local
10429 ps_pu = &ps_inter_cand->as_inter_pu[ctr]; in ihevce_call_luma_inter_pred_rdopt_pass1()
10432 inter_pu_wd = (ps_pu->b4_wd + 1) << 2; in ihevce_call_luma_inter_pred_rdopt_pass1()
10433 inter_pu_ht = (ps_pu->b4_ht + 1) << 2; in ihevce_call_luma_inter_pred_rdopt_pass1()
10435 skip_or_merge_flag = ps_inter_cand->b1_skip_flag | ps_pu->b1_merge_flag; in ihevce_call_luma_inter_pred_rdopt_pass1()
10438 ihevce_luma_inter_pred_pu(&ps_ctxt->s_mc_ctxt, ps_pu, pu1_pred, pred_stride, 1); in ihevce_call_luma_inter_pred_rdopt_pass1()