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