Lines Matching refs:energy
109 \brief Calculates energy form real and imaginary part of
149 Calculate energy of each time slot pair, max energy
163 FIXP_DBL energy;
169 /* Scale QMF Values and Calc Energy of both timeslots */
172 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0) >> 1;
176 energy += fPow2AddDiv2(fPow2Div2(tr1), ti1) >> 1;
178 /* Write timeslot pair energy to scratch */
179 *nrgValues++ = energy;
180 max_val = fixMax(max_val, energy);
242 Calculate energy of each time slot pair, max energy
254 FIXP_DBL energy;
260 /* Scale QMF Values and Calc Energy of both timeslots */
263 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0);
264 *nrgValues++ = energy;
266 max_val = fixMax(max_val, energy);
300 mapPanorama(INT nrgVal, /*! integer value of the energy */
302 INT *quantError /*! quantization error of energy val*/
441 \brief Calculation of energy starting in lower band (li) up to upper band (ui)
453 FIXP_DBL **YBuffer, /*! sfb energy buffer */
454 INT YBufferSzShift, /*! Energy buffer index scale */
458 /* use dynamic scaling for outer energy loop;
495 \brief Energy compensation in missing harmonic mode
504 Compensating for the fact that we in the decoder map the "average energy to every QMF
505 band, and use this when we calculate the boost-factor. Since the mapped energy isn't
506 the average energy but the maximum energy in case of missing harmonic creation, we will
509 lowering the transmitted energy values for the sines so they will get the correct level
531 \brief Energy compensation in none missing harmonic mode
567 calculateSbrEnvelope (FIXP_DBL **RESTRICT YBufferLeft, /*! energy buffer left */
568 FIXP_DBL **RESTRICT YBufferRight, /*! energy buffer right */
569 int *RESTRICT YBufferScaleLeft, /*! scale energy buffer left */
570 int *RESTRICT YBufferScaleRight, /*! scale energy buffer right */
572 SCHAR *RESTRICT sfb_nrgLeft, /*! sfb energy buffer left */
573 SCHAR *RESTRICT sfb_nrgRight, /*! sfb energy buffer right */
578 int YBufferSzShift) /*! Energy buffer index scale */
714 /* Energy lowering compensation */
736 /* Energy lowering compensation */
779 /* None missing harmonic Energy lowering compensation */
781 /* in case of missing energy in base band,
782 reduce reference energy to prevent overflows in decoder output */
846 /* Do energy compensation for sines that are present in two
1174 /* Low energy in low band fix */
1801 /* Use half the Energy values if time step is 2 or greater */