Home
last modified time | relevance | path

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

/frameworks/av/media/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()
254 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
289 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
538 pExt->outputFrameSize = 0; in pvmp3_framedecoder()
555 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()
302 (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/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.cpp409 mConfig->outputFrameSize = (calOutSize - outSize); in process()
426 if (mConfig->outputFrameSize == 0) { in process()
427 mConfig->outputFrameSize = *it / sizeof(int16_t); in process()
429 memset(mConfig->pOutputBuffer, 0, mConfig->outputFrameSize * sizeof(int16_t)); in process()
455 if (*it != mConfig->outputFrameSize * sizeof(int16_t)) { in process()
461 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/codecs/mp3dec/include/
Dpvmp3decoder_api.h212 int32 outputFrameSize; member
/frameworks/av/media/codecs/mp3dec/fuzzer/
Dmp3_dec_fuzzer.cpp200 mConfig->outputFrameSize = outBufSize / sizeof(int16_t); in decodeFrames()
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h71 CopyBufferProvider(size_t inputFrameSize, size_t outputFrameSize,