Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp214 if ((outHeader->nAllocLen < yFrameSize) || in onQueueFilled()
215 (outHeader->nAllocLen - yFrameSize < yFrameSize / 2)) { in onQueueFilled()
217 (unsigned long)outHeader->nAllocLen); in onQueueFilled()
251 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()
277 if ((int32)outHeader->nAllocLen < mConfig->outputFrameSize) { in onQueueFilled()
279 outHeader->nAllocLen, mConfig->outputFrameSize); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp342 if (outHeader->nAllocLen < kNumSamplesPerFrameNB * sizeof(int16_t)) { in onQueueFilled()
344 kNumSamplesPerFrameNB * sizeof(int16_t), outHeader->nAllocLen); in onQueueFilled()
389 if (outHeader->nAllocLen < kNumSamplesPerFrameWB * sizeof(int16_t)) { in onQueueFilled()
391 kNumSamplesPerFrameWB * sizeof(int16_t), outHeader->nAllocLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.cpp520 uint32_t dataLength = outHeader->nAllocLen; in onQueueFilled()
552 dataLength = outHeader->nAllocLen - outHeader->nFilledLen; in onQueueFilled()
642 dataLength = outHeader->nAllocLen; // Reset the output buffer length in onQueueFilled()
644 if (outHeader->nAllocLen >= 4) { in onQueueFilled()
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp322 header, header->nAllocLen, header->pBuffer); in addCodecBuffer()
345 header, header->nAllocLen, header->nFilledLen, in codecBufferEmptied()
368 if (EXTRA_CHECK && header->nAllocLen >= sizeof(MetadataBufferType)) { in codecBufferEmptied()
374 && header->nAllocLen >= sizeof(VideoGrallocMetadata)) { in codecBufferEmptied()
383 && header->nAllocLen >= sizeof(VideoNativeMetadata)) { in codecBufferEmptied()
DOMXNodeInstance.cpp82 (addr), (header)->nAllocLen, (header)->pBuffer, (fenceFd)
84 (intptr_t)(addr), (header)->nAllocLen, (header)->pBuffer, \
149 buf = new ABuffer(header->pBuffer, header->nAllocLen); in getBuffer()
153 && header->nOffset + header->nFilledLen <= header->nAllocLen) { in getBuffer()
1011 portString(portIndex), portIndex, buffer, mMetadataType[portIndex], header->nAllocLen); in updateGraphicBufferInMeta_l()
1415 if (rangeOffset > header->nAllocLen in emptyBuffer()
1416 || rangeLength > header->nAllocLen - rangeOffset) { in emptyBuffer()
1459 OMX_U32 metaSize = portIndex == kPortIndexInput ? header->nFilledLen : header->nAllocLen; in storeFenceInMeta_l()
1481 OMX_U32 metaSize = portIndex == kPortIndexInput ? header->nAllocLen : header->nFilledLen; in retrieveFenceFromMeta_l()
1484 && header->nAllocLen >= sizeof(VideoNativeMetadata)) { in retrieveFenceFromMeta_l()
[all …]
DSimpleSoftOMXComponent.cpp209 (*header)->nAllocLen = size; in useBuffer()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp243 if (inHeader->nFilledLen * sizeof(int16_t) > outHeader->nAllocLen) { in onQueueFilled()
244 ALOGE("output buffer too small (%d).", outHeader->nAllocLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp231 if (outHeader->nAllocLen < (inHeader->nFilledLen / kMSGSMFrameSize) * 320) { in onQueueFilled()
232 ALOGE("output buffer is not large enough (%d).", outHeader->nAllocLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp406 if (numSamplesPerBuffer > outHeader->nAllocLen / sizeof(int16_t)) { in onQueueFilled()
407 numSamplesPerBuffer = outHeader->nAllocLen / sizeof(int16_t); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp462 if (frameSize > outHeader->nAllocLen / sizeof(int16_t) / mHeader->channels) { in onQueueFilled()
463 frameSize = outHeader->nAllocLen / sizeof(int16_t) / mHeader->channels; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp206 CHECK_GE(outHeader->nAllocLen, inHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp208 } else if (outHeader->nAllocLen < outHeader->nFilledLen) { in outputBufferSafe()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp384 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp255 if (outHeader->nAllocLen - outHeader->nOffset < frameSize) { in drainOneOutputBuffer()
/frameworks/native/include/media/openmax/
DOMX_Core.h421 OMX_U32 nAllocLen; /**< size of the buffer allocated, in bytes */ member
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp421 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { in onEncodedFlacAvailable()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp431 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp896 > outHeader->nAllocLen) { in onQueueFilled()
905 int numSamples = outHeader->nAllocLen / sizeof(int16_t); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp415 int32_t dataLength = outHeader->nAllocLen; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp537 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
DSoftAACEncoder2.cpp612 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp421 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) { in setDecodeArgs()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp461 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) { in setDecodeArgs()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp827 if (outputBufferHeader->nFilledLen > outputBufferHeader->nAllocLen) { in onQueueFilled()

12