Lines Matching refs:downSampleFactor
308 const INT downSampleFactor in FDKsbrEnc_GetDownsampledStopFreq() argument
323 sampleRateCore<<(downSampleFactor-1), in FDKsbrEnc_GetDownsampledStopFreq()
325 32<<(downSampleFactor-1), in FDKsbrEnc_GetDownsampledStopFreq()
464 if (1 == config->downSampleFactor) { in FDKsbrEnc_AdjustSbrSettings()
469 config->downSampleFactor in FDKsbrEnc_AdjustSbrSettings()
584 INT downSampleFactor, in FDKsbrEnc_InitializeSbrDefaults() argument
589 if ( (downSampleFactor < 1 || downSampleFactor > 2) || in FDKsbrEnc_InitializeSbrDefaults()
590 (codecGranuleLen*downSampleFactor > QMF_CHANNELS*QMF_MAX_TIME_SLOTS) ) in FDKsbrEnc_InitializeSbrDefaults()
604 config->sbrFrameSize = codecGranuleLen * downSampleFactor; in FDKsbrEnc_InitializeSbrDefaults()
605 config->downSampleFactor = downSampleFactor; in FDKsbrEnc_InitializeSbrDefaults()
777 const INT downSampleFactor in updateFreqBandTable() argument
784 sbrConfigData->sampleFreq >> (downSampleFactor-1), in updateFreqBandTable()
1011 hEnvEncoder->downSampleFactor in FDKsbrEnc_EnvEncodeFrame()
1661 hSbrElement->sbrConfigData.noQmfBands = QMF_CHANNELS>>(2-params->downSampleFactor); in FDKsbrEnc_EnvInit()
1686 …hSbrElement->sbrConfigData.sampleFreq = params->downSampleFactor * params->codecSettings.sampleFre… in FDKsbrEnc_EnvInit()
1763 params->downSampleFactor in FDKsbrEnc_EnvInit()
1907 UINT *downSampleFactor, in sbrEncoder_Init() argument
1937 *downSampleFactor = 2; in sbrEncoder_Init()
1969 switch (*downSampleFactor) { in sbrEncoder_Init()
2004 delayDiff = (*delay * *downSampleFactor) + DELAY_ELD2SBR(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
2005 *delay = DELAY_ELDSBR(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
2009 delayDiff = (*delay * *downSampleFactor) + DELAY_AAC2PS(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
2010 *delay = DELAY_PS(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
2013 delayDiff = DELAY_AAC2SBR(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
2014 delayDiff += (*delay * *downSampleFactor); in sbrEncoder_Init()
2015 *delay = DELAY_SBR(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
2019 …timeDomainDownsample = *downSampleFactor-1; /* activate time domain downsampler when downSampleFa… in sbrEncoder_Init()
2034 *delay += coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
2036 delayDiff -= coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
2049 FDK_ASSERT(*downSampleFactor>0 && *downSampleFactor<=2); in sbrEncoder_Init()
2050 downsampledOffset = (delayDiff*(*numChannels))>>(*downSampleFactor-1); in sbrEncoder_Init()
2054 if ( delayDiff > (int)coreFrameLength * (int)*downSampleFactor ) in sbrEncoder_Init()
2057 delayDiff -= coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
2066 hSbrEncoder->frameSize = coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
2068 hSbrEncoder->downSampleFactor = *downSampleFactor; in sbrEncoder_Init()
2099 *downSampleFactor, in sbrEncoder_Init()
2185 FDKaacEnc_InitDownsampler (&hSbrEl->sbrChannel[ch]->downSampler, Wc, *downSampleFactor); in sbrEncoder_Init()
2193 FDKaacEnc_InitDownsampler (&hSbrEncoder->lfeDownSampler, 0, *downSampleFactor); in sbrEncoder_Init()
2196 …rOffset > 0 || downsampledOffset <= ((downsamplerDelay * (*numChannels))>>(*downSampleFactor-1))) { in sbrEncoder_Init()
2201 downsampledOffset -= (downsamplerDelay * (*numChannels))>>(*downSampleFactor-1); in sbrEncoder_Init()
2264 …r->inputDataDelay = (64*10/2) + (6*64) + (0) + (64*10/2-64+1) + ((*downSampleFactor)*downsampledO… in sbrEncoder_Init()
2282 *frameLength = coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
2331 if ( ( hSbrEncoder->lfeChIdx!=-1) && (hSbrEncoder->downSampleFactor > 1) ) in sbrEncoder_EncodeFrame()