Home
last modified time | relevance | path

Searched refs:amplitude (Results 1 – 3 of 3) sorted by relevance

/system/media/audio_utils/include/audio_utils/
Dpower.h80 static inline float audio_utils_power_from_amplitude(float amplitude) in audio_utils_power_from_amplitude() argument
82 return 20.f * log10f(fabsf(amplitude)); in audio_utils_power_from_amplitude()
/system/media/audio_utils/benchmarks/
Dbiquad_filter_benchmark.cpp182 const float amplitude = isSubnormal ? std::numeric_limits<float>::min() * 0.1 : 1.0f; in BM_BiquadFilter() local
183 std::uniform_real_distribution<> dis(-amplitude, amplitude); in BM_BiquadFilter()
/system/media/audio_utils/
Dpower.cpp126 const float amplitude = convertToFloatAndIncrement<FORMAT>(&amplitudes); in energyMonoRef() local
127 accum += amplitude * amplitude; in energyMonoRef()