Home
last modified time | relevance | path

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

/frameworks/base/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 = (outFrameCount*mInSampleRate)/mSampleRate; in resampleStereo16()
117 void AudioResamplerCubic::resampleMono16(int32_t* out, size_t outFrameCount, in resampleMono16() argument
127 size_t outputSampleCount = outFrameCount * 2; in resampleMono16()
128 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate; in resampleMono16()
DAudioResampler.cpp45 virtual void resample(int32_t* out, size_t outFrameCount,
55 void resampleMono16(int32_t* out, size_t outFrameCount,
57 void resampleStereo16(int32_t* out, size_t outFrameCount,
163 void AudioResamplerOrder1::resample(int32_t* out, size_t outFrameCount, in resample() argument
172 resampleMono16(out, outFrameCount, provider); in resample()
175 resampleStereo16(out, outFrameCount, provider); in resample()
180 void AudioResamplerOrder1::resampleStereo16(int32_t* out, size_t outFrameCount, in resampleStereo16() argument
190 size_t outputSampleCount = outFrameCount * 2; in resampleStereo16()
191 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate; in resampleStereo16()
276 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,
DAudioResamplerSinc.cpp172 void AudioResamplerSinc::resample(int32_t* out, size_t outFrameCount, in resample() argument
180 resample<1>(out, outFrameCount, provider); in resample()
183 resample<2>(out, outFrameCount, provider); in resample()
190 void AudioResamplerSinc::resample(int32_t* out, size_t outFrameCount, in resample() argument
199 size_t outputSampleCount = outFrameCount * 2; in resample()
200 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate; in resample()
DAudioResamplerSinc.h36 virtual void resample(int32_t* out, size_t outFrameCount,
42 void resample(int32_t* out, size_t outFrameCount,
DAudioMixer.cpp565 void AudioMixer::track__genericResample(track_t* t, int32_t* out, size_t outFrameCount, int32_t* te… in track__genericResample() argument
575 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); in track__genericResample()
576 t->resampler->resample(temp, outFrameCount, t->bufferProvider); in track__genericResample()
578 volumeRampStereo(t, out, outFrameCount, temp, aux); in track__genericResample()
580 volumeStereo(t, out, outFrameCount, temp, aux); in track__genericResample()
585 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); in track__genericResample()
586 t->resampler->resample(temp, outFrameCount, t->bufferProvider); in track__genericResample()
587 volumeRampStereo(t, out, outFrameCount, temp, aux); in track__genericResample()
593 t->resampler->resample(out, outFrameCount, t->bufferProvider); in track__genericResample()
598 void AudioMixer::track__nop(track_t* t, int32_t* out, size_t outFrameCount, int32_t* temp, int32_t*… in track__nop() argument
DAudioResampler.h53 virtual void resample(int32_t* out, size_t outFrameCount,
/frameworks/media/libvideoeditor/vss/src/
DVideoEditorResampler.cpp146 M4OSA_Int32 outFrameCount, M4OSA_Context resamplerContext) { in LVAudioresample_LowQuality() argument
152 context->nbSamples = (context->inSamplingRate * outFrameCount) / context->outSamplingRate; in LVAudioresample_LowQuality()
158 pTmpBuffer = (int32_t*)malloc(outFrameCount * 2 * sizeof(int32_t)); in LVAudioresample_LowQuality()
159 memset(pTmpBuffer, 0x00, outFrameCount * 2 * sizeof(int32_t)); in LVAudioresample_LowQuality()
162 (size_t)outFrameCount, (VideoEditorResampler *)resamplerContext); in LVAudioresample_LowQuality()
164 AudioMixer::ditherAndClamp((int32_t*)out, pTmpBuffer, outFrameCount); in LVAudioresample_LowQuality()
DM4VSS3GPP_AudioMixing.c2937 M4OSA_UInt32 outFrameCount = uiChannelConvertorNbSamples; in M4VSS3GPP_intAudioMixingConvert() local
/frameworks/media/libvideoeditor/vss/common/inc/
DVideoEditorResampler.h30 M4OSA_Int32 outFrameCount, M4OSA_Context resamplerContext);