Home
last modified time | relevance | path

Searched refs:nAllocLen (Results 1 – 25 of 25) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp210 if ((outHeader->nAllocLen < yFrameSize) || in onQueueFilled()
211 (outHeader->nAllocLen - yFrameSize < yFrameSize / 2)) { in onQueueFilled()
213 (unsigned long)outHeader->nAllocLen); in onQueueFilled()
247 if (outHeader->nAllocLen < frameSize) { in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp124 if (len > outHeader->nAllocLen) { in memsetSafe()
125 ALOGE("memset buffer too small: got %u, expected %zu", outHeader->nAllocLen, len); in memsetSafe()
338 if ((int32_t)outHeader->nAllocLen < mConfig->outputFrameSize) { in onQueueFilled()
340 outHeader->nAllocLen, mConfig->outputFrameSize); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp386 if (outHeader->nAllocLen < kNumSamplesPerFrameNB * sizeof(int16_t)) { in onQueueFilled()
388 kNumSamplesPerFrameNB * sizeof(int16_t), outHeader->nAllocLen); in onQueueFilled()
433 if (outHeader->nAllocLen < kNumSamplesPerFrameWB * sizeof(int16_t)) { in onQueueFilled()
435 kNumSamplesPerFrameWB * sizeof(int16_t), outHeader->nAllocLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp278 if (outHeader->nAllocLen < (inHeader->nFilledLen / kMSGSMFrameSize) * 320) { in onQueueFilled()
279 ALOGE("output buffer is not large enough (%d).", outHeader->nAllocLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp292 if (inHeader->nFilledLen * sizeof(int16_t) > outHeader->nAllocLen) { in onQueueFilled()
293 ALOGE("output buffer too small (%d).", outHeader->nAllocLen); in onQueueFilled()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp92 (addr), (header)->nAllocLen, (header)->pBuffer, (fenceFd)
94 (intptr_t)(addr), (header)->nAllocLen, (header)->pBuffer, \
176 sp<ABuffer> buf = new ABuffer(header->pBuffer, header->nAllocLen); in getBuffer()
179 && header->nOffset + header->nFilledLen <= header->nAllocLen) { in getBuffer()
1605 portString(portIndex), portIndex, buffer, mMetadataType[portIndex], header->nAllocLen); in updateGraphicBufferInMeta_l()
1916 if (rangeOffset > header->nAllocLen in emptyBuffer_l()
1917 || rangeLength > header->nAllocLen - rangeOffset) { in emptyBuffer_l()
1960 OMX_U32 metaSize = portIndex == kPortIndexInput ? header->nFilledLen : header->nAllocLen; in storeFenceInMeta_l()
1982 OMX_U32 metaSize = portIndex == kPortIndexInput ? header->nAllocLen : header->nFilledLen; in retrieveFenceFromMeta_l()
1985 && header->nAllocLen >= sizeof(VideoNativeMetadata)) { in retrieveFenceFromMeta_l()
[all …]
DSimpleSoftOMXComponent.cpp263 (*header)->nAllocLen = size; in useBuffer()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp557 if (frameSize > outHeader->nAllocLen / sizeof(int16_t) / mHeader->channels) { in onQueueFilled()
558 frameSize = outHeader->nAllocLen / sizeof(int16_t) / mHeader->channels; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp525 if (numSamplesPerBuffer > outHeader->nAllocLen / sizeof(int16_t)) { in onQueueFilled()
526 numSamplesPerBuffer = outHeader->nAllocLen / sizeof(int16_t); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp248 CHECK_GE(outHeader->nAllocLen, inHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp512 if (outHeader->nOffset + encInfo.confSize > outHeader->nAllocLen) { in onQueueFilled()
627 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp380 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
/frameworks/native/headers/media_plugin/media/openmax/
DOMX_Core.h421 OMX_U32 nAllocLen; /**< size of the buffer allocated, in bytes */ member
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp230 } else if (outHeader->nAllocLen < outHeader->nFilledLen) { in outputBufferSafe()
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp324 size_t outBufferSize = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp427 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp1017 > outHeader->nAllocLen) { in onQueueFilled()
1026 int numSamples = outHeader->nAllocLen / sizeof(int16_t); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp522 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { in onEncodedFlacAvailable()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp406 int32_t dataLength = outHeader->nAllocLen; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp414 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) { in setDecodeArgs()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp417 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) { in setDecodeArgs()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp757 if (outputBufferHeader->nFilledLen > outputBufferHeader->nAllocLen) { in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp550 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) { in setDecodeArgs()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp760 if (outHeader->nOffset + mOutputFrameLength * samplesize > outHeader->nAllocLen) { in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp1156 ps_encode_ip->s_out_buf.u4_bufsize = outputBufferHeader->nAllocLen; in setEncodeArgs()