Lines Matching refs:DownSampler
293 DOWNSAMPLER *DownSampler, /*!< pointer to downsampler instance */ in FDKaacEnc_InitDownsampler() argument
301 FDKmemclear(DownSampler->downFilter.states, in FDKaacEnc_InitDownsampler()
302 sizeof(DownSampler->downFilter.states)); in FDKaacEnc_InitDownsampler()
303 DownSampler->downFilter.ptr = 0; in FDKaacEnc_InitDownsampler()
317 DownSampler->downFilter.coeffa = currentSet->coeffa; in FDKaacEnc_InitDownsampler()
319 DownSampler->downFilter.gain = currentSet->g; in FDKaacEnc_InitDownsampler()
322 DownSampler->downFilter.noCoeffs = currentSet->noCoeffs; in FDKaacEnc_InitDownsampler()
323 DownSampler->delay = currentSet->delay; in FDKaacEnc_InitDownsampler()
324 DownSampler->downFilter.Wc = currentSet->Wc; in FDKaacEnc_InitDownsampler()
326 DownSampler->ratio = ratio; in FDKaacEnc_InitDownsampler()
327 DownSampler->pending = ratio - 1; in FDKaacEnc_InitDownsampler()
427 DOWNSAMPLER *DownSampler, /*!< pointer to downsampler instance */ in FDKaacEnc_Downsample() argument
436 for (i = 0; i < numInSamples; i += DownSampler->ratio) { in FDKaacEnc_Downsample()
437 *outSamples = AdvanceFilter(&(DownSampler->downFilter), &inSamples[i], in FDKaacEnc_Downsample()
438 DownSampler->ratio); in FDKaacEnc_Downsample()
441 *numOutSamples = numInSamples / DownSampler->ratio; in FDKaacEnc_Downsample()