Home | History | Annotate | Download | only in ilbc

Lines Matching refs:energy

25     int16_t scale,   /* (i) The scaling of all energy values */
26 int16_t base_size, /* (i) Index to where the energy values should be stored */
27 int16_t *energyW16, /* (o) Energy in the CB vectors */
28 int16_t *energyShifts /* (o) Shift value of the energy */
30 int32_t energy, tmp32;
40 /* Compute the energy for the first (low-5) noninterpolated samples */
46 /* Update the energy recursively to save complexity */
50 energy = nrjRecursive;
53 energy += WebRtcSpl_DotProductWithScale(interpSamplesPtr, interpSamplesPtr, 4, scale);
56 /* Compute energy for the remaining samples */
58 energy += WebRtcSpl_DotProductWithScale(pp, pp, SUBL-lagcount, scale);
60 /* Normalize the energy and store the number of shifts */
61 (*enShPtr) = (int16_t)WebRtcSpl_NormW32(energy);
62 tmp32 = WEBRTC_SPL_LSHIFT_W32(energy, (*enShPtr));