Lines Matching refs:downSampleFactor

309         const INT downSampleFactor  in FDKsbrEnc_GetDownsampledStopFreq()  argument
324 sampleRateCore<<(downSampleFactor-1), in FDKsbrEnc_GetDownsampledStopFreq()
326 32<<(downSampleFactor-1), in FDKsbrEnc_GetDownsampledStopFreq()
448 if (1 == config->downSampleFactor) { in FDKsbrEnc_AdjustSbrSettings()
453 config->downSampleFactor in FDKsbrEnc_AdjustSbrSettings()
517 INT downSampleFactor, in FDKsbrEnc_InitializeSbrDefaults() argument
521 if ( (downSampleFactor < 1 || downSampleFactor > 2) || in FDKsbrEnc_InitializeSbrDefaults()
522 (codecGranuleLen*downSampleFactor > QMF_CHANNELS*QMF_MAX_TIME_SLOTS) ) in FDKsbrEnc_InitializeSbrDefaults()
532 config->sbrFrameSize = codecGranuleLen * downSampleFactor; in FDKsbrEnc_InitializeSbrDefaults()
533 config->downSampleFactor = downSampleFactor; in FDKsbrEnc_InitializeSbrDefaults()
703 const INT downSampleFactor in updateFreqBandTable() argument
710 sbrConfigData->sampleFreq >> (downSampleFactor-1), in updateFreqBandTable()
937 hEnvEncoder->downSampleFactor in FDKsbrEnc_EnvEncodeFrame()
1572 hSbrElement->sbrConfigData.noQmfBands = QMF_CHANNELS>>(2-params->downSampleFactor); in FDKsbrEnc_EnvInit()
1597 …hSbrElement->sbrConfigData.sampleFreq = params->downSampleFactor * params->codecSettings.sampleFre… in FDKsbrEnc_EnvInit()
1672 params->downSampleFactor in FDKsbrEnc_EnvInit()
1816 UINT *downSampleFactor, in sbrEncoder_Init() argument
1846 *downSampleFactor = 2; in sbrEncoder_Init()
1878 switch (*downSampleFactor) { in sbrEncoder_Init()
1913 delayDiff = (*delay * *downSampleFactor) + DELAY_ELD2SBR(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
1914 *delay = DELAY_ELDSBR(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
1918 delayDiff = (*delay * *downSampleFactor) + DELAY_AAC2PS(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
1919 *delay = DELAY_PS(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
1922 delayDiff = DELAY_AAC2SBR(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
1923 delayDiff += (*delay * *downSampleFactor); in sbrEncoder_Init()
1924 *delay = DELAY_SBR(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
1928 …timeDomainDownsample = *downSampleFactor-1; /* activate time domain downsampler when downSampleFa… in sbrEncoder_Init()
1943 *delay += coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
1945 delayDiff -= coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
1958 FDK_ASSERT(*downSampleFactor>0 && *downSampleFactor<=2); in sbrEncoder_Init()
1959 downsampledOffset = (delayDiff*(*numChannels))>>(*downSampleFactor-1); in sbrEncoder_Init()
1963 if ( delayDiff > (int)coreFrameLength * (int)*downSampleFactor ) in sbrEncoder_Init()
1966 delayDiff -= coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
1975 hSbrEncoder->frameSize = coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
1977 hSbrEncoder->downSampleFactor = *downSampleFactor; in sbrEncoder_Init()
2008 *downSampleFactor, in sbrEncoder_Init()
2093 FDKaacEnc_InitDownsampler (&hSbrEl->sbrChannel[ch]->downSampler, Wc, *downSampleFactor); in sbrEncoder_Init()
2101 FDKaacEnc_InitDownsampler (&hSbrEncoder->lfeDownSampler, 0, *downSampleFactor); in sbrEncoder_Init()
2104 …rOffset > 0 || downsampledOffset <= ((downsamplerDelay * (*numChannels))>>(*downSampleFactor-1))) { in sbrEncoder_Init()
2109 downsampledOffset -= (downsamplerDelay * (*numChannels))>>(*downSampleFactor-1); in sbrEncoder_Init()
2172 …r->inputDataDelay = (64*10/2) + (6*64) + (0) + (64*10/2-64+1) + ((*downSampleFactor)*downsampledO… in sbrEncoder_Init()
2190 *frameLength = coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
2239 if ( ( hSbrEncoder->lfeChIdx!=-1) && (hSbrEncoder->downSampleFactor > 1) ) in sbrEncoder_EncodeFrame()