/frameworks/av/services/audioflinger/ |
AudioResamplerCubic.cpp | 35 void AudioResamplerCubic::resample(int32_t* out, size_t outFrameCount, 39 // ALOG_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; 118 void AudioResamplerCubic::resampleMono16(int32_t* out, size_t outFrameCount, 128 size_t outputSampleCount = outFrameCount * 2; 129 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,
|
AudioResamplerSinc.h | 42 virtual void resample(int32_t* out, size_t outFrameCount, 50 void resample(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, 280 void AudioResamplerOrder1::resample(int32_t* out, size_t outFrameCount, 284 // ALOG_ASSERT(outFrameCount < 32767); 289 resampleMono16(out, outFrameCount, provider); 292 resampleStereo16(out, outFrameCount, provider); 297 void AudioResamplerOrder1::resampleStereo16(int32_t* out, size_t outFrameCount, 307 size_t outputSampleCount = outFrameCount * 2; 308 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate [all...] |
AudioResampler.h | 67 virtual void resample(int32_t* out, size_t outFrameCount,
|
AudioMixer.cpp | 774 void AudioMixer::track__genericResample(track_t* t, int32_t* out, size_t outFrameCount, 785 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); 786 t->resampler->resample(temp, outFrameCount, t->bufferProvider); 788 volumeRampStereo(t, out, outFrameCount, temp, aux); 790 volumeStereo(t, out, outFrameCount, temp, aux); 795 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); 796 t->resampler->resample(temp, outFrameCount, t->bufferProvider); 797 volumeRampStereo(t, out, outFrameCount, temp, aux); 803 t->resampler->resample(out, outFrameCount, t->bufferProvider); 808 void AudioMixer::track__nop(track_t* t, int32_t* out, size_t outFrameCount, int32_t* temp [all...] |
AudioResamplerSinc.cpp | [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/av/libvideoeditor/vss/src/ |
VideoEditorResampler.cpp | 147 M4OSA_Int32 outFrameCount, M4OSA_Context resamplerContext) { 153 context->nbSamples = (context->inSamplingRate * outFrameCount) / context->outSamplingRate; 159 pTmpBuffer = (int32_t*)malloc(outFrameCount * 2 * sizeof(int32_t)); 160 memset(pTmpBuffer, 0x00, outFrameCount * 2 * sizeof(int32_t)); 163 (size_t)outFrameCount, (VideoEditorResampler *)resamplerContext); 165 ditherAndClamp((int32_t*)out, pTmpBuffer, outFrameCount);
|
M4VSS3GPP_AudioMixing.c | [all...] |
/frameworks/av/libvideoeditor/vss/common/inc/ |
VideoEditorResampler.h | 30 M4OSA_Int32 outFrameCount, M4OSA_Context resamplerContext);
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
VideoEncoderDecoderTest.java | 359 int outFrameCount = 0; 388 if (VERBOSE && (outFrameCount == 0)) { 393 Point origin = getOrigin(outFrameCount); 400 Log.i(TAG, outFrameCount + "-" + i + "- th round expcted " + expected.mY + 411 outFrameCount++; 436 assertTrue(outFrameCount >= TOTAL_FRAMES); 438 double errorRms = Math.sqrt(totalErrorSquared / PIXEL_CHECK_PER_FRAME / outFrameCount / 3);
|