Home | History | Annotate | Download | only in src

Lines Matching defs:energy

112   \brief      Calculates complete energy per band from the energy values
118 \brief Energies - energy matrix
123 \return mean tonality of the 5 bands with the highest energy
140 FIXP_DBL energyMaxMin = MAXVAL_DBL; /* min. energy in energyMax array */
141 UCHAR posEnergyMaxMin = 0; /* min. energy in energyMax array position */
145 INT maxNEnergyValues; /* max. number of max. energy values */
217 \brief Calculates energy form real and imaginary part of
257 Calculate energy of each time slot pair, max energy
271 FIXP_DBL energy;
277 /* Scale QMF Values and Calc Energy of both timeslots */
280 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0) >> 1;
284 energy += fPow2AddDiv2(fPow2Div2(tr1), ti1) >> 1;
286 /* Write timeslot pair energy to scratch */
287 *nrgValues++ = energy;
288 max_val = fixMax(max_val, energy);
350 Calculate energy of each time slot pair, max energy
362 FIXP_DBL energy;
368 /* Scale QMF Values and Calc Energy of both timeslots */
371 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0);
372 *nrgValues++ = energy;
374 max_val = fixMax(max_val, energy);
408 mapPanorama(INT nrgVal, /*! integer value of the energy */
410 INT *quantError /*! quantization error of energy val*/
549 \brief Calculation of energy starting in lower band (li) up to upper band (ui)
561 FIXP_DBL **YBuffer, /*! sfb energy buffer */
562 INT YBufferSzShift, /*! Energy buffer index scale */
566 /* use dynamic scaling for outer energy loop;
603 \brief Energy compensation in missing harmonic mode
612 Compensating for the fact that we in the decoder map the "average energy to every QMF
613 band, and use this when we calculate the boost-factor. Since the mapped energy isn't
614 the average energy but the maximum energy in case of missing harmonic creation, we will
617 lowering the transmitted energy values for the sines so they will get the correct level
639 \brief Energy compensation in none missing harmonic mode
675 calculateSbrEnvelope (FIXP_DBL **RESTRICT YBufferLeft, /*! energy buffer left */
676 FIXP_DBL **RESTRICT YBufferRight, /*! energy buffer right */
677 int *RESTRICT YBufferScaleLeft, /*! scale energy buffer left */
678 int *RESTRICT YBufferScaleRight, /*! scale energy buffer right */
680 SCHAR *RESTRICT sfb_nrgLeft, /*! sfb energy buffer left */
681 SCHAR *RESTRICT sfb_nrgRight, /*! sfb energy buffer right */
686 int YBufferSzShift) /*! Energy buffer index scale */
822 /* Energy lowering compensation */
844 /* Energy lowering compensation */
887 /* None missing harmonic Energy lowering compensation */
889 /* in case of missing energy in base band,
890 reduce reference energy to prevent overflows in decoder output */
954 /* Do energy compensation for sines that are present in two
1330 /* Low energy in low band fix */
1962 /* Use half the Energy values if time step is 2 or greater */