Home
last modified time | relevance | path

Searched refs:outputFrameSize (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_framedecoder.cpp186 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
193 int32 outputFrameSize = (info->version_x == MPEG_1) ? in pvmp3_framedecoder() local
197 outputFrameSize = (info->mode == MPG_MD_MONO) ? outputFrameSize : outputFrameSize << 1; in pvmp3_framedecoder()
203 if (pExt->outputFrameSize >= outputFrameSize) in pvmp3_framedecoder()
205 pExt->outputFrameSize = outputFrameSize; in pvmp3_framedecoder()
209 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
249 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
284 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
529 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
546 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp265 mConfig->outputFrameSize = kOutputBufferSize / sizeof(int16_t); in onQueueFilled()
266 if ((int32)outHeader->nAllocLen < mConfig->outputFrameSize) { in onQueueFilled()
268 outHeader->nAllocLen, mConfig->outputFrameSize); in onQueueFilled()
292 if (mConfig->outputFrameSize == 0) { in onQueueFilled()
293 mConfig->outputFrameSize = kOutputBufferSize / sizeof(int16_t); in onQueueFilled()
317 mConfig->outputFrameSize * sizeof(int16_t)); in onQueueFilled()
342 mConfig->outputFrameSize * sizeof(int16_t) - outHeader->nOffset; in onQueueFilled()
345 outHeader->nFilledLen = mConfig->outputFrameSize * sizeof(int16_t); in onQueueFilled()
367 mNumFramesOutput += mConfig->outputFrameSize / mNumChannels; in onQueueFilled()
/frameworks/av/services/audioflinger/tests/
Dresampler_tests.cpp60 size_t outputFrameSize, size_t outputFrames) in buffercmp() argument
63 int check = memcmp((const char*)reference + i * outputFrameSize, in buffercmp()
64 (const char*)test + i * outputFrameSize, outputFrameSize); in buffercmp()
91 size_t outputFrameSize = channels * (useFloat ? sizeof(float) : sizeof(int32_t)); in testBufferIncrement() local
92 size_t outputSize = outputFrameSize * outputFrames; in testBufferIncrement()
134 buffercmp(reference, test, outputFrameSize, outputFrames); in testBufferIncrement()
177 size_t outputFrameSize = channels * sizeof(TO); in testStopbandDownconversion() local
178 size_t outputSize = outputFrameSize * outputFrames; in testStopbandDownconversion()
Dtest-mixer.cpp219 const size_t outputFrameSize = outputChannels in main() local
221 const size_t outputSize = outputFrames * outputFrameSize; in main()
304 (char *) outputAddr + i * outputFrameSize); in main()
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
Dmp3dec_test.cpp110 config.outputFrameSize = kOutputBufferSize / sizeof(int16_t); in main()
120 config.outputFrameSize / sfInfo.channels); in main()
/frameworks/av/services/audioflinger/
DBufferProviders.cpp46 size_t outputFrameSize, size_t bufferFrameCount) : in CopyBufferProvider() argument
48 mOutputFrameSize(outputFrameSize), in CopyBufferProvider()
54 inputFrameSize, outputFrameSize, bufferFrameCount); in CopyBufferProvider()
55 LOG_ALWAYS_FATAL_IF(inputFrameSize < outputFrameSize && bufferFrameCount == 0, in CopyBufferProvider()
57 inputFrameSize, outputFrameSize); in CopyBufferProvider()
DBufferProviders.h62 CopyBufferProvider(size_t inputFrameSize, size_t outputFrameSize,
/frameworks/av/media/libstagefright/codecs/mp3dec/include/
Dpvmp3decoder_api.h212 int32 outputFrameSize; member