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()
324 if ((int32_t)outHeader->nAllocLen < mConfig->outputFrameSize) { in onQueueFilled()
326 outHeader->nAllocLen, mConfig->outputFrameSize); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp389 if (outHeader->nAllocLen < kNumSamplesPerFrameNB * sizeof(int16_t)) { in onQueueFilled()
391 kNumSamplesPerFrameNB * sizeof(int16_t), outHeader->nAllocLen); in onQueueFilled()
436 if (outHeader->nAllocLen < kNumSamplesPerFrameWB * sizeof(int16_t)) { in onQueueFilled()
438 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.cpp90 (addr), (header)->nAllocLen, (header)->pBuffer, (fenceFd)
92 (intptr_t)(addr), (header)->nAllocLen, (header)->pBuffer, \
159 sp<ABuffer> buf = new ABuffer(header->pBuffer, header->nAllocLen); in getBuffer()
162 && header->nOffset + header->nFilledLen <= header->nAllocLen) { in getBuffer()
1470 portString(portIndex), portIndex, buffer, mMetadataType[portIndex], header->nAllocLen); in updateGraphicBufferInMeta_l()
1781 if (rangeOffset > header->nAllocLen in emptyBuffer_l()
1782 || rangeLength > header->nAllocLen - rangeOffset) { in emptyBuffer_l()
1825 OMX_U32 metaSize = portIndex == kPortIndexInput ? header->nFilledLen : header->nAllocLen; in storeFenceInMeta_l()
1847 OMX_U32 metaSize = portIndex == kPortIndexInput ? header->nAllocLen : header->nFilledLen; in retrieveFenceFromMeta_l()
1850 && header->nAllocLen >= sizeof(VideoNativeMetadata)) { in retrieveFenceFromMeta_l()
[all …]
DSimpleSoftOMXComponent.cpp246 (*header)->nAllocLen = size; in useBuffer()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp552 if (frameSize > outHeader->nAllocLen / sizeof(int16_t) / mHeader->channels) { in onQueueFilled()
553 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/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/raw/
DSoftRaw.cpp248 CHECK_GE(outHeader->nAllocLen, inHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp230 } else if (outHeader->nAllocLen < outHeader->nFilledLen) { in outputBufferSafe()
/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/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/m4v_h263/enc/
DSoftMPEG4Encoder.cpp406 int32_t dataLength = outHeader->nAllocLen; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp960 > outHeader->nAllocLen) { in onQueueFilled()
969 int numSamples = outHeader->nAllocLen / sizeof(int16_t); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp529 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { in onEncodedFlacAvailable()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp417 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) { in setDecodeArgs()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp414 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/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()