Home
last modified time | relevance | path

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

/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/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/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/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/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/omx/
DOMXNodeInstance.cpp88 (addr), (header)->nAllocLen, (header)->pBuffer, (fenceFd)
90 (intptr_t)(addr), (header)->nAllocLen, (header)->pBuffer, \
157 sp<ABuffer> buf = new ABuffer(header->pBuffer, header->nAllocLen); in getBuffer()
160 && header->nOffset + header->nFilledLen <= header->nAllocLen) { in getBuffer()
1356 portString(portIndex), portIndex, buffer, mMetadataType[portIndex], header->nAllocLen); in updateGraphicBufferInMeta_l()
1643 if (rangeOffset > header->nAllocLen in emptyBuffer_l()
1644 || rangeLength > header->nAllocLen - rangeOffset) { in emptyBuffer_l()
1687 OMX_U32 metaSize = portIndex == kPortIndexInput ? header->nFilledLen : header->nAllocLen; in storeFenceInMeta_l()
1709 OMX_U32 metaSize = portIndex == kPortIndexInput ? header->nAllocLen : header->nFilledLen; in retrieveFenceFromMeta_l()
1712 && header->nAllocLen >= sizeof(VideoNativeMetadata)) { in retrieveFenceFromMeta_l()
[all …]
DSimpleSoftOMXComponent.cpp224 (*header)->nAllocLen = size; in useBuffer()
/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/aacenc/
DSoftAACEncoder2.cpp512 if (outHeader->nOffset + encInfo.confSize > outHeader->nAllocLen) { in onQueueFilled()
627 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
DSoftAACEncoder.cpp532 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp208 } else if (outHeader->nAllocLen < outHeader->nFilledLen) { in outputBufferSafe()
/frameworks/native/include/media/openmax/
DOMX_Core.h421 OMX_U32 nAllocLen; /**< size of the buffer allocated, in bytes */ member
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp255 if (outHeader->nAllocLen - outHeader->nOffset < frameSize) { in drainOneOutputBuffer()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp380 size_t outAvailable = 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/flac/enc/
DSoftFlacEncoder.cpp421 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { in onEncodedFlacAvailable()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp897 > outHeader->nAllocLen) { in onQueueFilled()
906 int numSamples = outHeader->nAllocLen / sizeof(int16_t); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp407 int32_t dataLength = outHeader->nAllocLen; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp413 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) { in setDecodeArgs()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp413 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) { in setDecodeArgs()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp748 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/avcenc/
DSoftAVCEnc.cpp1177 ps_encode_ip->s_out_buf.u4_bufsize = outputBufferHeader->nAllocLen; in setEncodeArgs()