/external/aac/libAACdec/src/ |
ldfiltbank.cpp | 102 static void multE2_DinvF_fdk(INT_PCM *output, FIXP_DBL* x, const FIXP_WTB* fb, FIXP_DBL* z, const int N, const int stride) 106 /* scale for FIXP_DBL -> INT_PCM conversion. */ 111 FIXP_DBL z0, z2, tmp; 134 FIXP_DBL z0, z2, tmp0, tmp1; 160 FIXP_DBL tmp0 = fMultDiv2(z[i], fb[N/2+i]); 172 int InvMdctTransformLowDelay_fdk (FIXP_DBL *mdctData, const int mdctData_e, INT_PCM *output, FIXP_DBL *fs_buffer, const int stride, const int N) { 175 FIXP_DBL gain = (FIXP_DBL)0 [all...] |
aacdec_drc_types.h | 135 FIXP_DBL cut; 136 FIXP_DBL boost;
|
pulsedata.h | 142 FIXP_DBL *coef);
|
block.h | 212 FIXP_DBL *pWorkBuffer1); 233 int EvaluatePower43 ( FIXP_DBL *pValue, 236 FIXP_DBL value; 247 FIXP_DBL invQVal ; 255 invQVal = (FIXP_DBL)temp; 267 FDK_INLINE int GetScaleFromValue (FIXP_DBL value, unsigned int lsb) 269 if (value!=(FIXP_DBL)0)
|
block.cpp | 233 FIXP_DBL *pSpectrum = SPEC(pSpectralCoefficient, window, pAacDecoderChannelInfo->granuleLength); 385 void InverseQuantizeBand( FIXP_DBL * RESTRICT spectrum, 390 const FIXP_DBL * RESTRICT InverseQuantTabler=(FIXP_DBL *)InverseQuantTable; 391 const FIXP_DBL * RESTRICT MantissaTabler=(FIXP_DBL *)MantissaTable[lsb]; 394 FIXP_DBL *ptr = spectrum; 395 FIXP_DBL signedValue; 402 FIXP_DBL value = fAbs(signedValue); 415 value = fMultDiv2((FIXP_DBL)temp, MantissaTabler[exponent]) [all...] |
/external/aac/libFDK/include/ |
fft.h | 105 void fft(int length, FIXP_DBL *pInput, INT *scalefactor); 116 void ifft(int length, FIXP_DBL *pInput, INT *scalefactor); 124 static void FORCEINLINE fft_4(FIXP_DBL *x) 126 FIXP_DBL a00, a10, a20, a30, tmp0, tmp1; 152 static void FORCEINLINE fft_8(FIXP_DBL *x) 156 FIXP_DBL a00, a10, a20, a30; 157 FIXP_DBL y[16]; 199 FIXP_DBL vr, vi, ur, ui; 245 inline void fft_16(FIXP_DBL *x); 250 inline void fft_32(FIXP_DBL *x) [all...] |
qmf.h | 108 #define FIXP_QMF FIXP_DBL 123 #define FIXP_QSS FIXP_DBL 156 FIXP_DBL in synthesis filter */ 168 FIXP_DBL outGain; /*!< Gain output data (syn only) (init with 0x80000000 to ignore) */ 241 FIXP_DBL outputGain /*!< New gain for output data */
|
clz.h | 176 inline INT fixnorm_D(FIXP_DBL val) 179 if ( val != (FIXP_DBL)0 ) { 180 if ( val < (FIXP_DBL)0 ) {
|
/external/aac/libSBRenc/src/ |
ps_encode.cpp | 108 inline void FDKsbrEnc_addFIXP_DBL(const FIXP_DBL *X, const FIXP_DBL *Y, FIXP_DBL *Z, INT n) 151 static const FIXP_DBL iidQuant_fx[15] = { 156 static const FIXP_DBL iidQuantFine_fx[31] = { 165 static const FIXP_DBL iccQuant[8] = { 213 static FIXP_DBL quantizeCoef( const FIXP_DBL *RESTRICT input, 215 const FIXP_DBL *RESTRICT quantTable, 221 FIXP_DBL quantErr = FL2FXCONST_DBL(0.f) [all...] |
env_est.h | 102 FIXP_DBL *rBuffer[QMF_MAX_TIME_SLOTS]; 103 FIXP_DBL *iBuffer[QMF_MAX_TIME_SLOTS]; 105 FIXP_DBL *p_YBuffer; 107 FIXP_DBL *YBuffer[QMF_MAX_TIME_SLOTS]; 179 FIXP_DBL noiseFloor[MAX_NUM_NOISE_VALUES];
|
resampler.cpp | 109 FIXP_DBL g; /*! overall gain */ 143 static const FIXP_DBL g48 = FL2FXCONST_DBL(0.67436532061161992682404480717671 - 0.001); 145 static const FIXP_DBL g48 = FL2FXCONST_DBL(0.002712866530047) - (FIXP_DBL)0x8000; 179 static const FIXP_DBL g45 = FL2FXCONST_DBL(0.60547428891341319051142629706723 - 0.001); 181 static const FIXP_DBL g45 = FL2FXCONST_DBL(0.00242743980909524) - (FIXP_DBL)0x8000; 213 static const FIXP_DBL g41 = FL2FXCONST_DBL(0.44578514476476679750811222123569); 215 static const FIXP_DBL g41 = FL2FXCONST_DBL(0.00155956951169248); 243 static const FIXP_DBL g35 = FL2FXCONST_DBL(0.34290853574973898694521267606792) [all...] |
mh_det.cpp | 148 static void diff(FIXP_DBL *RESTRICT pTonalityOrig, 149 FIXP_DBL *pDiffMapped2Scfb, 155 FIXP_DBL maxValOrig, maxValSbr, tmp; 202 static void calculateFlatnessMeasure(FIXP_DBL *pQuotaBuffer, 204 FIXP_DBL *pSfmOrigVec, 205 FIXP_DBL *pSfmSbrVec, 210 FIXP_DBL invBands,tmp1,tmp2; 213 FIXP_DBL accu; 219 pSfmOrigVec[i] = (FIXP_DBL)(MAXVAL_DBL>>2); 220 pSfmSbrVec[i] = (FIXP_DBL)(MAXVAL_DBL>>2) [all...] |
ps_encode.h | 154 FIXP_DBL iidQuantErrorThreshold; 170 const FIXP_DBL iidQuantErrorThreshold 182 FIXP_DBL *hybridData[HYBRID_FRAMESIZE][MAX_PS_CHANNELS][2],
|
env_est.cpp | 117 FDKsbrEnc_getEnergyFromCplxQmfData(FIXP_DBL **RESTRICT energyValues,/*!< the result of the operation */ 118 FIXP_DBL **RESTRICT realValues, /*!< the real part of the QMF subsamples */ 119 FIXP_DBL **RESTRICT imagValues, /*!< the imaginary part of the QMF subsamples */ 127 FIXP_DBL max_val = FL2FXCONST_DBL(0.0f); 130 C_ALLOC_SCRATCH_START(tmpNrg, FIXP_DBL, QMF_CHANNELS*QMF_MAX_TIME_SLOTS/2); 156 FIXP_DBL *nrgValues = tmpNrg; 160 FIXP_DBL *RESTRICT r0 = realValues[k]; 161 FIXP_DBL *RESTRICT i0 = imagValues[k]; 162 FIXP_DBL *RESTRICT r1 = realValues[k+1]; 163 FIXP_DBL *RESTRICT i1 = imagValues[k+1] [all...] |
/external/aac/libFDK/src/ |
FDK_hybrid.cpp | 123 #define FIXP_HTB FIXP_DBL /* SGL data type. */ 125 #define HTC(a) ((FIXP_DBL)(LONG)(a)) /* Cast to DBL */ 172 const FIXP_DBL *const pQmfReal, 173 const FIXP_DBL *const pQmfImag, 175 FIXP_DBL *const mHybridReal, 176 FIXP_DBL *const mHybridImag, 185 FIXP_DBL *const pLFmemory, 187 FIXP_DBL *const pHFmemory, 213 FIXP_DBL *pMem = NULL; 232 if ( ((2*setup->nrQmfBands*setup->protoLen*sizeof(FIXP_DBL)) > hAnalysisHybFilter->LFmemorySize [all...] |