Home
last modified time | relevance | path

Searched refs:i4_tot_cost (Results 1 – 11 of 11) sorted by relevance

/external/libhevc/encoder/
Dhme_subpel.c719 uni_cost = ps_pu_node1->i4_tot_cost; in hme_compute_pred_and_evaluate_bi()
720 cur_iter_best_cost = ps_pu_node1->i4_tot_cost; in hme_compute_pred_and_evaluate_bi()
846 uni_cost = ps_pu_node1->i4_tot_cost; in hme_compute_pred_and_evaluate_bi()
847 cur_iter_best_cost = ps_pu_node2[i].i4_tot_cost; in hme_compute_pred_and_evaluate_bi()
1042 uni_cost = ps_pu_node1->i4_tot_cost; in hme_compute_pred_and_evaluate_bi()
1058 S32 i4_sad = ps_pu_node1->i4_tot_cost - ps_pu_node1->i4_mv_cost; in hme_compute_pred_and_evaluate_bi()
1186 ps_part_type_result->as_pu_results[j].i4_tot_cost = bi_cost; in hme_compute_pred_and_evaluate_bi()
1200 ps_part_type_result->i4_tot_cost = tot_cost; in hme_compute_pred_and_evaluate_bi()
1407 S32 i4_count = 0, i4_sad, i4_mv_cost, i4_tot_cost; in hme_evalsatd_update_2_best_results_pt_pu_16x16() local
1427 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_evalsatd_update_2_best_results_pt_pu_16x16()
[all …]
Dhme_err_compute.c1454 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()
[all …]
Dhme_utils.c124 best_sad_l0 = ps_best_l0_pu->i4_tot_cost - ps_best_l0_pu->i4_mv_cost; in ihevce_open_loop_pred_data()
140 best_sad_l1 = ps_best_l1_pu->i4_tot_cost - ps_best_l1_pu->i4_mv_cost; in ihevce_open_loop_pred_data()
1046 ps_search_node[j].i4_tot_cost = MAX_32BIT_VAL; in hme_reset_search_results()
2242 ai4_costs[i] = ps_pu_results_list0[i].i4_tot_cost; in hme_pick_best_pu_cand()
2249 ai4_costs[j] = ps_pu_results_list1[i].i4_tot_cost; in hme_pick_best_pu_cand()
2328 ps_cand_container[i4_num_cands].i4_tot_cost = in hme_tu_recur_cand_harvester()
2329 ps_cand_container[i4_num_cands].as_pu_results->i4_tot_cost; in hme_tu_recur_cand_harvester()
2366 s_cand_data.as_pu_results[0].i4_tot_cost + s_cand_data.as_pu_results[1].i4_tot_cost; in hme_tu_recur_cand_harvester()
2376 ps_cand_container[i4_num_cands].i4_tot_cost = i4_total_cost; in hme_tu_recur_cand_harvester()
2416 s_cand_data.as_pu_results[0].i4_tot_cost + s_cand_data.as_pu_results[1].i4_tot_cost; in hme_tu_recur_cand_harvester()
[all …]
Dhme_defs.h470 #define MIN_NODE(a, b) (((a)->i4_tot_cost < (b)->i4_tot_cost) ? (a) : (b))
478 #define MAX_NODE(a, b) (((a)->i4_tot_cost >= (b)->i4_tot_cost) ? (a) : (b))
642 as_nodes[k].i4_tot_cost = (WORD32)new_node->i2_tot_cost[result_num][part_id_1]; \
1143 S32 i4_tot_cost; member
1165 (x)->i4_tot_cost = MAX_32BIT_VAL; \
1225 S32 i4_tot_cost; member
1282 S32 i4_tot_cost; member
Dihevce_me_common_defs.h523 WORD32 i4_tot_cost; member
543 WORD32 i4_tot_cost; member
Dhme_refine.c950 ps_search_node->i4_tot_cost = i4_mv_cost + ps_search_node->i4_sad; in hme_pick_eval_merge_candts()
1056 i4_cost_children = ps_merge_prms->ps_8x8_cu_results[0].ps_best_results->i4_tot_cost + in hme_try_merge_high_speed()
1057 ps_merge_prms->ps_8x8_cu_results[1].ps_best_results->i4_tot_cost + in hme_try_merge_high_speed()
1058 ps_merge_prms->ps_8x8_cu_results[2].ps_best_results->i4_tot_cost + in hme_try_merge_high_speed()
1059 ps_merge_prms->ps_8x8_cu_results[3].ps_best_results->i4_tot_cost; in hme_try_merge_high_speed()
1065 i4_cost_children = ps_results_tl->ps_cu_results->ps_best_results[0].i4_tot_cost; in hme_try_merge_high_speed()
1072 i4_cost_children += ps_merge_prms->ps_8x8_cu_results[4].ps_best_results->i4_tot_cost + in hme_try_merge_high_speed()
1073 ps_merge_prms->ps_8x8_cu_results[5].ps_best_results->i4_tot_cost + in hme_try_merge_high_speed()
1074 ps_merge_prms->ps_8x8_cu_results[6].ps_best_results->i4_tot_cost + in hme_try_merge_high_speed()
1075 ps_merge_prms->ps_8x8_cu_results[7].ps_best_results->i4_tot_cost; in hme_try_merge_high_speed()
[all …]
Dhme_coarse.c230 if(aps_search_nodes[j]->i4_tot_cost < aps_search_nodes[i]->i4_tot_cost) in hme_update_mv_bank_coarse()
1642 if(aps_search_nodes[j]->i4_tot_cost < in hme_coarsest()
1643 aps_search_nodes[i]->i4_tot_cost) in hme_coarsest()
Dihevce_enc_loop_structs.h124 pas_pu_results[i][j][k].i4_tot_cost = MAX_COST; \
1317 WORD32 i4_tot_cost; member
1340 WORD32 i4_tot_cost; member
Dihevce_enc_cu_recursion.c700 ps_cu_candt->i4_total_cost = ps_best->i4_tot_cost; in ihevce_populate_cu_struct()
707 ps_best->as_pu_results[0].i4_tot_cost - ps_best->as_pu_results[0].i4_mv_cost; in ihevce_populate_cu_struct()
717 ps_best->as_pu_results[1].i4_tot_cost - ps_best->as_pu_results[1].i4_mv_cost; in ihevce_populate_cu_struct()
725 if(intra_cost_cl_est < ((ps_best->i4_tot_cost * u1_threshold_multi) >> 0)) in ihevce_populate_cu_struct()
/external/libhevc/encoder/arm/
Dihevce_me_neon.c554 S32 i4_sad, i4_tot_cost; in hme_calc_sad_and_1_best_result_neon() local
566 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_calc_sad_and_1_best_result_neon()
570 if(i4_tot_cost < best_node_cost) in hme_calc_sad_and_1_best_result_neon()
572 refine_ctxt->i2_tot_cost[0][id] = i4_tot_cost; in hme_calc_sad_and_1_best_result_neon()
646 S32 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_calc_sad_and_1_best_result_subpel_neon() local
649 if(i4_tot_cost < best_node_cost) in hme_calc_sad_and_1_best_result_subpel_neon()
651 refine_ctxt->i2_tot_cost[0][id] = i4_tot_cost; in hme_calc_sad_and_1_best_result_subpel_neon()
Dihevce_subpel_neon.c432 S32 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon() local
435 if(i4_tot_cost < best_node_cost) in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
437 refine_ctxt->i2_tot_cost[0][id] = i4_tot_cost; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()