/external/aac/libSBRdec/src/ |
D | sbr_rom.h | 124 extern const FIXP_SGL FDK_sbrDecoder_sbr_limGains_m[4]; 126 extern const FIXP_SGL FDK_sbrDecoder_sbr_limiterBandsPerOctaveDiv4[4]; 128 extern const FIXP_SGL FDK_sbrDecoder_sbr_smoothFilter[4]; 129 extern const FIXP_SGL FDK_sbrDecoder_sbr_randomPhase[SBR_NF_NO_RANDOM_VAL][2]; 130 extern const FIXP_SGL harmonicPhaseX [2][4]; 188 extern const FIXP_SGL aAllpassLinkDecaySer[NO_SERIAL_ALLPASS_LINKS]; 189 extern const FIXP_SGL aaFractDelayPhaseFactorReQmf[NO_QMF_CHANNELS]; 190 extern const FIXP_SGL aaFractDelayPhaseFactorImQmf[NO_QMF_CHANNELS]; 191 extern const FIXP_SGL aaFractDelayPhaseFactorReSubQmf20[NO_SUB_QMF_CHANNELS]; 192 extern const FIXP_SGL aaFractDelayPhaseFactorImSubQmf20[NO_SUB_QMF_CHANNELS]; [all …]
|
D | env_dec.cpp | 176 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 …]
|
D | transcendent.h | 105 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()
|
D | env_extr.h | 121 #define ROUNDING ( (FIXP_SGL)(1<<(EXP_BITS-1)) ) /*!< 0.5-offset for rounding the mantissa of a pse… 251 …FIXP_SGL sfb_nrg_prev[MAX_FREQ_COEFFS]; /*!< Previous envelope (required for differential-coded… 252 …FIXP_SGL prevNoiseLevel[MAX_NOISE_COEFFS]; /*!< Previous noise envelope (required for differential… 278 FIXP_SGL iEnvelope[MAX_NUM_ENVELOPE_VALUES]; /*!< Envelope data */ 279 FIXP_SGL sbrNoiseFloorLevel[MAX_NUM_NOISE_VALUES]; /*!< Noise envelope data */
|
D | sbrdec_freq_sca.cpp | 101 static int numberOfBands(FIXP_SGL bpo_div16, int start, int stop, int warpFlag); 261 FIXP_SGL bpo_div16; /* bands_per_octave divided by 16 */ in sbrdecUpdateFreqScale() 430 static FIXP_SGL calcFactorPerBand(int k_start, int k_stop, int num_bands) in calcFactorPerBand() 491 numberOfBands(FIXP_SGL bpo_div16, /*!< Input: number of bands per octave divided by 16 */ in numberOfBands() 496 FIXP_SGL num_bands_div128; in numberOfBands() 534 FIXP_SGL exact, temp; in CalcBands() 535 FIXP_SGL bandfactor = calcFactorPerBand(start, stop, num_bands); in CalcBands() 538 exact = (FIXP_SGL)(stop << (FRACT_BITS-8)); /* Shift left to gain some accuracy */ in CalcBands()
|
/external/aac/libFDK/include/ |
D | common_fix.h | 115 #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 …]
|
D | fixmadd.h | 120 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 …]
|
D | cplx_mul.h | 115 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()
|
D | clz.h | 159 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()
|
D | abs.h | 118 inline FIXP_SGL fixabs_S(FIXP_SGL x) { return ((x) > (FIXP_SGL)(0)) ? (x) : -(x) ; } in fixabs_S()
|
D | fixpoint_math.h | 115 FDK_INLINE INT fIsLessThan(FIXP_SGL a_m, INT a_e, FIXP_SGL b_m, INT b_e) in fIsLessThan() 282 const FIXP_SGL op2); 439 inline FIXP_SGL fAddSaturate(const FIXP_SGL a, const FIXP_SGL b) in fAddSaturate() 445 return (FIXP_SGL)(SHORT)sum; in fAddSaturate()
|
D | scramble.h | 115 inline void scramble_sgl(FIXP_SGL *x, INT n) in scramble_sgl() 125 FIXP_SGL tmp; in scramble_sgl()
|
/external/aac/libAACenc/src/ |
D | tonality.cpp | 99 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()
|
D | noisedet.cpp | 108 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()
|
D | pnsparam.cpp | 97 FIXP_SGL refPower; 98 FIXP_SGL refTonality; 101 FIXP_SGL gapFillThr; 294 np->gapFillThr = (FIXP_SGL)pnsInfo->gapFillThr; in FDKaacEnc_GetPnsParam() 306 np->powDistPSDcurve[i] = (FIXP_SGL)((LONG)(scaleValue(tmp, qtmp) >> 16)); in FDKaacEnc_GetPnsParam()
|
D | noisedet.h | 104 FIXP_SGL noiseFuzzyMeasure[], 106 FIXP_SGL *sfbtonality );
|
D | pnsparam.h | 124 FIXP_SGL powDistPSDcurve[MAX_GROUPED_SFB]; 125 FIXP_SGL gapFillThr;
|
/external/aac/libSBRdec/src/arm/ |
D | lpp_tran_arm.cpp | 109 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/mips/ |
D | abs_mips.h | 100 inline FIXP_SGL fixabs_S(FIXP_SGL x) { return ((x) > (FIXP_SGL)(0)) ? (x) : -(x) ; } in fixabs_S()
|
/external/aac/libFDK/include/arm/ |
D | cplx_mul.h | 132 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()
|
D | fixmadd_arm.h | 130 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/ |
D | resampler.cpp | 108 …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()
|
D | resampler.h | 101 typedef FIXP_SGL FIXP_BQS; 109 const FIXP_SGL *coeffa; /*! pointer to filter coeffs */
|
/external/aac/libAACdec/src/ |
D | conceal_types.h | 135 FIXP_SGL fadeOutFactor[CONCEAL_MAX_NUM_FADE_FACTORS]; 136 FIXP_SGL fadeInFactor [CONCEAL_MAX_NUM_FADE_FACTORS];
|
/external/aac/libFDK/src/ |
D | scale.cpp | 120 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()
|