Home
last modified time | relevance | path

Searched refs:outputFrameSize (Results 1 – 10 of 10) 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()
533 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
550 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
/frameworks/av/media/libaudioprocessing/tests/
Dresampler_tests.cpp77 size_t outputFrameSize, size_t outputFrames) in buffercmp() argument
80 int check = memcmp((const char*)reference + i * outputFrameSize, in buffercmp()
81 (const char*)test + i * outputFrameSize, outputFrameSize); in buffercmp()
108 …size_t outputFrameSize = (channels == 1 ? 2 : channels) * (useFloat ? sizeof(float) : sizeof(int32… in testBufferIncrement() local
109 size_t outputSize = outputFrameSize * outputFrames; in testBufferIncrement()
123 void* reference = calloc(outputFrames, outputFrameSize); in testBufferIncrement()
144 void* test = calloc(outputFrames, outputFrameSize); in testBufferIncrement()
151 buffercmp(reference, test, outputFrameSize, outputFrames); in testBufferIncrement()
194 size_t outputFrameSize = (channels == 1 ? 2 : channels) * sizeof(TO); in testStopbandDownconversion() local
195 size_t outputSize = outputFrameSize * outputFrames; in testStopbandDownconversion()
[all …]
Dtest-mixer.cpp215 const size_t outputFrameSize = outputChannels in main() local
217 const size_t outputSize = outputFrames * outputFrameSize; in main()
301 (char *) outputAddr + i * outputFrameSize); in main()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp337 mConfig->outputFrameSize = kOutputBufferSize / sizeof(int16_t); in onQueueFilled()
338 if ((int32_t)outHeader->nAllocLen < mConfig->outputFrameSize) { in onQueueFilled()
340 outHeader->nAllocLen, mConfig->outputFrameSize); in onQueueFilled()
364 if (mConfig->outputFrameSize == 0) { in onQueueFilled()
365 mConfig->outputFrameSize = kOutputBufferSize / sizeof(int16_t); in onQueueFilled()
390 if (!memsetSafe(outHeader, 0, mConfig->outputFrameSize * sizeof(int16_t))) { in onQueueFilled()
417 mConfig->outputFrameSize * sizeof(int16_t) - outHeader->nOffset; in onQueueFilled()
420 outHeader->nFilledLen = mConfig->outputFrameSize * sizeof(int16_t); in onQueueFilled()
442 mNumFramesOutput += mConfig->outputFrameSize / mNumChannels; in onQueueFilled()
/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()
DMp3DecoderTest.cpp81 mConfig->outputFrameSize = kOutputBufferSize / sizeof(int16_t); in DecodeFrames()
84 sf_writef_short(outFileHandle, outputBuf, mConfig->outputFrameSize / sfInfo.channels); in DecodeFrames()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp408 mConfig->outputFrameSize = (calOutSize - outSize); in process()
425 if (mConfig->outputFrameSize == 0) { in process()
426 mConfig->outputFrameSize = *it / sizeof(int16_t); in process()
428 memset(mConfig->pOutputBuffer, 0, mConfig->outputFrameSize * sizeof(int16_t)); in process()
454 if (*it != mConfig->outputFrameSize * sizeof(int16_t)) { in process()
460 outSize += mConfig->outputFrameSize * sizeof(int16_t); in process()
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp42 size_t outputFrameSize, size_t bufferFrameCount) : in CopyBufferProvider() argument
44 mOutputFrameSize(outputFrameSize), in CopyBufferProvider()
50 inputFrameSize, outputFrameSize, bufferFrameCount); in CopyBufferProvider()
51 LOG_ALWAYS_FATAL_IF(inputFrameSize < outputFrameSize && bufferFrameCount == 0, in CopyBufferProvider()
53 inputFrameSize, outputFrameSize); in CopyBufferProvider()
/frameworks/av/media/libstagefright/codecs/mp3dec/include/
Dpvmp3decoder_api.h212 int32 outputFrameSize; member
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h71 CopyBufferProvider(size_t inputFrameSize, size_t outputFrameSize,