Home
last modified time | relevance | path

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

/system/media/audio_utils/
Dmono_blend.cpp32 int accum = 0; in mono_blend() local
34 accum += *in++; in mono_blend()
36 accum /= channelCount; // round to 0 in mono_blend()
38 *out++ = accum; in mono_blend()
47 float accum = 0; in mono_blend() local
49 accum += *in++; in mono_blend()
52 accum = limiter(accum * M_SQRT1_2); in mono_blend()
54 accum *= recipdiv; in mono_blend()
57 *out++ = accum; in mono_blend()
Dpower.cpp124 float accum(0.f); in energyMonoRef() local
127 accum += amplitude * amplitude; in energyMonoRef()
129 return accum; in energyMonoRef()
185 float32x4_t accum = vdupq_n_f32(0); in energyMonoVector() local
191 accum = vmlaq_f32(accum, famplitude, famplitude); in energyMonoVector()
195 float32x2_t accum2 = vadd_f32(vget_low_f32(accum), vget_high_f32(accum)); // get stereo volume in energyMonoVector()