Home
last modified time | relevance | path

Searched refs:energy (Results 1 – 8 of 8) sorted by relevance

/system/media/audio_utils/
DPowerLog.cpp55 void PowerLogBase::processEnergy(size_t frames, float energy, int64_t nowNs) { in processEnergy() argument
63 mCurrentEnergy += energy; in processEnergy()
100 const float energy = mEntries[idx].second; in dumpToString() local
103 if (energy == 0.f) { in dumpToString()
109 if (energy == 0.f) { in dumpToString()
153 const float energy = mEntries[idx].second; in dumpToString() local
155 if (energy == 0.f) { in dumpToString()
186 cumulative += energy; in dumpToString()
189 audio_utils_power_from_energy(energy / (mChannelCount * mFramesPerEntry)); in dumpToString()
237 const float energy = audio_utils_compute_energy_mono(buffer, mFormat, in log() local
[all …]
Dpower.cpp150 inline void energy(const void *amplitudes, size_t size, size_t numChannels, float* out) in energy() function
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()
301 energy<AUDIO_FORMAT_PCM_32_BIT>(buffer, samples, numChannels, out); in audio_utils_accumulate_energy()
305 energy<AUDIO_FORMAT_PCM_FLOAT>(buffer, samples, numChannels, out); in audio_utils_accumulate_energy()
DMelProcessor.cpp262 for (auto& energy: mCurrentChannelEnergy) { in getCombinedChannelEnergy_l() local
263 combinedEnergy += energy; in getCombinedChannelEnergy_l()
264 energy = 0; in getCombinedChannelEnergy_l()
DMelAggregator.cpp65 float energy = powf(10.f, mel / 10.0f); in melToCsd() local
66 return kReferenceEnergyPa * energy / kCsdThreshold; in melToCsd()
/system/media/audio_utils/include/audio_utils/
Dpower.h116 static inline float audio_utils_power_from_energy(float energy) in audio_utils_power_from_energy() argument
118 return 10.f * log10f(energy); in audio_utils_power_from_energy()
DPowerLog.h52 void processEnergy(size_t frames, float energy, int64_t nowNs);
/system/chre/chpp/
DREADME.md3 …ackground applications on a lower power, always-on processor, with lower energy cost than what is …
/system/core/rootdir/
Dinit.rc115 # Create energy-aware scheduler tuning nodes