Home
last modified time | relevance | path

Searched refs:outFrameCount (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/services/audioflinger/
DAudioResamplerCubic.cpp35 void AudioResamplerCubic::resample(int32_t* out, size_t outFrameCount, in resample() argument
44 resampleMono16(out, outFrameCount, provider); in resample()
47 resampleStereo16(out, outFrameCount, provider); in resample()
52 void AudioResamplerCubic::resampleStereo16(int32_t* out, size_t outFrameCount, in resampleStereo16() argument
62 size_t outputSampleCount = outFrameCount * 2; in resampleStereo16()
63 size_t inFrameCount = getInFrameCountRequired(outFrameCount); in resampleStereo16()
120 void AudioResamplerCubic::resampleMono16(int32_t* out, size_t outFrameCount, in resampleMono16() argument
130 size_t outputSampleCount = outFrameCount * 2; in resampleMono16()
131 size_t inFrameCount = getInFrameCountRequired(outFrameCount); in resampleMono16()
DAudioResampler.cpp47 virtual void resample(int32_t* out, size_t outFrameCount,
57 void resampleMono16(int32_t* out, size_t outFrameCount,
59 void resampleStereo16(int32_t* out, size_t outFrameCount,
335 void AudioResamplerOrder1::resample(int32_t* out, size_t outFrameCount, in resample() argument
344 resampleMono16(out, outFrameCount, provider); in resample()
347 resampleStereo16(out, outFrameCount, provider); in resample()
352 void AudioResamplerOrder1::resampleStereo16(int32_t* out, size_t outFrameCount, in resampleStereo16() argument
362 size_t outputSampleCount = outFrameCount * 2; in resampleStereo16()
363 size_t inFrameCount = getInFrameCountRequired(outFrameCount); in resampleStereo16()
450 void AudioResamplerOrder1::resampleMono16(int32_t* out, size_t outFrameCount, in resampleMono16() argument
[all …]
DAudioResamplerCubic.h34 virtual void resample(int32_t* out, size_t outFrameCount,
46 void resampleMono16(int32_t* out, size_t outFrameCount,
48 void resampleStereo16(int32_t* out, size_t outFrameCount,
DAudioResampler.h73 virtual void resample(int32_t* out, size_t outFrameCount,
142 inline size_t getInFrameCountRequired(size_t outFrameCount) { in getInFrameCountRequired() argument
143 return (static_cast<uint64_t>(outFrameCount)*mInSampleRate in getInFrameCountRequired()
DAudioResamplerDyn.h55 virtual void resample(int32_t* out, size_t outFrameCount,
114 void resample(TO* out, size_t outFrameCount, AudioBufferProvider* provider);
118 size_t outFrameCount, AudioBufferProvider* provider);
DAudioResamplerSinc.h42 virtual void resample(int32_t* out, size_t outFrameCount,
50 void resample(int32_t* out, size_t outFrameCount,
DAudioResamplerSinc.cpp512 void AudioResamplerSinc::resample(int32_t* out, size_t outFrameCount, in resample() argument
527 resample<1>(out, outFrameCount, provider); in resample()
530 resample<2>(out, outFrameCount, provider); in resample()
537 void AudioResamplerSinc::resample(int32_t* out, size_t outFrameCount, in resample() argument
548 size_t outputSampleCount = outFrameCount * 2; in resample()
549 size_t inFrameCount = getInFrameCountRequired(outFrameCount); in resample()
DAudioResamplerDyn.cpp480 void AudioResamplerDyn<TC, TI, TO>::resample(int32_t* out, size_t outFrameCount, in resample() argument
483 (this->*mResampleFunc)(reinterpret_cast<TO*>(out), outFrameCount, provider); in resample()
488 void AudioResamplerDyn<TC, TI, TO>::resample(TO* out, size_t outFrameCount, in resample() argument
500 size_t outputSampleCount = outFrameCount * OUTPUT_CHANNELS; in resample()
502 size_t inFrameCount = (phaseIncrement * (uint64_t)outFrameCount + phaseFraction) in resample()
DAudioMixer.cpp1210 void AudioMixer::track__genericResample(track_t* t, int32_t* out, size_t outFrameCount, in track__genericResample() argument
1221 memset(temp, 0, outFrameCount * t->mMixerChannelCount * sizeof(int32_t)); in track__genericResample()
1222 t->resampler->resample(temp, outFrameCount, t->bufferProvider); in track__genericResample()
1224 volumeRampStereo(t, out, outFrameCount, temp, aux); in track__genericResample()
1226 volumeStereo(t, out, outFrameCount, temp, aux); in track__genericResample()
1231 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); in track__genericResample()
1232 t->resampler->resample(temp, outFrameCount, t->bufferProvider); in track__genericResample()
1233 volumeRampStereo(t, out, outFrameCount, temp, aux); in track__genericResample()
1239 t->resampler->resample(out, outFrameCount, t->bufferProvider); in track__genericResample()
1245 size_t outFrameCount __unused, int32_t* temp __unused, int32_t* aux __unused) in track__nop()
[all …]