Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Dpsy_configuration.cpp193 const INT granuleLength, in FDKaacEnc_initSfbTable() argument
197 INT granuleLengthWindow = granuleLength; in FDKaacEnc_initSfbTable()
205 switch (granuleLength) { in FDKaacEnc_initSfbTable()
536 INT granuleLength, INT useIS, in FDKaacEnc_InitPsyConfiguration() argument
543 const INT frameLengthLong = granuleLength; in FDKaacEnc_InitPsyConfiguration()
544 const INT frameLengthShort = granuleLength / TRANS_FAC; in FDKaacEnc_InitPsyConfiguration()
547 switch (granuleLength) { in FDKaacEnc_InitPsyConfiguration()
562 psyConf->granuleLength = granuleLength; in FDKaacEnc_InitPsyConfiguration()
570 granuleLength * downscaleFactor, in FDKaacEnc_InitPsyConfiguration()
Dgrp_data.cpp129 const INT granuleLength) { in FDKaacEnc_groupShortData() argument
137 INT granuleLength_short = granuleLength / TRANS_FAC; in FDKaacEnc_groupShortData()
170 groupedSfbOffset[i++] = granuleLength; in FDKaacEnc_groupShortData()
261 FDKmemcpy(mdctSpectrum, tmpSpectrum, granuleLength * sizeof(FIXP_DBL)); in FDKaacEnc_groupShortData()
Dpsy_configuration.h148 INT granuleLength; member
166 INT granuleLength, INT useIS,
Dpsy_main.h130 INT granuleLength; member
149 INT sampleRate, INT granuleLength, INT bitRate, INT tnsMask, INT bandwidth,
Dpsy_main.cpp302 INT sampleRate, INT granuleLength, INT bitRate, INT tnsMask, INT bandwidth, in FDKaacEnc_psyMainInit() argument
334 hPsy->granuleLength = granuleLength; in FDKaacEnc_psyMainInit()
338 hPsy->granuleLength, useIS, useMS, &(hPsy->psyConf[0]), filterBank); in FDKaacEnc_psyMainInit()
343 LONG_WINDOW, hPsy->granuleLength, isLowDelay(audioObjectType), in FDKaacEnc_psyMainInit()
349 if (granuleLength > 512) { in FDKaacEnc_psyMainInit()
352 hPsy->granuleLength, useIS, useMS, &hPsy->psyConf[1], filterBank); in FDKaacEnc_psyMainInit()
358 SHORT_WINDOW, hPsy->granuleLength, isLowDelay(audioObjectType), in FDKaacEnc_psyMainInit()
387 if (granuleLength > 512) { in FDKaacEnc_psyMainInit()
452 const INT nTimeSamples = psyConf->granuleLength; in FDKaacEnc_psyMain()
525 windowLength[ch] = psyConf->granuleLength / TRANS_FAC; in FDKaacEnc_psyMain()
[all …]
Daacenc_tns.cpp272 static INT getTnsMaxBands(const INT sampleRate, const INT granuleLength, in getTnsMaxBands() argument
279 switch (granuleLength) { in getTnsMaxBands()
378 INT bitRate, INT sampleRate, INT channels, INT blockType, INT granuleLength, in FDKaacEnc_InitTnsConfiguration() argument
397 tC->lpcStopBand = getTnsMaxBands(sampleRate, granuleLength, in FDKaacEnc_InitTnsConfiguration()
407 switch (granuleLength) { in FDKaacEnc_InitTnsConfiguration()
488 tC->acfWindow[HIFILT], tC->maxOrder + 1, sampleRate, granuleLength, in FDKaacEnc_InitTnsConfiguration()
491 tC->acfWindow[LOFILT], tC->maxOrder + 1, sampleRate, granuleLength, in FDKaacEnc_InitTnsConfiguration()
Dgrp_data.h121 const INT granuleLength);
Dblock_switch.h154 const INT granuleLength, const int isLFE,
Dtns_func.h111 INT bitrate, INT samplerate, INT channels, INT blocktype, INT granuleLength,
Dqc_main.cpp185 INT granuleLength, in FDKaacEnc_calcFrameLen() argument
189 result = ((granuleLength) >> 3) * (bitRate); in FDKaacEnc_calcFrameLen()
212 INT granuleLength, INT* paddingRest) { in FDKaacEnc_framePadding() argument
218 difference = FDKaacEnc_calcFrameLen(bitRate, sampleRate, granuleLength, in FDKaacEnc_framePadding()
483 INT granuleLength) /* frame length */ in FDKaacEnc_AdjustBitrate() argument
489 paddingOn = FDKaacEnc_framePadding(bitRate, sampleRate, granuleLength, in FDKaacEnc_AdjustBitrate()
493 paddingOn + FDKaacEnc_calcFrameLen(bitRate, sampleRate, granuleLength, in FDKaacEnc_AdjustBitrate()
Dqc_main.h154 INT sampleRate, INT granuleLength);
Dblock_switch.cpp230 const INT granuleLength, const int isLFE, in FDKaacEnc_BlockSwitching() argument
287 granuleLength >> (nBlockSwitchWindows == 4 ? 2 : 3), pTimeSignal); in FDKaacEnc_BlockSwitching()
Dmetadata_compressor.cpp1268 const int granuleLength = fixMin(16, drcComp->blockLength); in FDK_DRC_Generator_Calc() local
1276 const int granuleShift = getShiftFactor(granuleLength) - 1; in FDK_DRC_Generator_Calc()
1298 i < fixMin(offset + granuleLength, drcComp->blockLength); i++) { in FDK_DRC_Generator_Calc()
1327 const int granuleShift = getShiftFactor(granuleLength); in FDK_DRC_Generator_Calc()
1343 i < fixMin(offset + granuleLength, drcComp->blockLength); i++) { in FDK_DRC_Generator_Calc()
/external/aac/libAACdec/src/
Dblock.cpp239 pAacDecoderChannelInfo->granuleLength); in CBlock_ScaleSpectralData()
514 pAacDecoderChannelInfo->granuleLength) + in CBlock_InverseQuantizeSpectralData()
607 pAacDecoderChannelInfo->granuleLength) + in CBlock_InverseQuantizeSpectralData()
640 int granuleLength = pAacDecoderChannelInfo->granuleLength; in CBlock_ReadSpectralData() local
678 &pSpectralCoefficient[groupoffset * granuleLength]; in CBlock_ReadSpectralData()
696 mdctSpectrum += granuleLength; in CBlock_ReadSpectralData()
711 mdctSpectrum += granuleLength; in CBlock_ReadSpectralData()
810 if (pAacDecoderChannelInfo->granuleLength == 96) { in CBlock_ApplyNoise()
859 pAacDecoderChannelInfo->granuleLength); in CBlock_ApplyNoise()
930 win, pAacDecoderChannelInfo->granuleLength), in CBlock_ReadAcSpectralData()
[all …]
Daacdec_tns.cpp277 const INT granuleLength, const UCHAR nbands, in CTns_Apply() argument
292 { pSpectrum = SPEC(pSpectralCoefficient, window, granuleLength); } in CTns_Apply()
312 switch (granuleLength) { in CTns_Apply()
Dusacdec_lpd.cpp940 int lg = (pAacDecoderChannelInfo->granuleLength == 128) in CLpd_TcxDecode()
951 pAacDecoderChannelInfo->granuleLength, isFullBandLpd); in CLpd_TcxDecode()
1031 pAacDecoderChannelInfo->granuleLength, isFullBandLpd), in CLpd_TcxDecode()
1037 pAacDecoderChannelInfo->granuleLength / 2 /* == FDNS_NPTS(ccfl) */ in CLpd_TcxDecode()
1061 pAacDecoderChannelInfo->granuleLength, isFullBandLpd); in CLpd_TCX_Read()
1208 const int *lg_table = (pAacDecoderChannelInfo->granuleLength == 128) in CLpdChannelStream_Read()
1316 pAacDecoderChannelInfo->granuleLength, /* == fac_length */ in CLpdChannelStream_Read()
1329 pAacDecoderChannelInfo->granuleLength * 8 /* coreCoderFrameLength */, in CLpdChannelStream_Read()
1454 pAacDecoderChannelInfo->granuleLength), in CLpdChannelStream_Read()
1506 pAacDecoderChannelInfo->granuleLength, in CLpdChannelStream_Decode()
[all …]
Dblock.h120 const INT granuleLength, const int channel);
148 const INT granuleLength, const UCHAR nbands,
Daacdec_pns.cpp318 const INT granuleLength, const int channel) { in CPns_Apply() argument
329 FIXP_DBL *spectrum = SPEC(pSpectrum, window, granuleLength); in CPns_Apply()
Dstereo.cpp614 pAacDecoderChannelInfo[L]->granuleLength; /* framelength 768 => 96, in CJointStereo_ApplyMS()
1097 SPEC(spectrumL, window, pAacDecoderChannelInfo[L]->granuleLength); in CJointStereo_ApplyMS()
1099 SPEC(spectrumR, window, pAacDecoderChannelInfo[R]->granuleLength); in CJointStereo_ApplyMS()
1203 window, pAacDecoderChannelInfo[L]->granuleLength); in CJointStereo_ApplyIS()
1205 window, pAacDecoderChannelInfo[R]->granuleLength); in CJointStereo_ApplyIS()
Dchannelinfo.h406 INT granuleLength; /* Size of smallest spectrum piece */ member
Daacdec_hcr.cpp589 pAacDecoderChannelInfo->granuleLength); in HcrReorderQuantizedSpectralCoefficients()
619 pAacDecoderChannelInfo->granuleLength); in HcrReorderQuantizedSpectralCoefficients()
Dusacdec_fac.cpp139 pAacDecoderChannelInfo->granuleLength << k); in CLpd_FAC_GetMemory()
Dchannel.cpp718 pAacDecoderChannelInfo[ch]->granuleLength), in CChannelElement_Read()
Daacdecoder.cpp2307 self->pAacDecoderChannelInfo[ch]->granuleLength = in CAacDecoder_Init()
2311 self->pAacDecoderChannelInfo[ch]->granuleLength = in CAacDecoder_Init()
2703 tmpAacDecoderChannelInfo.granuleLength = in CAacDecoder_DecodeFrame()
/external/aac/libSACenc/src/
Dsacenc_dmx_tdom_enh.cpp351 const int granuleLength = fixMin(128, hEnhancedTimeDmx->framelength); in fdk_sacenc_apply_enhancedTimeDomainDmx() local
353 (granuleLength > 1) in fdk_sacenc_apply_enhancedTimeDomainDmx()
354 ? ((DFRACT_BITS - 1) - fNorm((FIXP_DBL)(granuleLength - 1))) in fdk_sacenc_apply_enhancedTimeDomainDmx()
374 fixMin(offset + granuleLength, hEnhancedTimeDmx->framelength) - in fdk_sacenc_apply_enhancedTimeDomainDmx()
379 fixMin(offset + granuleLength, hEnhancedTimeDmx->framelength) - in fdk_sacenc_apply_enhancedTimeDomainDmx()
385 smp < fixMin(offset + granuleLength, hEnhancedTimeDmx->framelength); in fdk_sacenc_apply_enhancedTimeDomainDmx()