Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/m4v_h263/fuzzer/
Dmpeg4_h263_dec_fuzzer.cpp45 bool allocOutputBuffer(size_t outputBufferSize);
79 bool Codec::allocOutputBuffer(size_t outputBufferSize) { in allocOutputBuffer() argument
82 mOutputBuffer[i] = static_cast<uint8_t *>(malloc(outputBufferSize)); in allocOutputBuffer()
114 size_t outputBufferSize = align(mMaxWidth, 16) * align(mMaxHeight, 16) * 3 / 2; in decodeFrames() local
145 if (outputBufferSize < yFrameSize * 3 / 2) { in decodeFrames()
148 if (!allocOutputBuffer(outputBufferSize)) { in decodeFrames()
Dmpeg4_h263_enc_fuzzer.cpp139 size_t outputBufferSize = inputBufferSize * 2; in encodeFrames() local
140 uint8_t *outputBuffer = new uint8_t[outputBufferSize]; in encodeFrames()
144 int32_t sizeOutputBuffer = outputBufferSize; in encodeFrames()
162 int32_t dataLength = outputBufferSize; in encodeFrames()
/frameworks/av/media/module/codecs/g711/fuzzer/
Dg711_dec_fuzzer.cpp34 size_t outputBufferSize = sizeof(int16_t) * size; in decodeFrames() local
35 int16_t *out = new int16_t[outputBufferSize]; in decodeFrames()
/frameworks/av/media/module/codecs/m4v_h263/dec/test/
DMpeg4H263DecoderTest.cpp80 void allocOutputBuffer(size_t outputBufferSize);
110 void Mpeg4H263DecoderTest::allocOutputBuffer(size_t outputBufferSize) { in allocOutputBuffer() argument
113 mOutputBuffer[i] = (uint8_t *)malloc(outputBufferSize); in allocOutputBuffer()
159 size_t outputBufferSize = align(maxWidth, 16) * align(maxHeight, 16) * 3 / 2; in processMpeg4H263Decoder() local
237 ASSERT_GE(outputBufferSize, yFrameSize * 3 / 2) in processMpeg4H263Decoder()
238 << "Too small output buffer: " << outputBufferSize << " bytes"; in processMpeg4H263Decoder()
239 ASSERT_NO_FATAL_FAILURE(allocOutputBuffer(outputBufferSize)); in processMpeg4H263Decoder()
/frameworks/av/media/module/codecs/amrwb/dec/test/
DAmrwbDecoderTest.cpp88 int32_t outputBufferSize = kSamplesPerFrame * kBitsPerSample / 8; in DecodeFrames() local
89 memset(outputBuf, 0, outputBufferSize); in DecodeFrames()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftVideoEncoderOMXComponent.h49 OMX_U32 numInputBuffers, OMX_U32 numOutputBuffers, OMX_U32 outputBufferSize,
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c154 size_t outputBufferSize; member
555 pSession->outputBufferSize = OUTPUT_BUFFER_SIZE_INCREMENT; in FwdLockConv_WriteHeader()
556 pOutput->fromConvertData.pBuffer = malloc(pSession->outputBufferSize); in FwdLockConv_WriteHeader()
836 if (pOutput->fromConvertData.numBytes == pSession->outputBufferSize) { in FwdLockConv_WriteEncryptedChar()
838 pSession->outputBufferSize += OUTPUT_BUFFER_SIZE_INCREMENT; in FwdLockConv_WriteEncryptedChar()
839 pBuffer = realloc(pOutput->fromConvertData.pBuffer, pSession->outputBufferSize); in FwdLockConv_WriteEncryptedChar()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp84 OMX_U32 numInputBuffers, OMX_U32 numOutputBuffers, OMX_U32 outputBufferSize, in initPorts() argument
88 mMinOutputBufferSize = outputBufferSize; in initPorts()