HomeSort by relevance Sort by last modified time
    Searched refs:outFrameCount (Results 1 - 12 of 12) sorted by null

  /frameworks/base/services/audioflinger/
AudioResamplerCubic.cpp 35 void AudioResamplerCubic::resample(int32_t* out, size_t outFrameCount,
39 // LOG_ASSERT(outFrameCount < 32767);
44 resampleMono16(out, outFrameCount, provider);
47 resampleStereo16(out, outFrameCount, provider);
52 void AudioResamplerCubic::resampleStereo16(int32_t* out, size_t outFrameCount,
62 size_t outputSampleCount = outFrameCount * 2;
63 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate;
117 void AudioResamplerCubic::resampleMono16(int32_t* out, size_t outFrameCount,
127 size_t outputSampleCount = outFrameCount * 2;
128 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate
    [all...]
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,
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,
167 // LOG_ASSERT(outFrameCount < 32767);
172 resampleMono16(out, outFrameCount, provider);
175 resampleStereo16(out, outFrameCount, provider);
180 void AudioResamplerOrder1::resampleStereo16(int32_t* out, size_t outFrameCount,
190 size_t outputSampleCount = outFrameCount * 2;
191 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate
    [all...]
AudioResamplerSinc.h 36 virtual void resample(int32_t* out, size_t outFrameCount,
42 void resample(int32_t* out, size_t outFrameCount,
AudioResampler.h 53 virtual void resample(int32_t* out, size_t outFrameCount,
AudioResamplerSinc.cpp 172 void AudioResamplerSinc::resample(int32_t* out, size_t outFrameCount,
180 resample<1>(out, outFrameCount, provider);
183 resample<2>(out, outFrameCount, provider);
190 void AudioResamplerSinc::resample(int32_t* out, size_t outFrameCount,
199 size_t outputSampleCount = outFrameCount * 2;
200 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate;
AudioMixer.cpp 565 void AudioMixer::track__genericResample(track_t* t, int32_t* out, size_t outFrameCount, int32_t* temp, int32_t* aux)
575 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t));
576 t->resampler->resample(temp, outFrameCount, t->bufferProvider);
578 volumeRampStereo(t, out, outFrameCount, temp, aux);
580 volumeStereo(t, out, outFrameCount, temp, aux);
585 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t));
586 t->resampler->resample(temp, outFrameCount, t->bufferProvider);
587 volumeRampStereo(t, out, outFrameCount, temp, aux);
593 t->resampler->resample(out, outFrameCount, t->bufferProvider);
598 void AudioMixer::track__nop(track_t* t, int32_t* out, size_t outFrameCount, int32_t* temp, int32_t* aux
    [all...]
  /system/media/audio_utils/include/audio_utils/
resampler.h 68 * resample input from buffer provider and output at most *outFrameCount to out buffer.
69 * *outFrameCount is updated with the actual number of frames produced.
73 size_t *outFrameCount);
76 * *outFrameCount to out buffer. *inFrameCount and *outFrameCount are updated respectively
83 size_t *outFrameCount);
  /system/media/audio_utils/
resampler.c 71 // outputs a number of frames less or equal to *outFrameCount and updates *outFrameCount
75 size_t *outFrameCount)
79 if (rsmp == NULL || out == NULL || outFrameCount == NULL) {
83 *outFrameCount = 0;
87 size_t framesRq = *outFrameCount;
147 *outFrameCount = framesWr;
156 size_t *outFrameCount)
161 out == NULL || outFrameCount == NULL) {
165 *outFrameCount = 0
    [all...]
  /frameworks/media/libvideoeditor/vss/src/
VideoEditorResampler.cpp 146 M4OSA_Int32 outFrameCount, M4OSA_Context resamplerContext) {
152 context->nbSamples = (context->inSamplingRate * outFrameCount) / context->outSamplingRate;
158 pTmpBuffer = (int32_t*)malloc(outFrameCount * 2 * sizeof(int32_t));
159 memset(pTmpBuffer, 0x00, outFrameCount * 2 * sizeof(int32_t));
162 (size_t)outFrameCount, (VideoEditorResampler *)resamplerContext);
164 AudioMixer::ditherAndClamp((int32_t*)out, pTmpBuffer, outFrameCount);
M4VSS3GPP_AudioMixing.c     [all...]
  /frameworks/media/libvideoeditor/vss/common/inc/
VideoEditorResampler.h 30 M4OSA_Int32 outFrameCount, M4OSA_Context resamplerContext);

Completed in 247 milliseconds