/external/aac/libFDK/src/ |
D | fixpoint_math.cpp | 117 void LdDataVector(FIXP_DBL *srcVector, FIXP_DBL *destVector, INT n) { in LdDataVector() 142 static const FIXP_DBL pow2Coeff[MAX_POW2_PRECISION] = { 255 static const FIXP_DBL ldIntCoeff[] = { 256 (FIXP_DBL)0x80000001, (FIXP_DBL)0x00000000, (FIXP_DBL)0x02000000, 257 (FIXP_DBL)0x032b8034, (FIXP_DBL)0x04000000, (FIXP_DBL)0x04a4d3c2, 258 (FIXP_DBL)0x052b8034, (FIXP_DBL)0x059d5da0, (FIXP_DBL)0x06000000, 259 (FIXP_DBL)0x06570069, (FIXP_DBL)0x06a4d3c2, (FIXP_DBL)0x06eb3a9f, 260 (FIXP_DBL)0x072b8034, (FIXP_DBL)0x0766a009, (FIXP_DBL)0x079d5da0, 261 (FIXP_DBL)0x07d053f7, (FIXP_DBL)0x08000000, (FIXP_DBL)0x082cc7ee, 262 (FIXP_DBL)0x08570069, (FIXP_DBL)0x087ef05b, (FIXP_DBL)0x08a4d3c2, [all …]
|
D | FDK_trigFcts.cpp | 112 static const FIXP_DBL f_atan_expand_range[MAXSFTAB - (MINSFTAB - 1)] = { 145 FIXP_DBL fixp_atan2(FIXP_DBL y, FIXP_DBL x) { in fixp_atan2() 146 FIXP_DBL q; in fixp_atan2() 147 FIXP_DBL at; /* atan out */ in fixp_atan2() 148 FIXP_DBL at2; /* atan2 out */ in fixp_atan2() 149 FIXP_DBL ret = FL2FXCONST_DBL(-1.0f); in fixp_atan2() 238 FIXP_DBL fixp_atan(FIXP_DBL x) { in fixp_atan() 240 FIXP_DBL result, temp; in fixp_atan() 243 FIXP_DBL P281 = (FIXP_DBL)0x00013000; // 0.281 in q18 in fixp_atan() 244 FIXP_DBL ONEP571 = (FIXP_DBL)0x6487ef00; // 1.571 in q30 in fixp_atan() [all …]
|
/external/aac/libFDK/include/ |
D | fixpoint_math.h | 123 static const FIXP_DBL ldCoeff[MAX_LD_PRECISION] = { 151 extern const FIXP_DBL invSqrtTab[SQRT_VALUES]; 173 FDK_INLINE INT fIsLessThan(FIXP_DBL a_m, INT a_e, FIXP_DBL b_m, INT b_e) { in fIsLessThan() 184 if (a_m == (FIXP_DBL)0) a_e = b_e; in fIsLessThan() 185 if (b_m == (FIXP_DBL)0) b_e = a_e; in fIsLessThan() 221 void LdDataVector(FIXP_DBL *srcVector, FIXP_DBL *destVector, INT number); 228 FDK_INLINE FIXP_DBL CalcInvLdData(const FIXP_DBL x) { in CalcInvLdData() 243 lookup3 + (UINT)(LONG)fMultDiv2((FIXP_DBL)(0x0016302F), (FIXP_SGL)frac); in CalcInvLdData() 245 UINT lookup12 = (UINT)(LONG)fMult((FIXP_DBL)lookup1, (FIXP_DBL)lookup2); in CalcInvLdData() 246 UINT lookup = (UINT)(LONG)fMult((FIXP_DBL)lookup12, (FIXP_DBL)lookup3f); in CalcInvLdData() [all …]
|
D | fixmadd.h | 124 inline FIXP_DBL fixmadddiv2_DD(FIXP_DBL x, const FIXP_DBL a, const FIXP_DBL b) { in fixmadddiv2_DD() 130 inline FIXP_DBL fixmadddiv2_SD(FIXP_DBL x, const FIXP_SGL a, const FIXP_DBL b) { in fixmadddiv2_SD() 140 inline FIXP_DBL fixmadddiv2_DS(FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmadddiv2_DS() 150 inline FIXP_DBL fixmadddiv2_SS(FIXP_DBL x, const FIXP_SGL a, const FIXP_SGL b) { in fixmadddiv2_SS() 156 inline FIXP_DBL fixmsubdiv2_DD(FIXP_DBL x, const FIXP_DBL a, const FIXP_DBL b) { in fixmsubdiv2_DD() 162 inline FIXP_DBL fixmsubdiv2_SD(FIXP_DBL x, const FIXP_SGL a, const FIXP_DBL b) { in fixmsubdiv2_SD() 172 inline FIXP_DBL fixmsubdiv2_DS(FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmsubdiv2_DS() 182 inline FIXP_DBL fixmsubdiv2_SS(FIXP_DBL x, const FIXP_SGL a, const FIXP_SGL b) { in fixmsubdiv2_SS() 189 inline FIXP_DBL fixmadddiv2BitExact_DD(FIXP_DBL x, const FIXP_DBL a, in fixmadddiv2BitExact_DD() 190 const FIXP_DBL b) { in fixmadddiv2BitExact_DD() [all …]
|
D | common_fix.h | 119 #define FIXP_PCM FIXP_DBL 122 #define FX_PCM2FX_DBL(x) ((FIXP_DBL)(x)) 171 typedef LONG FIXP_DBL; typedef 192 (FIXP_DBL)( \ 216 #define FX_ACC2FX_DBL(val) ((FIXP_DBL)((val) >> (ACCU_BITS - DFRACT_BITS))) 219 ((FIXP_DBL)((LONG)(val) << (DFRACT_BITS - FRACT_BITS))) 275 FDK_INLINE FIXP_DBL fAbs(FIXP_DBL x) { return fixabs_D(x); } in fAbs() 292 FDK_INLINE INT fNormz(FIXP_DBL x) { return fixnormz_D(x); } in fNormz() 294 FDK_INLINE INT fNorm(FIXP_DBL x) { return fixnorm_D(x); } in fNorm() 314 FDK_INLINE FIXP_DBL fMultAddDiv2(FIXP_DBL x, FIXP_DBL a, FIXP_DBL b) { in fMultAddDiv2() [all …]
|
D | cplx_mul.h | 124 inline void cplxMultDiv2(FIXP_DBL *c_Re, FIXP_DBL *c_Im, const FIXP_DBL a_Re, in cplxMultDiv2() 125 const FIXP_DBL a_Im, const FIXP_SGL b_Re, in cplxMultDiv2() 135 inline void cplxMultDiv2(FIXP_DBL *c_Re, FIXP_DBL *c_Im, const FIXP_SGL a_Re, in cplxMultDiv2() 153 inline void cplxMultDiv2(FIXP_DBL *c_Re, FIXP_DBL *c_Im, const FIXP_DBL a_Re, in cplxMultDiv2() 154 const FIXP_DBL a_Im, const FIXP_SPK w) { in cplxMultDiv2() 162 inline void cplxMultDiv2(FIXP_DBL *c_Re, FIXP_DBL *c_Im, const FIXP_SGL a_Re, in cplxMultDiv2() 176 inline void cplxMultSubDiv2(FIXP_DBL *c_Re, FIXP_DBL *c_Im, const FIXP_DBL a_Re, in cplxMultSubDiv2() 177 const FIXP_DBL a_Im, const FIXP_SGL b_Re, in cplxMultSubDiv2() 187 inline void cplxMultDiv2(FIXP_DBL *c_Re, FIXP_DBL *c_Im, const FIXP_DBL a_Re, in cplxMultDiv2() 188 const FIXP_DBL a_Im, const FIXP_DBL b_Re, in cplxMultDiv2() [all …]
|
D | FDK_qmf_domain.h | 125 H_ALLOC_MEM_OVERLAY(QmfWorkBufferCore1, FIXP_DBL) 126 H_ALLOC_MEM_OVERLAY(QmfWorkBufferCore3, FIXP_DBL) 127 H_ALLOC_MEM_OVERLAY(QmfWorkBufferCore4, FIXP_DBL) 128 H_ALLOC_MEM_OVERLAY(QmfWorkBufferCore6, FIXP_DBL) 129 H_ALLOC_MEM_OVERLAY(QmfWorkBufferCore7, FIXP_DBL) 147 H_ALLOC_MEM(AnaQmfStates, FIXP_DBL) 149 H_ALLOC_MEM(QmfSlotsReal, FIXP_DBL *) 150 H_ALLOC_MEM(QmfSlotsImag, FIXP_DBL *) 151 H_ALLOC_MEM(QmfOverlapBuffer, FIXP_DBL) 153 H_ALLOC_MEM(AnaQmfStates16, FIXP_DBL) [all …]
|
D | qmf.h | 121 #define FIXP_QSS FIXP_DBL 195 FIXP_DBL outGain_m; /*!< Mantissa of gain output data (syn only) (init with 217 FIXP_DBL *pFilterStates, /*!< Pointer to filter state buffer */ 227 FIXP_DBL **qmfReal, /*!< Pointer to real subband slots */ 228 FIXP_DBL **qmfImag, /*!< Pointer to imag subband slots */ 233 FIXP_DBL *pWorkBuffer /*!< pointer to temporal working buffer */ 239 FIXP_DBL **qmfReal, /*!< Pointer to real subband slots */ 240 FIXP_DBL **qmfImag, /*!< Pointer to imag subband slots */ 245 FIXP_DBL *pWorkBuffer /*!< pointer to temporary working buffer */ 251 FIXP_DBL *qmfReal, /*!< Low and High band, real */ [all …]
|
D | scale.h | 121 void scaleValues(FIXP_DBL *vector, INT len, INT scalefactor); 122 void scaleValues(FIXP_DBL *dst, const FIXP_DBL *src, INT len, INT scalefactor); 124 void scaleValues(FIXP_PCM *dst, const FIXP_DBL *src, INT len, INT scalefactor); 127 void scaleCplxValues(FIXP_DBL *r_dst, FIXP_DBL *i_dst, const FIXP_DBL *r_src, 128 const FIXP_DBL *i_src, INT len, INT scalefactor); 129 void scaleValuesWithFactor(FIXP_DBL *vector, FIXP_DBL factor, INT len, 131 void scaleValuesSaturate(FIXP_DBL *vector, INT len, INT scalefactor); 132 void scaleValuesSaturate(FIXP_DBL *dst, const FIXP_DBL *src, INT len, 134 void scaleValuesSaturate(FIXP_SGL *dst, const FIXP_DBL *src, INT len, 141 INT getScalefactor(const FIXP_DBL *vector, INT len); [all …]
|
D | FDK_trigFcts.h | 111 #define Q(format) ((FIXP_DBL)(((LONG)1) << (format))) 134 FIXP_DBL fixp_atan(FIXP_DBL x); 135 FIXP_DBL fixp_atan2(FIXP_DBL y, FIXP_DBL x); 137 FIXP_DBL fixp_cos(FIXP_DBL x, int scale); 138 FIXP_DBL fixp_sin(FIXP_DBL x, int scale); 155 static inline FIXP_DBL fixp_sin_cos_residual_inline(FIXP_DBL x, int scale, in fixp_sin_cos_residual_inline() 156 FIXP_DBL *sine, in fixp_sin_cos_residual_inline() 157 FIXP_DBL *cosine) { in fixp_sin_cos_residual_inline() 158 FIXP_DBL residual; in fixp_sin_cos_residual_inline() 206 *sine = (FIXP_DBL)((sl * ssign) << (DFRACT_BITS - FRACT_BITS)); in fixp_sin_cos_residual_inline() [all …]
|
/external/aac/libSACdec/src/ |
D | sac_process.h | 132 FIXP_DBL **qmfReal, FIXP_DBL **qmfImag, 149 SACDEC_ERROR SpatialDecFeedQMF(spatialDec *self, FIXP_DBL **qmfInDataReal, 150 FIXP_DBL **qmfInDataImag, const INT ts, 151 const INT bypassMode, FIXP_DBL **qmfReal, 152 FIXP_DBL **qmfImag, const INT numInputChannels); 171 SACDEC_ERROR SpatialDecHybridAnalysis(spatialDec *self, FIXP_DBL **qmfInputReal, 172 FIXP_DBL **qmfInputImag, 173 FIXP_DBL **hybOutputReal, 174 FIXP_DBL **hybOutputImag, const INT ts, 191 SACDEC_ERROR SpatialDecCreateX(spatialDec *self, FIXP_DBL **hybInputReal, [all …]
|
D | sac_calcM1andM2.cpp | 114 ((FIXP_DBL)FL2FXCONST_DBL(0.70710678118f)) /* FDKsqrt(2.0) scaled by 0.5 */ 117 FIXP_DBL H11[MAX_PARAMETER_BANDS], 118 FIXP_DBL H12[MAX_PARAMETER_BANDS], 119 FIXP_DBL H21[MAX_PARAMETER_BANDS], 120 FIXP_DBL H22[MAX_PARAMETER_BANDS], 121 FIXP_DBL c_l[MAX_PARAMETER_BANDS], 122 FIXP_DBL c_r[MAX_PARAMETER_BANDS], int ottBoxIndx, 128 FIXP_DBL H11[MAX_PARAMETER_BANDS], FIXP_DBL H12[MAX_PARAMETER_BANDS], 129 FIXP_DBL H21[MAX_PARAMETER_BANDS], FIXP_DBL H22[MAX_PARAMETER_BANDS], 130 FIXP_DBL c_l[MAX_PARAMETER_BANDS], FIXP_DBL c_r[MAX_PARAMETER_BANDS]); [all …]
|
D | sac_dec.h | 266 FIXP_DBL opdLeftState__FDK[MAX_PARAMETER_BANDS]; 267 FIXP_DBL opdRightState__FDK[MAX_PARAMETER_BANDS]; 272 FIXP_DBL alpha__FDK; 273 FIXP_DBL beta__FDK; 274 FIXP_DBL partNrgPrev__FDK[2 * MAX_OUTPUT_CHANNELS + MAX_INPUT_CHANNELS] 276 FIXP_DBL normNrgPrev__FDK[2 * MAX_OUTPUT_CHANNELS + MAX_INPUT_CHANNELS]; 277 FIXP_DBL frameNrgPrev__FDK[2 * MAX_OUTPUT_CHANNELS + MAX_INPUT_CHANNELS]; 343 FIXP_DBL clipProtectGain__FDK; /* global gain for upmix */ 430 FIXP_DBL *arbdmxAlpha__FDK; 431 FIXP_DBL *arbdmxAlphaPrev__FDK; [all …]
|
D | sac_process.cpp | 129 FDK_INLINE FIXP_DBL interpolateParameter(const FIXP_SGL alpha, const FIXP_DBL a, in interpolateParameter() 130 const FIXP_DBL b) { in interpolateParameter() 151 FIXP_DBL getChGain(spatialDec *self, UINT ch, INT *scale) { in getChGain() 153 FIXP_DBL gain = 0x80000000; in getChGain() 168 FIXP_DBL **qmfReal, FIXP_DBL **qmfImag, in SpatialDecQMFAnalysis() 180 FIXP_DBL *pQmfRealAnalysis = qmfReal[ch]; /* no delay in blind mode */ in SpatialDecQMFAnalysis() 181 FIXP_DBL *pQmfImagAnalysis = qmfImag[ch]; in SpatialDecQMFAnalysis() 207 SACDEC_ERROR SpatialDecFeedQMF(spatialDec *self, FIXP_DBL **qmfInDataReal, in SpatialDecFeedQMF() 208 FIXP_DBL **qmfInDataImag, const INT ts, in SpatialDecFeedQMF() 209 const INT bypassMode, FIXP_DBL **qmfReal__FDK, in SpatialDecFeedQMF() [all …]
|
/external/aac/libFDK/include/arm/ |
D | fixmadd_arm.h | 118 inline FIXP_DBL fixmadddiv2_DD(FIXP_DBL x, const FIXP_DBL a, const FIXP_DBL b) { in fixmadddiv2_DD() 131 inline FIXP_DBL fixmsubdiv2_DD(FIXP_DBL x, const FIXP_DBL a, const FIXP_DBL b) { in fixmsubdiv2_DD() 145 inline FIXP_DBL fixmadddiv2_DD(FIXP_DBL x, const FIXP_DBL a, const FIXP_DBL b) { in fixmadddiv2_DD() 154 inline FIXP_DBL fixmsubdiv2_DD(FIXP_DBL x, const FIXP_DBL a, const FIXP_DBL b) { in fixmsubdiv2_DD() 164 inline FIXP_DBL fixmadddiv2_DD(FIXP_DBL x, const FIXP_DBL a, const FIXP_DBL b) { in fixmadddiv2_DD() 177 inline FIXP_DBL fixmadddiv2_DS(FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmadddiv2_DS() 193 inline FIXP_DBL fixmsubdiv2BitExact_DD(FIXP_DBL x, const FIXP_DBL a, in fixmsubdiv2BitExact_DD() 194 const FIXP_DBL b) { in fixmsubdiv2BitExact_DD() 206 inline FIXP_DBL fixmsubdiv2BitExact_DS(FIXP_DBL x, const FIXP_DBL a, in fixmsubdiv2BitExact_DS()
|
/external/aac/libFDK/include/x86/ |
D | fixpoint_math_x86.h | 111 static inline FIXP_DBL sqrtFixp(const FIXP_DBL op) { in sqrtFixp() 112 FIXP_DBL result; in sqrtFixp() 116 result = (FIXP_DBL)(INT)(sqrt((float)(INT)op) * 46340.9492f); in sqrtFixp() 117 FDK_ASSERT(result >= (FIXP_DBL)0); in sqrtFixp() 132 inline FIXP_DBL invSqrtNorm2(FIXP_DBL op_m, INT *result_e) { in invSqrtNorm2() 134 if (op_m == (FIXP_DBL)0) { in invSqrtNorm2() 143 return (FIXP_DBL)(INT)result; in invSqrtNorm2() 154 inline FIXP_DBL invFixp(FIXP_DBL op) { in invFixp() 157 if ((op == (FIXP_DBL)0) || (op == (FIXP_DBL)1)) { in invFixp() 164 return (FIXP_DBL)(INT)result; in invFixp() [all …]
|
/external/aac/libAACenc/src/ |
D | psy_configuration.cpp | 270 static FIXP_DBL FDKaacEnc_BarcLineValue(INT noOfLines, INT fftLine, in FDKaacEnc_BarcLineValue() 272 FIXP_DBL FOURBY3EM4 = (FIXP_DBL)0x45e7b273; /* 4.0/3 * 0.0001 in q43 */ in FDKaacEnc_BarcLineValue() 273 FIXP_DBL PZZZ76 = (FIXP_DBL)0x639d5e4a; /* 0.00076 in q41 */ in FDKaacEnc_BarcLineValue() 274 FIXP_DBL ONE3P3 = (FIXP_DBL)0x35333333; /* 13.3 in q26 */ in FDKaacEnc_BarcLineValue() 275 FIXP_DBL THREEP5 = (FIXP_DBL)0x1c000000; /* 3.5 in q27 */ in FDKaacEnc_BarcLineValue() 276 FIXP_DBL INV480 = (FIXP_DBL)0x44444444; // 1/480 in q39 in FDKaacEnc_BarcLineValue() 278 FIXP_DBL center_freq, x1, x2; in FDKaacEnc_BarcLineValue() 279 FIXP_DBL bvalFFTLine, atan1, atan2; in FDKaacEnc_BarcLineValue() 304 center_freq = (FIXP_DBL)0; in FDKaacEnc_BarcLineValue() 326 FIXP_DBL *sfbPCMquantThreshold) { in FDKaacEnc_InitMinPCMResolution() [all …]
|
D | line_pe.cpp | 109 static const FIXP_DBL C1LdData = 111 static const FIXP_DBL C2LdData = FL2FXCONST_DBL( 113 static const FIXP_DBL C3LdData = FL2FXCONST_DBL(0.5593573); /* 1-C2/C1 */ 117 const FIXP_DBL *RESTRICT const sfbEnergyLdData, in FDKaacEnc_prepareSfbPe() 118 const FIXP_DBL *RESTRICT const sfbThresholdLdData, in FDKaacEnc_prepareSfbPe() 119 const FIXP_DBL *RESTRICT const sfbFormFactorLdData, in FDKaacEnc_prepareSfbPe() 125 FIXP_DBL avgFormFactorLdData; in FDKaacEnc_prepareSfbPe() 126 const FIXP_DBL formFacScaling = in FDKaacEnc_prepareSfbPe() 131 if ((FIXP_DBL)sfbEnergyLdData[sfbGrp + sfb] > in FDKaacEnc_prepareSfbPe() 132 (FIXP_DBL)sfbThresholdLdData[sfbGrp + sfb]) { in FDKaacEnc_prepareSfbPe() [all …]
|
D | band_nrg.h | 108 void FDKaacEnc_CalcSfbMaxScaleSpec(const FIXP_DBL *mdctSpectrum, 112 FIXP_DBL 113 FDKaacEnc_CheckBandEnergyOptim(const FIXP_DBL *const RESTRICT mdctSpectrum, 117 FIXP_DBL *RESTRICT bandEnergy, 118 FIXP_DBL *RESTRICT bandEnergyLdData, 121 INT FDKaacEnc_CalcBandEnergyOptimLong(const FIXP_DBL *mdctSpectrum, 124 FIXP_DBL *bandEnergy, 125 FIXP_DBL *bandEnergyLdData); 127 void FDKaacEnc_CalcBandEnergyOptimShort(const FIXP_DBL *mdctSpectrum, 131 FIXP_DBL *bandEnergy); [all …]
|
/external/aac/libSBRenc/src/ |
D | ps_encode.cpp | 116 inline void FDKsbrEnc_addFIXP_DBL(const FIXP_DBL *X, const FIXP_DBL *Y, in FDKsbrEnc_addFIXP_DBL() 117 FIXP_DBL *Z, INT n) { in FDKsbrEnc_addFIXP_DBL() 147 static const FIXP_DBL iidQuant_fx[15] = { 148 (FIXP_DBL)0xce000000, (FIXP_DBL)0xdc000000, (FIXP_DBL)0xe4000000, 149 (FIXP_DBL)0xec000000, (FIXP_DBL)0xf2000000, (FIXP_DBL)0xf8000000, 150 (FIXP_DBL)0xfc000000, (FIXP_DBL)0x00000000, (FIXP_DBL)0x04000000, 151 (FIXP_DBL)0x08000000, (FIXP_DBL)0x0e000000, (FIXP_DBL)0x14000000, 152 (FIXP_DBL)0x1c000000, (FIXP_DBL)0x24000000, (FIXP_DBL)0x32000000}; 154 static const FIXP_DBL iidQuantFine_fx[31] = { 155 (FIXP_DBL)0x9c000001, (FIXP_DBL)0xa6000001, (FIXP_DBL)0xb0000001, [all …]
|
D | sbrenc_ram.h | 119 #define ENV_TRANSIENTS_BYTE ((sizeof(FIXP_DBL) * (MAX_NUM_CHANNELS * 3 * 32))) 121 #define ENV_R_BUFF_BYTE ((sizeof(FIXP_DBL) * ((32) * MAX_HYBRID_BANDS))) 122 #define ENV_I_BUFF_BYTE ((sizeof(FIXP_DBL) * ((32) * MAX_HYBRID_BANDS))) 124 ((2 * sizeof(FIXP_DBL) * (((32) - (32 / 2)) * MAX_HYBRID_BANDS))) 126 #define ENV_R_BUF_PS_BYTE ((sizeof(FIXP_DBL) * 32 * 64 / 2)) 127 #define ENV_I_BUF_PS_BYTE ((sizeof(FIXP_DBL) * 32 * 64 / 2)) 130 ((sizeof(FIXP_DBL) * (MAX_NO_OF_ESTIMATES * MAX_FREQ_COEFFS))) 159 H_ALLOC_MEM(Ram_SbrDynamic_RAM, FIXP_DBL) 165 H_ALLOC_MEM(Ram_Sbr_quotaMatrix, FIXP_DBL) 181 H_ALLOC_MEM(Ram_Sbr_envYBuffer, FIXP_DBL) [all …]
|
D | invf_est.h | 116 const FIXP_DBL *quantStepsSbr; 117 const FIXP_DBL *quantStepsOrig; 118 const FIXP_DBL *nrgBorders; 129 FIXP_DBL origQuotaMean[INVF_SMOOTHING_LENGTH + 1]; 130 FIXP_DBL sbrQuotaMean[INVF_SMOOTHING_LENGTH + 1]; 131 FIXP_DBL origQuotaMeanStrongest[INVF_SMOOTHING_LENGTH + 1]; 132 FIXP_DBL sbrQuotaMeanStrongest[INVF_SMOOTHING_LENGTH + 1]; 134 FIXP_DBL origQuotaMeanFilt; 135 FIXP_DBL sbrQuotaMeanFilt; 136 FIXP_DBL origQuotaMeanStrongestFilt; [all …]
|
D | tran_det.cpp | 115 #define ABS_THRES ((FIXP_DBL)16) 131 static FIXP_DBL spectralChange( in spectralChange() 132 FIXP_DBL Energies[NUMBER_TIME_SLOTS_2304][MAX_FREQ_COEFFS], in spectralChange() 133 INT *scaleEnergies, FIXP_DBL EnergyTotal, INT nSfb, INT start, INT border, in spectralChange() 140 FIXP_DBL tmp0, tmp1; in spectralChange() 141 FIXP_DBL delta, delta_sum; in spectralChange() 151 FIXP_DBL pos_weight; in spectralChange() 153 pos_weight = /*FL2FXCONST_DBL(1.0)*/ (FIXP_DBL)MAXVAL_DBL - in spectralChange() 197 FIXP_DBL accu1 = FL2FXCONST_DBL(0.f); in spectralChange() 198 FIXP_DBL accu2 = FL2FXCONST_DBL(0.f); in spectralChange() [all …]
|
D | mh_det.h | 115 FIXP_DBL thresHoldDiff; /*!< threshold for tonality difference */ 116 FIXP_DBL thresHoldDiffGuide; /*!< threshold for tonality difference for the 118 FIXP_DBL thresHoldTone; /*!< threshold for tonality for a sine */ 119 FIXP_DBL invThresHoldTone; 120 FIXP_DBL thresHoldToneGuide; /*!< threshold for tonality for a sine for the 122 FIXP_DBL sfmThresSbr; /*!< tonality flatness measure threshold for the SBR 124 FIXP_DBL sfmThresOrig; /*!< tonality flatness measure threshold for the 126 FIXP_DBL decayGuideOrig; /*!< decay value of the tonality value of the guide 128 FIXP_DBL decayGuideDiff; /*!< decay value of the tonality value of the guide 130 FIXP_DBL derivThresMaxLD64; /*!< threshold for detecting LP character in a [all …]
|
/external/aac/libAACdec/src/ |
D | usacdec_acelp.cpp | 130 void E_UTIL_preemph(const FIXP_DBL *in, FIXP_DBL *out, INT L) { in E_UTIL_preemph() 149 FIXP_DBL L_tmp; in Preemph_code() 169 FIXP_DBL L_tmp; in Pit_shrp() 195 static const FIXP_DBL pow_10_mean_energy[4] = {0x01fc5ebd, 0x07e7db92, 199 FIXP_DBL *gain_code, int mean_ener_bits, int bfi, in D_gain2_plus() 200 FIXP_SGL *past_gpit, FIXP_DBL *past_gcode, in D_gain2_plus() 201 FIXP_DBL *pEner_code, int *pEner_code_e) { in D_gain2_plus() 202 FIXP_DBL Ltmp; in D_gain2_plus() 203 FIXP_DBL gcode0, gcode_inov; in D_gain2_plus() 207 FIXP_DBL ener_code; in D_gain2_plus() [all …]
|