Home
last modified time | relevance | path

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

/external/libavc/encoder/
Dime_distortion_metrics.c463 WORD32 i4_sad = 0; in ime_compute_sad_16x16() local
472 USADA8(pu1_src, pu1_est, i4_sad); in ime_compute_sad_16x16()
476 USADA8(pu1_src, pu1_est, i4_sad); in ime_compute_sad_16x16()
480 USADA8(pu1_src, pu1_est, i4_sad); in ime_compute_sad_16x16()
484 USADA8(pu1_src, pu1_est, i4_sad); in ime_compute_sad_16x16()
489 if(i4_max_sad < i4_sad) in ime_compute_sad_16x16()
494 *pi4_mb_distortion = i4_sad; in ime_compute_sad_16x16()
501 *pi4_mb_distortion = i4_sad; in ime_compute_sad_16x16()
545 WORD32 i4_sad = 0; in ime_compute_sad_16x16_fast() local
554 USADA8(pu1_src, pu1_est, i4_sad); in ime_compute_sad_16x16_fast()
[all …]
Dih264e_intra_modes_eval.c1737 WORD32 i4_sad[MAX_I4x4] = {INT_MAX, INT_MAX, INT_MAX, INT_MAX, INT_MAX, in ih264e_evaluate_intra_4x4_modes() local
1753 i4_sad[VERT_I4x4] = 0; in ih264e_evaluate_intra_4x4_modes()
1756 USADA8(pu1_src_temp, pu1_pred, i4_sad[VERT_I4x4]); in ih264e_evaluate_intra_4x4_modes()
1758 USADA8(pu1_src_temp, pu1_pred, i4_sad[VERT_I4x4]); in ih264e_evaluate_intra_4x4_modes()
1760 USADA8(pu1_src_temp, pu1_pred, i4_sad[VERT_I4x4]); in ih264e_evaluate_intra_4x4_modes()
1762 USADA8(pu1_src_temp, pu1_pred, i4_sad[VERT_I4x4]); in ih264e_evaluate_intra_4x4_modes()
1764 i4_cost[VERT_I4x4] = i4_sad[VERT_I4x4] + ((u4_predictd_mode == VERT_I4x4) ? in ih264e_evaluate_intra_4x4_modes()
1771 i4_sad[HORZ_I4x4] = 0; in ih264e_evaluate_intra_4x4_modes()
1777 i4_sad[HORZ_I4x4] += ABS(pu1_src_temp[0] - u1_pred_val) in ih264e_evaluate_intra_4x4_modes()
1785 i4_sad[HORZ_I4x4] += ABS(pu1_src_temp[0] - u1_pred_val) in ih264e_evaluate_intra_4x4_modes()
[all …]
Dime.c129 WORD32 i4_sad[4]; in ime_diamond_search_16x16() local
170 i4_sad); in ime_diamond_search_16x16()
172 DEBUG_SAD_HISTOGRAM_ADD(i4_sad[0], 2); in ime_diamond_search_16x16()
173 DEBUG_SAD_HISTOGRAM_ADD(i4_sad[1], 2); in ime_diamond_search_16x16()
174 DEBUG_SAD_HISTOGRAM_ADD(i4_sad[2], 2); in ime_diamond_search_16x16()
175 DEBUG_SAD_HISTOGRAM_ADD(i4_sad[3], 2); 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()
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()
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()
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()
[all …]
/external/libavc/encoder/x86/
Dime_distortion_metrics_sse42.c353 WORD32 i4_sad; in ime_compute_sad_16x16_ea8_sse42() local
407 i4_sad = val1 + val2; in ime_compute_sad_16x16_ea8_sse42()
408 if (i4_max_sad < i4_sad) in ime_compute_sad_16x16_ea8_sse42()
410 *pi4_mb_distortion = i4_sad; in ime_compute_sad_16x16_ea8_sse42()
508 WORD32 i4_sad; in ime_compute_sad_16x16_fast_sse42() local
563 i4_sad = val1 + val2; in ime_compute_sad_16x16_fast_sse42()
564 *pi4_mb_distortion = (i4_sad<<1); in ime_compute_sad_16x16_fast_sse42()