Home
last modified time | relevance | path

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

/external/webrtc/webrtc/common_audio/vad/
Dvad_filterbank.c155 int16_t offset, int16_t* total_energy, in LogOfEnergy() argument
230 if (*total_energy <= kMinEnergy) { in LogOfEnergy()
234 *total_energy += kMinEnergy + 1; in LogOfEnergy()
240 *total_energy += (int16_t) (energy >> -tot_rshifts); // Q0. in LogOfEnergy()
247 int16_t total_energy = 0; in WebRtcVad_CalculateFeatures() local
282 LogOfEnergy(hp_60, length, kOffsetVector[5], &total_energy, &features[5]); in WebRtcVad_CalculateFeatures()
285 LogOfEnergy(lp_60, length, kOffsetVector[4], &total_energy, &features[4]); in WebRtcVad_CalculateFeatures()
298 LogOfEnergy(hp_60, length, kOffsetVector[3], &total_energy, &features[3]); in WebRtcVad_CalculateFeatures()
310 LogOfEnergy(hp_120, length, kOffsetVector[2], &total_energy, &features[2]); in WebRtcVad_CalculateFeatures()
322 LogOfEnergy(hp_60, length, kOffsetVector[1], &total_energy, &features[1]); in WebRtcVad_CalculateFeatures()
[all …]
/external/libxaac/decoder/
Dixheaacd_mps_temp_reshape.c62 FLOAT32 total_energy = 0, avg_energy = 0; in ixheaacd_mps_est_normalized_envelope() local
107 total_energy = 0; in ixheaacd_mps_est_normalized_envelope()
112 total_energy += slot_energy[ii][param_band]; in ixheaacd_mps_est_normalized_envelope()
114 total_energy /= (k_stop - k_start + 1); in ixheaacd_mps_est_normalized_envelope()
116 total_energy = in ixheaacd_mps_est_normalized_envelope()
117 (1 - GES_ALPHA) * total_energy + in ixheaacd_mps_est_normalized_envelope()
120 self->guided_env_shaping.frame_energy_prev[ch + ch_offset] = total_energy; in ixheaacd_mps_est_normalized_envelope()
124 total_energy / (pb_energy[param_band] + ABS_THR); in ixheaacd_mps_est_normalized_envelope()