Home
last modified time | relevance | path

Searched refs:FIXP_SGL (Results 1 – 25 of 50) sorted by relevance

12

/external/aac/libSBRdec/src/
Dsbr_rom.h122 extern const FIXP_SGL FDK_sbrDecoder_sbr_limGains_m[4];
124 extern const FIXP_SGL FDK_sbrDecoder_sbr_limiterBandsPerOctaveDiv4[4];
125 extern const FIXP_SGL FDK_sbrDecoder_sbr_smoothFilter[4];
126 extern const FIXP_SGL FDK_sbrDecoder_sbr_randomPhase[SBR_NF_NO_RANDOM_VAL][2];
127 extern const FIXP_SGL harmonicPhaseX [2][4];
185 extern const FIXP_SGL aAllpassLinkDecaySer[NO_SERIAL_ALLPASS_LINKS];
186 extern const FIXP_SGL aaFractDelayPhaseFactorReQmf[NO_QMF_CHANNELS];
187 extern const FIXP_SGL aaFractDelayPhaseFactorImQmf[NO_QMF_CHANNELS];
188 extern const FIXP_SGL aaFractDelayPhaseFactorReSubQmf20[NO_SUB_QMF_CHANNELS];
189 extern const FIXP_SGL aaFractDelayPhaseFactorImSubQmf20[NO_SUB_QMF_CHANNELS];
[all …]
Denv_dec.cpp176 static void mapLowResEnergyVal(FIXP_SGL currVal, /*!< current energy value */ in mapLowResEnergyVal()
177 FIXP_SGL* prevData,/*!< pointer to previous data vector */ in mapLowResEnergyVal()
234 FIXP_SGL tempSfbNrgPrev[MAX_FREQ_COEFFS]; in decodeSbrData()
238 FDKmemcpy (tempSfbNrgPrev, h_prev_data_left->sfb_nrg_prev, MAX_FREQ_COEFFS * sizeof(FIXP_SGL)); in decodeSbrData()
259 … FDKmemcpy (h_prev_data_left->sfb_nrg_prev, tempSfbNrgPrev, MAX_FREQ_COEFFS * sizeof(FIXP_SGL)); in decodeSbrData()
282 FIXP_SGL tempL_m, tempR_m, tempRplus1_m, newL_m, newR_m; in sbr_envelope_unmapping()
289 tempR_m = (FIXP_SGL)((LONG)h_data_right->iEnvelope[i] & MASK_M); in sbr_envelope_unmapping()
293 tempL_m = (FIXP_SGL)((LONG)h_data_left->iEnvelope[i] & MASK_M); in sbr_envelope_unmapping()
307 if (newR_m >= ((FIXP_SGL)MAXVAL_SGL - ROUNDING)) { in sbr_envelope_unmapping()
315 h_data_right->iEnvelope[i] = ((FIXP_SGL)((SHORT)(FIXP_SGL)(newR_m + ROUNDING) & MASK_M)) + in sbr_envelope_unmapping()
[all …]
Dtranscendent.h105 static inline FIXP_SGL FDK_getNumOctavesDiv8(INT a, /*!< lower band */ in FDK_getNumOctavesDiv8()
120 inline void FDK_add_MantExp(FIXP_SGL a_m, /*!< Mantissa of 1st operand a */ in FDK_add_MantExp()
122 FIXP_SGL b_m, /*!< Mantissa of 2nd operand b */ in FDK_add_MantExp()
124 FIXP_SGL *ptrSum_m, /*!< Mantissa of result */ in FDK_add_MantExp()
207 static inline void FDK_divide_MantExp(FIXP_SGL a_m, /*!< Mantissa of dividend a */ in FDK_divide_MantExp()
209 FIXP_SGL b_m, /*!< Mantissa of divisor b */ in FDK_divide_MantExp()
211 FIXP_SGL *ptrResult_m, /*!< Mantissa of quotient a/b */ in FDK_divide_MantExp()
217 FIXP_SGL bInv_m = FL2FXCONST_SGL(0.0f); in FDK_divide_MantExp()
273 FIXP_SGL bInv_m = FL2FXCONST_SGL(0.0f); in FDK_divide_MantExp()
Denv_extr.h121 #define ROUNDING ( (FIXP_SGL)(1<<(EXP_BITS-1)) ) /*!< 0.5-offset for rounding the mantissa of a pse…
246FIXP_SGL sfb_nrg_prev[MAX_FREQ_COEFFS]; /*!< Previous envelope (required for differential-coded…
247FIXP_SGL prevNoiseLevel[MAX_NOISE_COEFFS]; /*!< Previous noise envelope (required for differential…
273 FIXP_SGL iEnvelope[MAX_NUM_ENVELOPE_VALUES]; /*!< Envelope data */
274 FIXP_SGL sbrNoiseFloorLevel[MAX_NUM_NOISE_VALUES]; /*!< Noise envelope data */
Dsbrdec_freq_sca.cpp101 static int numberOfBands(FIXP_SGL bpo_div16, int start, int stop, int warpFlag);
254 FIXP_SGL bpo_div16; /* bands_per_octave divided by 16 */ in sbrdecUpdateFreqScale()
423 static FIXP_SGL calcFactorPerBand(int k_start, int k_stop, int num_bands) in calcFactorPerBand()
484 numberOfBands(FIXP_SGL bpo_div16, /*!< Input: number of bands per octave divided by 16 */ in numberOfBands()
489 FIXP_SGL num_bands_div128; in numberOfBands()
527 FIXP_SGL exact, temp; in CalcBands()
528 FIXP_SGL bandfactor = calcFactorPerBand(start, stop, num_bands); in CalcBands()
531 exact = (FIXP_SGL)(stop << (FRACT_BITS-8)); /* Shift left to gain some accuracy */ in CalcBands()
/external/aac/libFDK/include/
Dcommon_fix.h115 #define FIXP_PCM FIXP_SGL
116 #define FX_PCM2FX_DBL(x) FX_SGL2FX_DBL((FIXP_SGL)(x))
142 …(FIXP_SGL)(SHORT)(((LONG)1<<(FRACT_BITS-1))-1):(FIXP_SGL)(SHORT)((((val) >> (DFRACT_BITS-FRACT_BIT…
148 typedef SHORT FIXP_SGL; typedef
158 (FIXP_SGL)( ( (val) >= 0) ? …
173 #define FX_ACC2FX_SGL(val) ((FIXP_SGL)((val)>>(ACCU_BITS-FRACT_BITS)))
177 #define FX_DBL2FX_SGL(val) ((FIXP_SGL)((val)>>(DFRACT_BITS-FRACT_BITS)))
225 FDK_INLINE FIXP_SGL fAbs(FIXP_SGL x) in fAbs()
240 FDK_INLINE INT fNormz(FIXP_SGL x) in fNormz()
244 FDK_INLINE INT fNorm(FIXP_SGL x) in fNorm()
[all …]
Dfixmadd.h120 inline FIXP_DBL fixmadddiv2_SD (FIXP_DBL x, const FIXP_SGL a, const FIXP_DBL b) { in fixmadddiv2_SD()
130 inline FIXP_DBL fixmadddiv2_DS (FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmadddiv2_DS()
140 inline FIXP_DBL fixmadddiv2_SS (FIXP_DBL x, const FIXP_SGL a, const FIXP_SGL b) in fixmadddiv2_SS()
150 inline FIXP_DBL fixmsubdiv2_SD (FIXP_DBL x, const FIXP_SGL a, const FIXP_DBL b) { in fixmsubdiv2_SD()
160 inline FIXP_DBL fixmsubdiv2_DS (FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmsubdiv2_DS()
170 inline FIXP_DBL fixmsubdiv2_SS (FIXP_DBL x, const FIXP_SGL a, const FIXP_SGL b) in fixmsubdiv2_SS()
183 inline FIXP_DBL fixmadddiv2BitExact_SD (FIXP_DBL x, const FIXP_SGL a, const FIXP_DBL b) { in fixmadddiv2BitExact_SD()
193 inline FIXP_DBL fixmadddiv2BitExact_DS (FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmadddiv2BitExact_DS()
210 inline FIXP_DBL fixmsubdiv2BitExact_SD (FIXP_DBL x, const FIXP_SGL a, const FIXP_DBL b) { in fixmsubdiv2BitExact_SD()
220 inline FIXP_DBL fixmsubdiv2BitExact_DS (FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmsubdiv2BitExact_DS()
[all …]
Dcplx_mul.h115 const FIXP_SGL b_Re, in cplxMultDiv2()
116 const FIXP_SGL b_Im) in cplxMultDiv2()
143 const FIXP_SGL b_Re, in cplxMultAddDiv2()
144 const FIXP_SGL b_Im) in cplxMultAddDiv2()
158 const FIXP_SGL b_Re, in cplxMultSubDiv2()
159 const FIXP_SGL b_Im) in cplxMultSubDiv2()
218 const FIXP_SGL b_Re, in cplxMult()
219 const FIXP_SGL b_Im) in cplxMult()
Dclz.h159 inline INT fixnorm_S(FIXP_SGL val) in fixnorm_S()
164 inline INT fixnorm_S(FIXP_SGL val) in fixnorm_S()
167 if ( val != (FIXP_SGL)0 ) { in fixnorm_S()
168 if ( val < (FIXP_SGL)0 ) { in fixnorm_S()
Dabs.h118 inline FIXP_SGL fixabs_S(FIXP_SGL x) { return ((x) > (FIXP_SGL)(0)) ? (x) : -(x) ; } in fixabs_S()
Dfixpoint_math.h253 const FIXP_SGL op2);
410 inline FIXP_SGL fAddSaturate(const FIXP_SGL a, const FIXP_SGL b) in fAddSaturate()
416 return (FIXP_SGL)(SHORT)sum; in fAddSaturate()
Dscramble.h115 inline void scramble_sgl(FIXP_SGL *x, INT n) in scramble_sgl()
125 FIXP_SGL tmp; in scramble_sgl()
/external/aac/libAACenc/src/
Dtonality.cpp99 FIXP_SGL *RESTRICT sfbTonality,
108 FIXP_SGL *RESTRICT sfbTonality, in FDKaacEnc_CalculateFullTonality()
115 FIXP_SGL alpha_0 = FL2FXCONST_SGL(0.25f); /* used in smooth ChaosMeasure */ in FDKaacEnc_CalculateFullTonality()
116 FIXP_SGL alpha_1 = FL2FXCONST_SGL(1.0f-0.25f); /* used in smooth ChaosMeasure */ in FDKaacEnc_CalculateFullTonality()
164 FIXP_SGL *RESTRICT sfbTonality, in FDKaacEnc_CalcSfbTonality()
199 sfbTonality[i] = (FIXP_SGL)MAXVAL_SGL; in FDKaacEnc_CalcSfbTonality()
202 sfbTonality[i] = (FIXP_SGL)MAXVAL_SGL; in FDKaacEnc_CalcSfbTonality()
Dnoisedet.cpp108 static FIXP_SGL FDKaacEnc_fuzzyIsSmaller( FIXP_DBL testVal, in FDKaacEnc_fuzzyIsSmaller()
117 else return( (FIXP_SGL)MAXVAL_SGL ); in FDKaacEnc_fuzzyIsSmaller()
147 FIXP_SGL *RESTRICT noiseFuzzyMeasure, in FDKaacEnc_noiseDetect()
149 FIXP_SGL *RESTRICT sfbtonality ) in FDKaacEnc_noiseDetect()
153 FIXP_SGL fuzzy, fuzzyTotal; in FDKaacEnc_noiseDetect()
160 fuzzyTotal = (FIXP_SGL)MAXVAL_SGL; in FDKaacEnc_noiseDetect()
Dpnsparam.cpp97 FIXP_SGL refPower;
98 FIXP_SGL refTonality;
101 FIXP_SGL gapFillThr;
291 np->gapFillThr = (FIXP_SGL)pnsInfo->gapFillThr; in FDKaacEnc_GetPnsParam()
303 np->powDistPSDcurve[i] = (FIXP_SGL)((LONG)(scaleValue(tmp, qtmp) >> 16)); in FDKaacEnc_GetPnsParam()
Dnoisedet.h104 FIXP_SGL noiseFuzzyMeasure[],
106 FIXP_SGL *sfbtonality );
Dpnsparam.h124 FIXP_SGL powDistPSDcurve[MAX_GROUPED_SFB];
125 FIXP_SGL gapFillThr;
/external/aac/libFDK/include/mips/
Dabs_mips.h100 inline FIXP_SGL fixabs_S(FIXP_SGL x) { return ((x) > (FIXP_SGL)(0)) ? (x) : -(x) ; } in fixabs_S()
/external/aac/libSBRdec/src/arm/
Dlpp_tran_arm.cpp109 FIXP_SGL a0r, in lppTransposer_func1()
110 FIXP_SGL a0i, in lppTransposer_func1()
111 FIXP_SGL a1r, in lppTransposer_func1()
112 FIXP_SGL a1i) in lppTransposer_func1()
/external/aac/libFDK/include/arm/
Dcplx_mul.h132 const FIXP_SGL b_Re, in cplxMultDiv2()
133 const FIXP_SGL b_Im) in cplxMultDiv2()
156 const FIXP_SGL b_Re, in cplxMultAddDiv2()
157 const FIXP_SGL b_Im) in cplxMultAddDiv2()
Dfixmadd_arm.h130 inline FIXP_DBL fixmadddiv2_DS (FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmadddiv2_DS()
152 inline FIXP_DBL fixmsubdiv2BitExact_DS (FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmsubdiv2BitExact_DS()
/external/aac/libSBRenc/src/
Dresampler.cpp108 …const FIXP_SGL *coeffa; /*! SOS matrix One row/section. Scaled using BQC(). Order of coefficien…
124 static const FIXP_SGL sos48[] = {
163 static const FIXP_SGL sos45[] = {
200 static const FIXP_SGL sos41[] =
232 static const FIXP_SGL sos35[] =
262 static const FIXP_SGL sos25[] =
375 const FIXP_SGL *coeff = downFilter->coeffa; in AdvanceFilter()
Dresampler.h101 typedef FIXP_SGL FIXP_BQS;
109 const FIXP_SGL *coeffa; /*! pointer to filter coeffs */
/external/aac/libAACdec/src/
Dconceal_types.h135 FIXP_SGL fadeOutFactor[CONCEAL_MAX_NUM_FADE_FACTORS];
136 FIXP_SGL fadeInFactor [CONCEAL_MAX_NUM_FADE_FACTORS];
/external/aac/libFDK/src/
Dscale.cpp120 void scaleValues(FIXP_SGL *vector, /*!< Vector */ in scaleValues()
447 INT getScalefactor(const FIXP_SGL *vector, /*!< Pointer to input vector */ in getScalefactor()
451 SHORT temp, maxVal = (FIXP_SGL)0; in getScalefactor()
458 return fixmax_I((INT)0,(INT)(fixnormz_D(FX_SGL2FX_DBL((FIXP_SGL)maxVal)) - 1)); in getScalefactor()

12