Home
last modified time | relevance | path

Searched refs:amplitude (Results 1 – 5 of 5) 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.cpp50 constexpr float amplitude = 1.0f; in BM_BiquadFilter1D() local
51 std::uniform_real_distribution<> dis(-amplitude, amplitude); in BM_BiquadFilter1D()
231 const F amplitude = isSubnormal ? std::numeric_limits<F>::min() * 0.1 : 1.; in BM_BiquadFilter() local
232 std::uniform_real_distribution<> dis(-amplitude, amplitude); in BM_BiquadFilter()
Dintrinsic_benchmark.cpp46 const D amplitude = 1.0f; in BM_Intrinsic() local
47 std::uniform_real_distribution<> dis(-amplitude, amplitude); in BM_Intrinsic()
/system/media/audio_utils/tests/
Dbiquad_filter_tests.cpp71 constexpr float amplitude = 1.0f; in randomBuffer() local
72 std::uniform_real_distribution<> dis(-amplitude, amplitude); in randomBuffer()
81 constexpr float amplitude = 0.9f; in randomFilter() local
82 std::uniform_real_distribution<> dis(-amplitude, amplitude); in randomFilter()
91 constexpr float amplitude = 3.; in randomUnstableFilter() local
92 std::uniform_real_distribution<> dis(-amplitude, amplitude); in randomUnstableFilter()
/system/media/audio_utils/
Dpower.cpp126 const float amplitude = convertToFloatAndIncrement<FORMAT>(&amplitudes); in energyMonoRef() local
127 accum += amplitude * amplitude; in energyMonoRef()