Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc2309 double sq_error = 0; in UpdateBestSNR() local
2313 sq_error += error * error; in UpdateBestSNR()
2317 if (sq_error == 0) { in UpdateBestSNR()
2321 double snr = variance / sq_error; in UpdateBestSNR()
2325 best_sq_error = sq_error; in UpdateBestSNR()
2598 double sq_error = 0; in TEST_P() local
2614 &variance, &sq_error); in TEST_P()
2622 if (sq_error > 0) { in TEST_P()
2623 double snr = 10 * log10(variance / sq_error); in TEST_P()
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c5189 double sq_error; in vp8_get_compressed_data() local
5200 sq_error = (double)(ye + ue + ve); in vp8_get_compressed_data()
5202 frame_psnr = vpx_sse_to_psnr(t_samples, 255.0, sq_error); in vp8_get_compressed_data()
5207 cpi->total_sq_error += sq_error; in vp8_get_compressed_data()
5254 cpi->total_error2[i] += sq_error; in vp8_get_compressed_data()