Lines Matching refs:DownSampler
305 INT FDKaacEnc_InitDownsampler(DOWNSAMPLER *DownSampler, /*!< pointer to downsampler instance */ in FDKaacEnc_InitDownsampler() argument
314 FDKmemclear(DownSampler->downFilter.states, sizeof(DownSampler->downFilter.states)); in FDKaacEnc_InitDownsampler()
315 DownSampler->downFilter.ptr = 0; in FDKaacEnc_InitDownsampler()
328 DownSampler->downFilter.coeffa = currentSet->coeffa; in FDKaacEnc_InitDownsampler()
331 DownSampler->downFilter.gain = currentSet->g; in FDKaacEnc_InitDownsampler()
334 DownSampler->downFilter.noCoeffs = currentSet->noCoeffs; in FDKaacEnc_InitDownsampler()
335 DownSampler->delay = currentSet->delay; in FDKaacEnc_InitDownsampler()
336 DownSampler->downFilter.Wc = currentSet->Wc; in FDKaacEnc_InitDownsampler()
338 DownSampler->ratio = ratio; in FDKaacEnc_InitDownsampler()
339 DownSampler->pending = ratio-1; in FDKaacEnc_InitDownsampler()
486 INT FDKaacEnc_Downsample(DOWNSAMPLER *DownSampler, /*!< pointer to downsampler instance */ in FDKaacEnc_Downsample() argument
498 for(i=0; i<numInSamples; i+=DownSampler->ratio) in FDKaacEnc_Downsample()
500 …*outSamples = AdvanceFilter(&(DownSampler->downFilter), &inSamples[i*inStride], DownSampler->ratio… in FDKaacEnc_Downsample()
503 *numOutSamples = numInSamples/DownSampler->ratio; in FDKaacEnc_Downsample()