Home
last modified time | relevance | path

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

/system/media/audio_utils/
Dpower.cpp131 inline void energyRef(const void *amplitudes, size_t size, size_t numChannels, float* out) in energyRef() argument
133 const size_t framesSize = size / numChannels; in energyRef()
135 for (size_t c = 0; c < numChannels; ++c) { in energyRef()
150 inline void energy(const void *amplitudes, size_t size, size_t numChannels, float* out) in energy() argument
152 energyRef<FORMAT>(amplitudes, size, numChannels, out); in energy()
280 size_t numChannels, in audio_utils_accumulate_energy() argument
285 energy<AUDIO_FORMAT_PCM_8_BIT>(buffer, samples, numChannels, out); in audio_utils_accumulate_energy()
289 energy<AUDIO_FORMAT_PCM_16_BIT>(buffer, samples, numChannels, out); in audio_utils_accumulate_energy()
293 energy<AUDIO_FORMAT_PCM_24_BIT_PACKED>(buffer, samples, numChannels, out); in audio_utils_accumulate_energy()
297 energy<AUDIO_FORMAT_PCM_8_24_BIT>(buffer, samples, numChannels, out); in audio_utils_accumulate_energy()
[all …]
/system/media/audio_utils/include/audio_utils/
Dpower.h87 size_t numChannels,