Searched refs:amplitude (Results 1 – 2 of 2) sorted by relevance
125 const float amplitude = convertToFloatAndIncrement<FORMAT>(&litudes); in energyMonoRef() local126 accum += amplitude * amplitude; in energyMonoRef()162 const float amplitude = ((float *)amplitudes)[i]; in energyMono() local163 value += amplitude * amplitude; in energyMono()181 int32x4_t amplitude = vmovl_s16(*samplitudes); in energyMono() local184 float32x4_t famplitude = vcvtq_f32_s32(amplitude); in energyMono()195 const float amplitude = (float)((int16_t *)amplitudes)[i]; in energyMono() local196 value += amplitude * amplitude; in energyMono()227 const float amplitude = (float)((int32_t *)amplitudes)[i]; in energyMono() local228 value += amplitude * amplitude; in energyMono()[all …]
80 static inline float audio_utils_power_from_amplitude(float amplitude) in audio_utils_power_from_amplitude() argument82 return 20.f * log10f(fabsf(amplitude)); in audio_utils_power_from_amplitude()