Home
last modified time | relevance | path

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

/external/libopus/celt/tests/
Dtest_unit_rotation.c50 double err = 0, ener = 0, snr, snr0; in test_rotation() local
61 snr0 = 20*log10(ener/err); in test_rotation()
70 printf ("SNR for size %d (%d pulses) is %f (was %f without inverse)\n", N, K, snr, snr0); in test_rotation()
71 if (snr < 60 || snr0 > 20) in test_rotation()
/external/wpa_supplicant_8/wpa_supplicant/
Dscan.c2190 static unsigned int interpolate_rate(int snr, int snr0, int snr1, in interpolate_rate() argument
2193 return rate0 + (snr - snr0) * (rate1 - rate0) / (snr1 - snr0); in interpolate_rate()
2197 #define INTERPOLATE_RATE(snr0, snr1, rate0, rate1) \ argument
2199 return interpolate_rate(snr, (snr0), (snr1), (rate0), (rate1))