Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/
Daudio_processing_unittest.cc1854 double sq_error = 0; in UpdateBestSNR() local
1858 sq_error += error * error; in UpdateBestSNR()
1862 if (sq_error == 0) { in UpdateBestSNR()
1866 double snr = variance / sq_error; in UpdateBestSNR()
1870 best_sq_error = sq_error; in UpdateBestSNR()
2134 double sq_error = 0; in TEST_P() local
2150 &variance, &sq_error); in TEST_P()
2158 if (sq_error > 0) { in TEST_P()
2159 double snr = 10 * log10(variance / sq_error); in TEST_P()
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c5162 double sq_error; in vp8_get_compressed_data() local
5173 sq_error = (double)(ye + ue + ve); in vp8_get_compressed_data()
5175 frame_psnr = vpx_sse_to_psnr(t_samples, 255.0, sq_error); in vp8_get_compressed_data()
5180 cpi->total_sq_error += sq_error; in vp8_get_compressed_data()
5227 cpi->total_error2[i] += sq_error; in vp8_get_compressed_data()