Home
last modified time | relevance | path

Searched refs:granuleLength (Results 1 – 22 of 22) sorted by relevance

/external/aac/libAACenc/src/
Dpsy_configuration.cpp211 static AAC_ENCODER_ERROR FDKaacEnc_initSfbTable(LONG sampleRate, INT blockType, INT granuleLength, … in FDKaacEnc_initSfbTable() argument
221 switch(granuleLength) { in FDKaacEnc_initSfbTable()
251 granuleLength /= TRANS_FAC; in FDKaacEnc_initSfbTable()
267 if (specStartOffset >= granuleLength) { in FDKaacEnc_initSfbTable()
273 sfbOffset[*sfbCnt] = fixMin(specStartOffset,granuleLength); in FDKaacEnc_initSfbTable()
572 INT granuleLength, in FDKaacEnc_InitPsyConfiguration() argument
580 const INT frameLengthLong = granuleLength; in FDKaacEnc_InitPsyConfiguration()
581 const INT frameLengthShort = granuleLength/TRANS_FAC; in FDKaacEnc_InitPsyConfiguration()
584 psyConf->granuleLength = granuleLength; in FDKaacEnc_InitPsyConfiguration()
590 …ErrorStatus = FDKaacEnc_initSfbTable(samplerate,blocktype,granuleLength,psyConf->sfbOffset,&psyCon… in FDKaacEnc_InitPsyConfiguration()
Dpsy_main.cpp303 INT granuleLength, in FDKaacEnc_psyMainInit() argument
333 hPsy->granuleLength = granuleLength; in FDKaacEnc_psyMainInit()
335 …ration(bitRate/channelsEff, sampleRate, bandwidth, LONG_WINDOW, hPsy->granuleLength, useIS, &(hPsy… in FDKaacEnc_psyMainInit()
344 hPsy->granuleLength, in FDKaacEnc_psyMainInit()
355 if (granuleLength > 512) { in FDKaacEnc_psyMainInit()
356 …ation(bitRate/channelsEff, sampleRate, bandwidth, SHORT_WINDOW, hPsy->granuleLength, useIS, &hPsy-… in FDKaacEnc_psyMainInit()
365 hPsy->granuleLength, in FDKaacEnc_psyMainInit()
492 blockSwitchingOffset = psyConf->granuleLength + (9*psyConf->granuleLength/(2*TRANS_FAC)); in FDKaacEnc_psyMain()
494 blockSwitchingOffset = psyConf->granuleLength; in FDKaacEnc_psyMain()
518 psyConf->granuleLength, in FDKaacEnc_psyMain()
[all …]
Dgrp_data.cpp116 const INT granuleLength) in FDKaacEnc_groupShortData() argument
126 INT granuleLength_short = granuleLength/TRANS_FAC; in FDKaacEnc_groupShortData()
161 groupedSfbOffset[i++] = granuleLength; in FDKaacEnc_groupShortData()
269 FDKmemcpy(mdctSpectrum, tmpSpectrum, granuleLength*sizeof(FIXP_DBL)); in FDKaacEnc_groupShortData()
Dpsy_configuration.h136 INT granuleLength; member
157 INT granuleLength,
Dpsy_main.h123 INT granuleLength; member
152 INT granuleLength,
Dgrp_data.h113 const INT granuleLength);
Dblock_switch.h138 …ckSwitching(BLOCK_SWITCHING_CONTROL *blockSwitchingControl, const INT granuleLength, const int isL…
Dtns_func.h102 INT granuleLength,
Daacenc_tns.cpp254 const INT granuleLength, in getTnsMaxBands() argument
263 switch (granuleLength) { in getTnsMaxBands()
355 INT granuleLength, in FDKaacEnc_InitTnsConfiguration() argument
379 tC->lpcStopBand = getTnsMaxBands(sampleRate, granuleLength, (blockType == SHORT_WINDOW) ? 1 : 0); in FDKaacEnc_InitTnsConfiguration()
388 switch (granuleLength) { in FDKaacEnc_InitTnsConfiguration()
444 …nc_CalcGaussWindow(tC->acfWindow[HIFILT], tC->maxOrder+1, sampleRate, granuleLength, pCfg->tnsTime… in FDKaacEnc_InitTnsConfiguration()
445 …nc_CalcGaussWindow(tC->acfWindow[LOFILT], tC->maxOrder+1, sampleRate, granuleLength, pCfg->tnsTime… in FDKaacEnc_InitTnsConfiguration()
Dqc_main.cpp178 INT granuleLength, in FDKaacEnc_calcFrameLen() argument
184 result = ((granuleLength)>>3)*(bitRate); in FDKaacEnc_calcFrameLen()
208 INT granuleLength, in FDKaacEnc_framePadding() argument
218 granuleLength, in FDKaacEnc_framePadding()
488 INT granuleLength) /* frame length */ in FDKaacEnc_AdjustBitrate() argument
496 granuleLength, in FDKaacEnc_AdjustBitrate()
501 granuleLength, in FDKaacEnc_AdjustBitrate()
Dqc_main.h166 INT granuleLength);
Dmetadata_compressor.cpp672 const int granuleLength = fixMin(32, drcComp->blockLength); in FDK_DRC_Generator_Calc() local
679 const int granuleShift = getShiftFactor(granuleLength)-1; in FDK_DRC_Generator_Calc()
701 for (i=offset; i < fixMin(offset+granuleLength,drcComp->blockLength); i++) { in FDK_DRC_Generator_Calc()
729 const int granuleShift = getShiftFactor(granuleLength); in FDK_DRC_Generator_Calc()
744 for (i=offset; i < fixMin(offset+granuleLength,drcComp->blockLength); i++) { in FDK_DRC_Generator_Calc()
Dblock_switch.cpp208 …ckSwitching(BLOCK_SWITCHING_CONTROL *blockSwitchingControl, const INT granuleLength, const int isL… in FDKaacEnc_BlockSwitching() argument
257 …FDKaacEnc_CalcWindowEnergy(blockSwitchingControl, granuleLength>>(nBlockSwitchWindows==4? 2:3 ), p… in FDKaacEnc_BlockSwitching()
/external/aac/libAACdec/src/
Dstereo.cpp173 …pAacDecoderChannelInfo[L]->pSpectralCoefficient, window, pAacDecoderChannelInfo[L]->granuleLength); in CJointStereo_ApplyMS()
174 …pAacDecoderChannelInfo[R]->pSpectralCoefficient, window, pAacDecoderChannelInfo[R]->granuleLength); in CJointStereo_ApplyMS()
248 …pAacDecoderChannelInfo[L]->pSpectralCoefficient, window, pAacDecoderChannelInfo[L]->granuleLength); in CJointStereo_ApplyIS()
249 …pAacDecoderChannelInfo[R]->pSpectralCoefficient, window, pAacDecoderChannelInfo[R]->granuleLength); in CJointStereo_ApplyIS()
Daacdec_tns.cpp338 const INT granuleLength in CTns_Apply() argument
350 FIXP_DBL *pSpectrum = SPEC(pSpectralCoefficient, window, granuleLength); in CTns_Apply()
375 switch (granuleLength) { in CTns_Apply()
Dblock.h115 const INT granuleLength,
150 const INT granuleLength);
Dblock.cpp233 … FIXP_DBL *pSpectrum = SPEC(pSpectralCoefficient, window, pAacDecoderChannelInfo->granuleLength); in CBlock_ScaleSpectralData()
444 …derChannelInfo->pSpectralCoefficient, window, pAacDecoderChannelInfo->granuleLength) + BandOffsets… in CBlock_InverseQuantizeSpectralData()
552 …FIXP_DBL *mdctSpectrum = SPEC(pSpectralCoefficient, window, pAacDecoderChannelInfo->granuleLength); in CBlock_ReadSpectralData()
649 pAacDecoderChannelInfo[channel]->granuleLength, in ApplyTools()
659 pAacDecoderChannelInfo[channel]->granuleLength in ApplyTools()
Daacdec_pns.cpp338 const INT granuleLength, in CPns_Apply() argument
348 FIXP_DBL *spectrum = SPEC(pSpectrum, window, granuleLength); in CPns_Apply()
Dchannelinfo.h277 INT granuleLength; /* Size of smallest spectrum piece */ member
Daacdecoder.cpp1081 self->pAacDecoderChannelInfo[ch]->granuleLength = self->streamInfo.aacSamplesPerFrame; in CAacDecoder_Init()
1084 … self->pAacDecoderChannelInfo[ch]->granuleLength = self->streamInfo.aacSamplesPerFrame / 8; in CAacDecoder_Init()
1359 tmpAacDecoderChannelInfo.granuleLength = self->streamInfo.aacSamplesPerFrame / 8; in CAacDecoder_DecodeFrame()
Dconceal.cpp959 pAacDecoderChannelInfo->granuleLength, in CConcealment_ApplyNoise()
1285 pAacDecoderChannelInfo->granuleLength, in CConcealment_ApplyInter()
Daacdec_hcr.cpp644 … pOut = SPEC(pQuantizedSpectralCoefficientsBase, window, pAacDecoderChannelInfo->granuleLength); in HcrReorderQuantizedSpectralCoefficients()
668 … pBak = SPEC(pQuantizedSpectralCoefficientsBase, window, pAacDecoderChannelInfo->granuleLength); in HcrReorderQuantizedSpectralCoefficients()