Lines Matching refs:ps_mb_part
93 mb_part_ctxt *ps_mb_part = &ps_me_ctxt->as_mb_part[i4_reflist]; in ime_diamond_search_16x16() local
116 WORD32 i4_cost_least = ps_mb_part->i4_mb_cost; in ime_diamond_search_16x16()
119 WORD32 i4_distortion_least = ps_mb_part->i4_mb_distortion; in ime_diamond_search_16x16()
147 i2_mvx = ps_mb_part->s_mv_curr.i2_mvx; in ime_diamond_search_16x16()
148 i2_mvy = ps_mb_part->s_mv_curr.i2_mvy; in ime_diamond_search_16x16()
178 …i4_cost[0] = i4_sad[0] + u4_lambda_motion * ( pu1_mv_bits[ ((i2_mvx - 1) << 2) - ps_mb_part->s_mv_… in ime_diamond_search_16x16()
179 … + pu1_mv_bits[(i2_mvy << 2) - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_diamond_search_16x16()
180 …i4_cost[1] = i4_sad[1] + u4_lambda_motion * ( pu1_mv_bits[ ((i2_mvx + 1) << 2) - ps_mb_part->s_mv_… in ime_diamond_search_16x16()
181 … + pu1_mv_bits[(i2_mvy << 2) - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_diamond_search_16x16()
182 …i4_cost[2] = i4_sad[2] + u4_lambda_motion * ( pu1_mv_bits[ (i2_mvx << 2) - ps_mb_part->s_mv_pred.i… in ime_diamond_search_16x16()
183 … + pu1_mv_bits[((i2_mvy - 1) << 2) - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_diamond_search_16x16()
184 …i4_cost[3] = i4_sad[3] + u4_lambda_motion * ( pu1_mv_bits[ (i2_mvx << 2) - ps_mb_part->s_mv_pred.i… in ime_diamond_search_16x16()
185 … + pu1_mv_bits[((i2_mvy + 1) << 2) - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_diamond_search_16x16()
226 ps_mb_part->u4_exit = 1; in ime_diamond_search_16x16()
238 if (i4_cost_least < ps_mb_part->i4_mb_cost) in ime_diamond_search_16x16()
240 ps_mb_part->i4_mb_cost = i4_cost_least; in ime_diamond_search_16x16()
241 ps_mb_part->i4_mb_distortion = i4_distortion_least; in ime_diamond_search_16x16()
242 ps_mb_part->s_mv_curr.i2_mvx = i2_mvx; in ime_diamond_search_16x16()
243 ps_mb_part->s_mv_curr.i2_mvy = i2_mvy; in ime_diamond_search_16x16()
307 mb_part_ctxt *ps_mb_part = &(ps_me_ctxt->as_mb_part[i4_reflist]); in ime_evaluate_init_srchposn_16x16() local
343 …tion + u4_lambda_motion * ( pu1_mv_bits[ (ps_mv_list[i].i2_mvx << 2) - ps_mb_part->s_mv_pred.i2_mv… in ime_evaluate_init_srchposn_16x16()
344 … + pu1_mv_bits[(ps_mv_list[i].i2_mvy << 2) - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_evaluate_init_srchposn_16x16()
357 if (i4_mb_cost_least < ps_mb_part->i4_mb_cost) in ime_evaluate_init_srchposn_16x16()
359 ps_mb_part->i4_srch_pos_idx = i4_srch_pos_idx; in ime_evaluate_init_srchposn_16x16()
360 ps_mb_part->i4_mb_cost = i4_mb_cost_least; in ime_evaluate_init_srchposn_16x16()
361 ps_mb_part->i4_mb_distortion = i4_distortion_least; in ime_evaluate_init_srchposn_16x16()
362 ps_mb_part->s_mv_curr.i2_mvx = ps_mv_list[i4_srch_pos_idx].i2_mvx; in ime_evaluate_init_srchposn_16x16()
363 ps_mb_part->s_mv_curr.i2_mvy = ps_mv_list[i4_srch_pos_idx].i2_mvy; in ime_evaluate_init_srchposn_16x16()
398 mb_part_ctxt *ps_mb_part = &ps_me_ctxt->as_mb_part[i4_ref_list]; in ime_full_pel_motion_estimation_16x16() local
408 … -ps_me_ctxt->ai2_srch_boundaries[0] + ps_mb_part->s_mv_curr.i2_mvx); in ime_full_pel_motion_estimation_16x16()
410 … ps_me_ctxt->ai2_srch_boundaries[0] + ps_mb_part->s_mv_curr.i2_mvx); in ime_full_pel_motion_estimation_16x16()
412 … -ps_me_ctxt->ai2_srch_boundaries[1] + ps_mb_part->s_mv_curr.i2_mvy); in ime_full_pel_motion_estimation_16x16()
414 … ps_me_ctxt->ai2_srch_boundaries[1] + ps_mb_part->s_mv_curr.i2_mvy); in ime_full_pel_motion_estimation_16x16()
480 mb_part_ctxt *ps_mb_part = &ps_me_ctxt->as_mb_part[i4_reflist]; in ime_sub_pel_motion_estimation_16x16() local
484 WORD32 i4_distortion_least = ps_mb_part->i4_mb_distortion; in ime_sub_pel_motion_estimation_16x16()
488 WORD32 i4_mb_cost_least = ps_mb_part->i4_mb_cost; in ime_sub_pel_motion_estimation_16x16()
519 WORD32 i4_srch_pos_idx = ps_mb_part->i4_srch_pos_idx; in ime_sub_pel_motion_estimation_16x16()
521 i2_mv_u_x = ps_mb_part->s_mv_curr.i2_mvx; in ime_sub_pel_motion_estimation_16x16()
522 i2_mv_u_y = ps_mb_part->s_mv_curr.i2_mvy; in ime_sub_pel_motion_estimation_16x16()
527 mv_x = ps_mb_part->s_mv_curr.i2_mvx >> 2; in ime_sub_pel_motion_estimation_16x16()
528 mv_y = ps_mb_part->s_mv_curr.i2_mvy >> 2; in ime_sub_pel_motion_estimation_16x16()
567 …i4_mb_cost = i4_mb_distortion + u4_lambda_motion * ( pu1_mv_bits[ mv_x_tmp - ps_mb_part->s_mv_pred… in ime_sub_pel_motion_estimation_16x16()
568 + pu1_mv_bits[mv_y_tmp - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_sub_pel_motion_estimation_16x16()
601 …i4_mb_cost = i4_mb_distortion + u4_lambda_motion * ( pu1_mv_bits[ mv_x_tmp - ps_mb_part->s_mv_pred… in ime_sub_pel_motion_estimation_16x16()
602 + pu1_mv_bits[mv_y_tmp - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_sub_pel_motion_estimation_16x16()
638 …i4_mb_cost = i4_mb_distortion + u4_lambda_motion * ( pu1_mv_bits[ mv_x_tmp - ps_mb_part->s_mv_pred… in ime_sub_pel_motion_estimation_16x16()
639 + pu1_mv_bits[mv_y_tmp - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_sub_pel_motion_estimation_16x16()
662 if (i4_mb_cost_least < ps_mb_part->i4_mb_cost) in ime_sub_pel_motion_estimation_16x16()
664 ps_mb_part->i4_mb_cost = i4_mb_cost_least; in ime_sub_pel_motion_estimation_16x16()
665 ps_mb_part->i4_mb_distortion = i4_distortion_least; in ime_sub_pel_motion_estimation_16x16()
666 ps_mb_part->s_mv_curr.i2_mvx = i2_mv_u_x; in ime_sub_pel_motion_estimation_16x16()
667 ps_mb_part->s_mv_curr.i2_mvy = i2_mv_u_y; in ime_sub_pel_motion_estimation_16x16()
668 ps_mb_part->pu1_best_hpel_buf = pu1_best_hpel_buf; in ime_sub_pel_motion_estimation_16x16()
669 ps_mb_part->i4_srch_pos_idx = i4_srch_pos_idx; in ime_sub_pel_motion_estimation_16x16()