/external/aac/libAACenc/src/ |
H A D | tonality.cpp | 96 static void FDKaacEnc_CalcSfbTonality(FIXP_DBL *RESTRICT spectrum, 105 void FDKaacEnc_CalculateFullTonality(FIXP_DBL *RESTRICT spectrum, argument 128 FDKaacEnc_CalculateChaosMeasure(spectrum, 138 FDKaacEnc_CalcSfbTonality(spectrum, 161 static void FDKaacEnc_CalcSfbTonality(FIXP_DBL *RESTRICT spectrum, argument 179 FIXP_DBL tmp = (*spectrum++)<<shiftBits;
|
H A D | aacenc_tns.cpp | 464 Scales up spectrum lines in a given frequency section 466 \param scaled spectrum 467 \param original spectrum 485 /* Get highest value in given spectrum */ 491 /* Scale spectrum according to highest value */ 505 \param pointer to spectrum 513 const FIXP_DBL *spectrum, 525 result += (fPow2(spectrum[i])>>scale); 530 result += (fMult(spectrum[i], spectrum[ 512 FDKaacEnc_CalcAutoCorrValue( const FIXP_DBL *spectrum, const INT startLine, const INT stopLine, const INT lag, const INT scale ) argument 585 FDKaacEnc_MergedAutoCorrelation( const FIXP_DBL *spectrum, const INT isLowDelay, const FIXP_DBL acfWindow[MAX_NUM_OF_FILTERS][TNS_MAX_ORDER+3+1], const INT lpcStartLine[MAX_NUM_OF_FILTERS], const INT lpcStopLine, const INT maxOrder, const INT acfSplit[MAX_NUM_OF_FILTERS], FIXP_DBL *_rxx1, FIXP_DBL *_rxx2 ) argument 726 FDKaacEnc_TnsDetect( TNS_DATA *tnsData, const TNS_CONFIG *tC, TNS_INFO* tnsInfo, INT sfbCnt, FIXP_DBL *spectrum, INT subBlockNumber, INT blockType ) argument 993 FDKaacEnc_TnsEncode( TNS_INFO* tnsInfo, TNS_DATA* tnsData, const INT numOfSfb, const TNS_CONFIG *tC, const INT lowPassLine, FIXP_DBL* spectrum, const INT subBlockNumber, const INT blockType ) argument [all...] |
/external/aac/libAACdec/src/ |
H A D | aacdec_pns.cpp | 348 FIXP_DBL *spectrum = SPEC(pSpectrum, window, granuleLength); local 361 noise_e = GenerateRandomVector (spectrum + BandOffsets [band], bandWidth, 368 noise_e = GenerateRandomVector (spectrum + BandOffsets [band], bandWidth, 374 ScaleBand (spectrum + BandOffsets [band], bandWidth,
|
H A D | block.cpp | 377 * formula: spectrum[i] = Sign(spectrum[i]) * Matissa(spectrum[i])^(4/3) * 2^(lsb/4). 378 * \param spectrum pointer to first line of the sfb to be inverse quantized. 384 void InverseQuantizeBand( FIXP_DBL * RESTRICT spectrum, argument 393 FIXP_DBL *ptr = spectrum;
|
H A D | conceal.cpp | 185 FIXP_DBL *spectrum, 194 FIXP_DBL *spectrum, 933 pConcealmentInfo->windowSequence = pIcsInfo->WindowSequence; /* Store for next frame (spectrum in concealment buffer can't be used at all) */ 1171 /* Expand first short spectrum */ 1211 /* scale spectrum according to concealment state */ 1262 pConcealmentInfo->windowSequence = pIcsInfo->WindowSequence; /* Store for next frame (spectrum in concealment buffer can't be used at all) */ 1312 FIXP_DBL *spectrum, 1341 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale; 1356 enAccu += (enAccu + (fPow2Div2(*(spectrum + line)) >> sfbScale)) >> 3; 1375 enAccu += fPow2Div2(*(spectrum 1311 CConcealment_CalcBandEnergy( FIXP_DBL *spectrum, const SamplingRateInfo *pSamplingRateInfo, const int blockType, CConcealmentExpandType expandType, int *sfbEnergy ) argument 1409 CConcealment_InterpolateBuffer( FIXP_DBL *spectrum, SHORT *pSpecScalePrv, SHORT *pSpecScaleAct, SHORT *pSpecScaleOut, int *enPrv, int *enAct, int sfbCnt, const SHORT *pSfbOffset ) argument [all...] |
/external/aac/libFDK/src/ |
H A D | mdct.cpp | 251 FIXP_DBL *spectrum, 302 /* Current spectrum */ 303 pSpec = spectrum+w*tl; 305 /* DCT IV of current spectrum. */ 308 /* Optional scaling of time domain - no yet windowed - of current spectrum */ 309 /* and de-scale current spectrum signal (time domain, no yet windowed) */ 380 pOvl[i] = spectrum[i+(nSpec-1)*tl]; 248 imdct_block( H_MDCT hMdct, FIXP_DBL *output, FIXP_DBL *spectrum, const SHORT scalefactor[], const INT nSpec, const INT noOutSamples, const INT tl, const FIXP_WTP *wls, INT fl, const FIXP_WTP *wrs, const INT fr, FIXP_DBL gain ) argument
|
/external/skia/gm/ |
H A D | all_bitmap_configs.cpp | 41 uint8_t spectrum[256]; local 43 spectrum[y] = y; 47 memcpy(bm.getAddr8(0, y), &spectrum[y], 128);
|
/external/webrtc/webrtc/modules/audio_processing/utility/ |
H A D | delay_estimator_wrapper.c | 50 // Computes the binary spectrum by comparing the input |spectrum| with a 54 // - spectrum : Spectrum of which the binary spectrum should be 56 // - threshold_spectrum : Threshold spectrum with which the input 57 // spectrum is compared. 59 // - out : Binary spectrum. 61 static uint32_t BinarySpectrumFix(const uint16_t* spectrum, argument 71 // Set the |threshold_spectrum| to half the input |spectrum| as starting 74 if (spectrum[ 96 BinarySpectrumFloat(const float* spectrum, SpectrumType* threshold_spectrum, int* threshold_initialized) argument [all...] |