Home
last modified time | relevance | path

Searched refs:outFrameCount (Results 1 – 11 of 11) 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,
151 size_t resample(TO* out, size_t outFrameCount, AudioBufferProvider* provider);
155 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()
DAudioMixer.cpp965 int32_t* out, size_t outFrameCount, int32_t* temp, int32_t* aux) in track__genericResample() argument
975 memset(temp, 0, outFrameCount * mMixerChannelCount * sizeof(int32_t)); in track__genericResample()
976 mResampler->resample(temp, outFrameCount, bufferProvider); in track__genericResample()
978 volumeRampStereo(out, outFrameCount, temp, aux); in track__genericResample()
980 volumeStereo(out, outFrameCount, temp, aux); in track__genericResample()
985 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); in track__genericResample()
986 mResampler->resample(temp, outFrameCount, bufferProvider); in track__genericResample()
987 volumeRampStereo(out, outFrameCount, temp, aux); in track__genericResample()
993 mResampler->resample(out, outFrameCount, bufferProvider); in track__genericResample()
999 size_t outFrameCount __unused, int32_t* temp __unused, int32_t* aux __unused) in track__nop()
[all …]
DAudioResamplerDyn.cpp561 size_t AudioResamplerDyn<TC, TI, TO>::resample(int32_t* out, size_t outFrameCount, in resample() argument
564 return (this->*mResampleFunc)(reinterpret_cast<TO*>(out), outFrameCount, provider); in resample()
569 size_t AudioResamplerDyn<TC, TI, TO>::resample(TO* out, size_t outFrameCount, in resample() argument
581 size_t outputSampleCount = outFrameCount * OUTPUT_CHANNELS; in resample()
583 size_t inFrameCount = (phaseIncrement * (uint64_t)outFrameCount + phaseFraction) in resample()
/frameworks/av/media/libaudioprocessing/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()
/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()
/frameworks/av/services/audioflinger/
DEffects.cpp1066 const size_t outFrameCount = mConfig.outputCfg.buffer.frameCount; in setOutBuffer() local
1069 const size_t size = outChannels * outFrameCount * std::max(sizeof(int16_t), sizeof(float)); in setOutBuffer()
1072 __func__, outChannels, outFrameCount, size); in setOutBuffer()
1083 mOutConversionBuffer->setFrameCount(outFrameCount); in setOutBuffer()