Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/
DAudioResamplerCubic.cpp35 size_t AudioResamplerCubic::resample(int32_t* out, size_t outFrameCount, in resample() argument
44 return resampleMono16(out, outFrameCount, provider); in resample()
46 return resampleStereo16(out, outFrameCount, provider); in resample()
53 size_t AudioResamplerCubic::resampleStereo16(int32_t* out, size_t outFrameCount, in resampleStereo16() argument
63 size_t outputSampleCount = outFrameCount * 2; in resampleStereo16()
64 size_t inFrameCount = getInFrameCountRequired(outFrameCount); in resampleStereo16()
120 size_t 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.cpp48 virtual size_t resample(int32_t* out, size_t outFrameCount,
58 size_t resampleMono16(int32_t* out, size_t outFrameCount,
60 size_t resampleStereo16(int32_t* out, size_t outFrameCount,
319 size_t AudioResamplerOrder1::resample(int32_t* out, size_t outFrameCount, in resample() argument
328 return resampleMono16(out, outFrameCount, provider); in resample()
330 return resampleStereo16(out, outFrameCount, provider); in resample()
337 size_t AudioResamplerOrder1::resampleStereo16(int32_t* out, size_t outFrameCount, in resampleStereo16() argument
347 size_t outputSampleCount = outFrameCount * 2; in resampleStereo16()
348 size_t inFrameCount = getInFrameCountRequired(outFrameCount); in resampleStereo16()
435 size_t AudioResamplerOrder1::resampleMono16(int32_t* out, size_t outFrameCount, in resampleMono16() argument
[all …]
DAudioResamplerCubic.h34 virtual size_t resample(int32_t* out, size_t outFrameCount,
46 size_t resampleMono16(int32_t* out, size_t outFrameCount,
48 size_t resampleStereo16(int32_t* out, size_t outFrameCount,
DAudioResamplerDyn.h55 virtual size_t resample(int32_t* out, size_t outFrameCount,
116 size_t resample(TO* out, size_t outFrameCount, AudioBufferProvider* provider);
120 size_t outFrameCount, AudioBufferProvider* provider);
DAudioResamplerSinc.h42 virtual size_t resample(int32_t* out, size_t outFrameCount,
50 size_t resample(int32_t* out, size_t outFrameCount,
DAudioResamplerSinc.cpp267 size_t AudioResamplerSinc::resample(int32_t* out, size_t outFrameCount, in resample() argument
283 return resample<1>(out, outFrameCount, provider); in resample()
285 return resample<2>(out, outFrameCount, provider); in resample()
294 size_t AudioResamplerSinc::resample(int32_t* out, size_t outFrameCount, in resample() argument
305 size_t outputSampleCount = outFrameCount * 2; in resample()
306 size_t inFrameCount = getInFrameCountRequired(outFrameCount); in resample()
DAudioResamplerDyn.cpp489 size_t AudioResamplerDyn<TC, TI, TO>::resample(int32_t* out, size_t outFrameCount, in resample() argument
492 return (this->*mResampleFunc)(reinterpret_cast<TO*>(out), outFrameCount, provider); in resample()
497 size_t AudioResamplerDyn<TC, TI, TO>::resample(TO* out, size_t outFrameCount, in resample() argument
509 size_t outputSampleCount = outFrameCount * OUTPUT_CHANNELS; in resample()
511 size_t inFrameCount = (phaseIncrement * (uint64_t)outFrameCount + phaseFraction) in resample()
DAudioMixer.cpp1080 void AudioMixer::track__genericResample(track_t* t, int32_t* out, size_t outFrameCount, in track__genericResample() argument
1091 memset(temp, 0, outFrameCount * t->mMixerChannelCount * sizeof(int32_t)); in track__genericResample()
1092 t->resampler->resample(temp, outFrameCount, t->bufferProvider); in track__genericResample()
1094 volumeRampStereo(t, out, outFrameCount, temp, aux); in track__genericResample()
1096 volumeStereo(t, out, outFrameCount, temp, aux); in track__genericResample()
1101 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); in track__genericResample()
1102 t->resampler->resample(temp, outFrameCount, t->bufferProvider); in track__genericResample()
1103 volumeRampStereo(t, out, outFrameCount, temp, aux); in track__genericResample()
1109 t->resampler->resample(out, outFrameCount, t->bufferProvider); in track__genericResample()
1115 size_t outFrameCount __unused, int32_t* temp __unused, int32_t* aux __unused) in track__nop()
[all …]
/frameworks/av/media/libaudioprocessing/include/
DAudioResampler.h77 virtual size_t 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()
/frameworks/av/include/media/
DAudioResampler.h77 virtual size_t 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()