/frameworks/av/services/audioflinger/ |
D | AudioResamplerCubic.cpp | 35 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()
|
D | AudioResampler.cpp | 45 virtual size_t resample(int32_t* out, size_t outFrameCount, 55 size_t resampleMono16(int32_t* out, size_t outFrameCount, 57 size_t resampleStereo16(int32_t* out, size_t outFrameCount, 316 size_t AudioResamplerOrder1::resample(int32_t* out, size_t outFrameCount, in resample() argument 325 return resampleMono16(out, outFrameCount, provider); in resample() 327 return resampleStereo16(out, outFrameCount, provider); in resample() 334 size_t AudioResamplerOrder1::resampleStereo16(int32_t* out, size_t outFrameCount, in resampleStereo16() argument 344 size_t outputSampleCount = outFrameCount * 2; in resampleStereo16() 345 size_t inFrameCount = getInFrameCountRequired(outFrameCount); in resampleStereo16() 432 size_t AudioResamplerOrder1::resampleMono16(int32_t* out, size_t outFrameCount, in resampleMono16() argument [all …]
|
D | AudioResampler.h | 77 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()
|
D | AudioResamplerCubic.h | 34 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,
|
D | AudioResamplerDyn.h | 55 virtual size_t resample(int32_t* out, size_t outFrameCount, 114 size_t resample(TO* out, size_t outFrameCount, AudioBufferProvider* provider); 118 size_t outFrameCount, AudioBufferProvider* provider);
|
D | AudioResamplerSinc.h | 42 virtual size_t resample(int32_t* out, size_t outFrameCount, 50 size_t resample(int32_t* out, size_t outFrameCount,
|
D | AudioResamplerSinc.cpp | 267 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()
|
D | AudioResamplerDyn.cpp | 479 size_t AudioResamplerDyn<TC, TI, TO>::resample(int32_t* out, size_t outFrameCount, in resample() argument 482 return (this->*mResampleFunc)(reinterpret_cast<TO*>(out), outFrameCount, provider); in resample() 487 size_t AudioResamplerDyn<TC, TI, TO>::resample(TO* out, size_t outFrameCount, in resample() argument 499 size_t outputSampleCount = outFrameCount * OUTPUT_CHANNELS; in resample() 501 size_t inFrameCount = (phaseIncrement * (uint64_t)outFrameCount + phaseFraction) in resample()
|
D | AudioMixer.cpp | 1075 void AudioMixer::track__genericResample(track_t* t, int32_t* out, size_t outFrameCount, in track__genericResample() argument 1086 memset(temp, 0, outFrameCount * t->mMixerChannelCount * sizeof(int32_t)); in track__genericResample() 1087 t->resampler->resample(temp, outFrameCount, t->bufferProvider); in track__genericResample() 1089 volumeRampStereo(t, out, outFrameCount, temp, aux); in track__genericResample() 1091 volumeStereo(t, out, outFrameCount, temp, aux); in track__genericResample() 1096 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); in track__genericResample() 1097 t->resampler->resample(temp, outFrameCount, t->bufferProvider); in track__genericResample() 1098 volumeRampStereo(t, out, outFrameCount, temp, aux); in track__genericResample() 1104 t->resampler->resample(out, outFrameCount, t->bufferProvider); in track__genericResample() 1110 size_t outFrameCount __unused, int32_t* temp __unused, int32_t* aux __unused) in track__nop() [all …]
|