Home
last modified time | relevance | path

Searched refs:accum (Results 1 – 3 of 3) sorted by relevance

/system/media/audio_utils/
Dmono_blend.cpp35 int accum = 0; in mono_blend() local
37 accum += *in++; in mono_blend()
39 accum /= channelCount; // round to 0 in mono_blend()
41 *out++ = accum; in mono_blend()
50 float accum = 0; in mono_blend() local
52 accum += *in++; in mono_blend()
55 accum = limiter(accum * M_SQRT1_2); in mono_blend()
57 accum *= recipdiv; in mono_blend()
60 *out++ = accum; in mono_blend()
Dpower.cpp123 float accum(0.f); in energyMonoRef() local
126 accum += amplitude * amplitude; in energyMonoRef()
128 return accum; in energyMonoRef()
146 float32x4_t accum = vdupq_n_f32(0); in energyMono() local
151 accum = vmlaq_f32(accum, *famplitudes, *famplitudes); in energyMono()
156 float32x2_t accum2 = vadd_f32(vget_low_f32(accum), vget_high_f32(accum)); // get stereo volume in energyMono()
175 float32x4_t accum = vdupq_n_f32(0); in energyMono() local
185 accum = vmlaq_f32(accum, famplitude, famplitude); in energyMono()
189 float32x2_t accum2 = vadd_f32(vget_low_f32(accum), vget_high_f32(accum)); // get stereo volume in energyMono()
209 float32x4_t accum = vdupq_n_f32(0); in energyMono() local
[all …]
/system/extras/tests/sdcard/
Dplot_sdcard.py73 accum = 0.0
76 accum += d
79 new_data.append(accum / factor)
80 accum = 0