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.cpp308 INT granuleLength, in FDKaacEnc_psyMainInit() argument
338 hPsy->granuleLength = granuleLength; in FDKaacEnc_psyMainInit()
340 …ration(bitRate/channelsEff, sampleRate, bandwidth, LONG_WINDOW, hPsy->granuleLength, useIS, &(hPsy… in FDKaacEnc_psyMainInit()
349 hPsy->granuleLength, in FDKaacEnc_psyMainInit()
359 if (granuleLength > 512) { in FDKaacEnc_psyMainInit()
360 …ation(bitRate/channelsEff, sampleRate, bandwidth, SHORT_WINDOW, hPsy->granuleLength, useIS, &hPsy-… in FDKaacEnc_psyMainInit()
369 hPsy->granuleLength, in FDKaacEnc_psyMainInit()
495 blockSwitchingOffset = psyConf->granuleLength + (9*psyConf->granuleLength/(2*TRANS_FAC)); in FDKaacEnc_psyMain()
497 blockSwitchingOffset = psyConf->granuleLength; in FDKaacEnc_psyMain()
522 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.h139 …ckSwitching(BLOCK_SWITCHING_CONTROL *blockSwitchingControl, const INT granuleLength, const int isL…
Dtns_func.h102 INT granuleLength,
Daacenc_tns.cpp274 const INT granuleLength, in getTnsMaxBands() argument
283 switch (granuleLength) { in getTnsMaxBands()
376 INT granuleLength, in FDKaacEnc_InitTnsConfiguration() argument
397 tC->lpcStopBand = getTnsMaxBands(sampleRate, granuleLength, (blockType == SHORT_WINDOW) ? 1 : 0); in FDKaacEnc_InitTnsConfiguration()
406 switch (granuleLength) { in FDKaacEnc_InitTnsConfiguration()
476 …nc_CalcGaussWindow(tC->acfWindow[HIFILT], tC->maxOrder+1, sampleRate, granuleLength, pCfg->tnsTime… in FDKaacEnc_InitTnsConfiguration()
477 …nc_CalcGaussWindow(tC->acfWindow[LOFILT], tC->maxOrder+1, sampleRate, granuleLength, pCfg->tnsTime… in FDKaacEnc_InitTnsConfiguration()
Dqc_main.cpp181 INT granuleLength, in FDKaacEnc_calcFrameLen() argument
187 result = ((granuleLength)>>3)*(bitRate); in FDKaacEnc_calcFrameLen()
211 INT granuleLength, in FDKaacEnc_framePadding() argument
221 granuleLength, in FDKaacEnc_framePadding()
486 INT granuleLength) /* frame length */ in FDKaacEnc_AdjustBitrate() argument
494 granuleLength, in FDKaacEnc_AdjustBitrate()
499 granuleLength, in FDKaacEnc_AdjustBitrate()
Dqc_main.h166 INT granuleLength);
Dmetadata_compressor.cpp661 const int granuleLength = fixMin(32, drcComp->blockLength); in FDK_DRC_Generator_Calc() local
668 const int granuleShift = getShiftFactor(granuleLength)-1; in FDK_DRC_Generator_Calc()
690 for (i=offset; i < fixMin(offset+granuleLength,drcComp->blockLength); i++) { in FDK_DRC_Generator_Calc()
718 const int granuleShift = getShiftFactor(granuleLength); in FDK_DRC_Generator_Calc()
733 for (i=offset; i < fixMin(offset+granuleLength,drcComp->blockLength); i++) { in FDK_DRC_Generator_Calc()
Dblock_switch.cpp217 …ckSwitching(BLOCK_SWITCHING_CONTROL *blockSwitchingControl, const INT granuleLength, const int isL… in FDKaacEnc_BlockSwitching() argument
266 … FDKaacEnc_CalcWindowEnergy(blockSwitchingControl, granuleLength>>(nBlockSwitchWindows==4? 2:3 )); 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()
655 pAacDecoderChannelInfo[channel]->granuleLength, in ApplyTools()
665 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.cpp1017 self->pAacDecoderChannelInfo[ch]->granuleLength = self->streamInfo.aacSamplesPerFrame; in CAacDecoder_Init()
1020 … self->pAacDecoderChannelInfo[ch]->granuleLength = self->streamInfo.aacSamplesPerFrame / 8; in CAacDecoder_Init()
1294 tmpAacDecoderChannelInfo.granuleLength = self->streamInfo.aacSamplesPerFrame / 8; in CAacDecoder_DecodeFrame()
Dconceal.cpp958 pAacDecoderChannelInfo->granuleLength, in CConcealment_ApplyNoise()
1284 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()