Home
last modified time | relevance | path

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

/external/libhevc/encoder/
Dhme_utils.c111 S32 best_sad_l0 = -1, best_sad_l1 = -1; in ihevce_open_loop_pred_data() local
124 best_sad_l0 = ps_best_l0_pu->i4_tot_cost - ps_best_l0_pu->i4_mv_cost; in ihevce_open_loop_pred_data()
151 ASSERT((best_sad_l0 != -1) || (best_sad_l1 != -1)); in ihevce_open_loop_pred_data()
153 if((best_sad_l0 != -1) && (best_sad_l1 != -1)) in ihevce_open_loop_pred_data()
155 sad_diff = abs(best_sad_l0 - best_sad_l1); in ihevce_open_loop_pred_data()
156 if((sad_diff < (best_sad_l0 * 0.15)) && (sad_diff < (best_sad_l1 * 0.15))) in ihevce_open_loop_pred_data()
163 if(best_sad_l0 < best_sad_l1) in ihevce_open_loop_pred_data()