Lines Matching refs:i4_tot_cost
1454 S32 i4_tot_cost, i4_mv_cost, i4_sad, id; in hme_update_results_grid_pu_bestn_xtreme_speed() local
1531 i4_tot_cost = i4_sad + i4_mv_cost; in hme_update_results_grid_pu_bestn_xtreme_speed()
1540 if(i4_tot_cost < ps_best_node[num_results - 1].i4_tot_cost) in hme_update_results_grid_pu_bestn_xtreme_speed()
1543 ps_result_prms->i4_min_cost = i4_tot_cost; in hme_update_results_grid_pu_bestn_xtreme_speed()
1548 ps_best_node[0].i4_tot_cost = i4_tot_cost; in hme_update_results_grid_pu_bestn_xtreme_speed()
1567 S32 i4_tot_cost, i4_mv_cost, i4_sad, id; in hme_update_results_grid_pu_bestn() local
1630 i4_tot_cost = i4_sad + i4_mv_cost; in hme_update_results_grid_pu_bestn()
1634 if(i4_tot_cost < ps_result_prms->i4_min_cost) in hme_update_results_grid_pu_bestn()
1637 ps_result_prms->i4_min_cost = i4_tot_cost; in hme_update_results_grid_pu_bestn()
1641 if(i4_tot_cost < ps_best_node[num_results - 1].i4_tot_cost) in hme_update_results_grid_pu_bestn()
1645 if(i4_tot_cost < ps_best_node[i].i4_tot_cost) in hme_update_results_grid_pu_bestn()
1653 else if(i4_tot_cost == ps_best_node[i].i4_tot_cost) in hme_update_results_grid_pu_bestn()
1662 ps_best_node[i].i4_tot_cost = i4_tot_cost; in hme_update_results_grid_pu_bestn()
1698 S32 i4_tot_cost, i4_mv_cost, i4_sad, id; in hme_update_results_grid_pu_bestn_no_encode() local
1781 i4_tot_cost = i4_sad + i4_mv_cost; in hme_update_results_grid_pu_bestn_no_encode()
1783 i4_tot_cost = CLIP_S16(i4_tot_cost); in hme_update_results_grid_pu_bestn_no_encode()
1787 if(i4_tot_cost < ps_result_prms->i4_min_cost) in hme_update_results_grid_pu_bestn_no_encode()
1790 ps_result_prms->i4_min_cost = i4_tot_cost; in hme_update_results_grid_pu_bestn_no_encode()
1798 if(i4_tot_cost < ps_best_node[num_results - 1].i4_tot_cost) in hme_update_results_grid_pu_bestn_no_encode()
1807 if(i4_tot_cost < ps_best_node[i].i4_tot_cost) in hme_update_results_grid_pu_bestn_no_encode()
1815 else if(i4_tot_cost == ps_best_node[i].i4_tot_cost) in hme_update_results_grid_pu_bestn_no_encode()
1831 ps_best_node[i].i4_tot_cost = i4_tot_cost; in hme_update_results_grid_pu_bestn_no_encode()
1869 S32 i4_count = 0, i4_sad, i4_mv_cost, i4_tot_cost; in hme_update_results_pt_pu_best1_subpel_hs() local
1892 i4_tot_cost = i4_sad + i4_mv_cost; in hme_update_results_pt_pu_best1_subpel_hs()
1896 if(i4_tot_cost < ps_best_node[num_results - 1].i4_tot_cost) in hme_update_results_pt_pu_best1_subpel_hs()
1904 if(i4_tot_cost < ps_best_node[i].i4_tot_cost) in hme_update_results_pt_pu_best1_subpel_hs()
1912 else if(i4_tot_cost == ps_best_node[i].i4_tot_cost) in hme_update_results_pt_pu_best1_subpel_hs()
1930 ps_best_node[i].i4_tot_cost = i4_tot_cost; in hme_update_results_pt_pu_best1_subpel_hs()
1943 S32 i4_count = 0, i4_sad, i4_mv_cost, i4_tot_cost; in hme_update_results_pt_pu_best1_subpel_hs_1() local
1966 i4_tot_cost = i4_sad + i4_mv_cost; in hme_update_results_pt_pu_best1_subpel_hs_1()
1970 if(i4_tot_cost < ps_best_node[1].i4_tot_cost) in hme_update_results_pt_pu_best1_subpel_hs_1()
1978 if(i4_tot_cost < ps_best_node[0].i4_tot_cost) in hme_update_results_pt_pu_best1_subpel_hs_1()
1995 ps_subpel_refine_ctxt->i2_tot_cost[1][i4_count] = i4_tot_cost; in hme_update_results_pt_pu_best1_subpel_hs_1()
2016 ps_subpel_refine_ctxt->i2_tot_cost[0][i4_count] = i4_tot_cost; in hme_update_results_pt_pu_best1_subpel_hs_1()
2187 S32 i4_count = 0, i4_sad, i4_mv_cost, i4_tot_cost; in hme_calc_sad_and_2_best_results() local
2240 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_calc_sad_and_2_best_results()
2249 if(i4_tot_cost < second_best_node_cost) in hme_calc_sad_and_2_best_results()
2257 if(i4_tot_cost < best_node_cost) in hme_calc_sad_and_2_best_results()
2261 else if(i4_tot_cost == best_node_cost) in hme_calc_sad_and_2_best_results()
2268 ps_mv_refine_ctxt->i2_tot_cost[1][index] = i4_tot_cost; in hme_calc_sad_and_2_best_results()
2285 ps_mv_refine_ctxt->i2_tot_cost[0][index] = i4_tot_cost; in hme_calc_sad_and_2_best_results()
2415 S32 i4_count = 0, i4_sad, i4_mv_cost, i4_tot_cost; in hme_calc_sad_and_2_best_results_subpel() local
2434 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_calc_sad_and_2_best_results_subpel()
2443 if(i4_tot_cost < second_best_node_cost) in hme_calc_sad_and_2_best_results_subpel()
2451 if(i4_tot_cost < best_node_cost) in hme_calc_sad_and_2_best_results_subpel()
2455 else if(i4_tot_cost == ps_subpel_refine_ctxt->i2_tot_cost[0][index]) in hme_calc_sad_and_2_best_results_subpel()
2461 ps_subpel_refine_ctxt->i2_tot_cost[1][index] = i4_tot_cost; in hme_calc_sad_and_2_best_results_subpel()
2480 ps_subpel_refine_ctxt->i2_tot_cost[0][index] = i4_tot_cost; in hme_calc_sad_and_2_best_results_subpel()
2639 S32 i4_sad, i4_mv_cost, i4_tot_cost; in hme_calc_stim_injected_sad_and_2_best_results() local
2767 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_calc_stim_injected_sad_and_2_best_results()
2790 ps_mv_refine_ctxt->i2_tot_cost[1][index] = i4_tot_cost; in hme_calc_stim_injected_sad_and_2_best_results()
2810 ps_mv_refine_ctxt->i2_tot_cost[0][index] = i4_tot_cost; in hme_calc_stim_injected_sad_and_2_best_results()
2963 S32 i4_count = 0, i4_sad, i4_mv_cost, i4_tot_cost; in hme_calc_sad_and_1_best_result() local
3016 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_calc_sad_and_1_best_result()
3025 if(i4_tot_cost < second_best_node_cost) in hme_calc_sad_and_1_best_result()
3033 if(i4_tot_cost < best_node_cost) in hme_calc_sad_and_1_best_result()
3037 else if(i4_tot_cost == best_node_cost) in hme_calc_sad_and_1_best_result()
3044 ps_mv_refine_ctxt->i2_tot_cost[1][index] = i4_tot_cost; in hme_calc_sad_and_1_best_result()
3052 ps_mv_refine_ctxt->i2_tot_cost[0][index] = i4_tot_cost; in hme_calc_sad_and_1_best_result()
3215 S32 i4_sad, i4_mv_cost, i4_tot_cost; in hme_calc_stim_injected_sad_and_1_best_result() local
3343 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_calc_stim_injected_sad_and_1_best_result()
3365 ps_mv_refine_ctxt->i2_tot_cost[1][index] = i4_tot_cost; in hme_calc_stim_injected_sad_and_1_best_result()
3374 ps_mv_refine_ctxt->i2_tot_cost[0][index] = i4_tot_cost; in hme_calc_stim_injected_sad_and_1_best_result()
3499 S32 i4_count = 0, i4_sad, i4_mv_cost, i4_tot_cost; in hme_calc_sad_and_1_best_result_subpel() local
3518 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_calc_sad_and_1_best_result_subpel()
3527 if(i4_tot_cost < second_best_node_cost) in hme_calc_sad_and_1_best_result_subpel()
3535 if(i4_tot_cost < best_node_cost) in hme_calc_sad_and_1_best_result_subpel()
3539 else if(i4_tot_cost == ps_subpel_refine_ctxt->i2_tot_cost[0][index]) in hme_calc_sad_and_1_best_result_subpel()
3545 ps_subpel_refine_ctxt->i2_tot_cost[1][index] = i4_tot_cost; in hme_calc_sad_and_1_best_result_subpel()
3553 ps_subpel_refine_ctxt->i2_tot_cost[0][index] = i4_tot_cost; in hme_calc_sad_and_1_best_result_subpel()