/frameworks/base/services/audioflinger/ |
D | AudioResamplerCubic.cpp | 35 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()
|
D | AudioResampler.cpp | 45 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 …]
|
D | AudioResamplerCubic.h | 34 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,
|
D | AudioResamplerSinc.cpp | 172 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()
|
D | AudioResamplerSinc.h | 36 virtual void resample(int32_t* out, size_t outFrameCount, 42 void resample(int32_t* out, size_t outFrameCount,
|
D | AudioMixer.cpp | 565 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
|
D | AudioResampler.h | 53 virtual void resample(int32_t* out, size_t outFrameCount,
|
/frameworks/media/libvideoeditor/vss/src/ |
D | VideoEditorResampler.cpp | 146 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()
|
D | M4VSS3GPP_AudioMixing.c | 2937 M4OSA_UInt32 outFrameCount = uiChannelConvertorNbSamples; in M4VSS3GPP_intAudioMixingConvert() local
|
/frameworks/media/libvideoeditor/vss/common/inc/ |
D | VideoEditorResampler.h | 30 M4OSA_Int32 outFrameCount, M4OSA_Context resamplerContext);
|