Home
last modified time | relevance | path

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

/external/igt-gpu-tools/lib/
Digt_audio.c338 double bin_power[bin_power_len]; in audio_signal_detect() local
379 bin_power[0] = data[0]; in audio_signal_detect()
381 bin_power[i] = hypot(data[i], data[data_len - i]); in audio_signal_detect()
383 bin_power[bin_power_len - 1] = data[data_len / 2]; in audio_signal_detect()
387 bin_power[i] = 2 * bin_power[i] / data_len; in audio_signal_detect()
394 if (bin_power[i] > NOISE_THRESHOLD) { in audio_signal_detect()
396 freq, bin_power[i]); in audio_signal_detect()
405 if (isnan(max) || bin_power[i] > max) in audio_signal_detect()
406 max = bin_power[i]; in audio_signal_detect()
431 if (bin_power[i] > threshold) in audio_signal_detect()
[all …]
/external/python/cpython2/Objects/
Dclassobject.c1885 bin_power(PyObject *v, PyObject *w) in bin_power() function
1895 return do_binop(v, w, "__pow__", "__rpow__", bin_power); in instance_pow()