Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp229 if (inHeader->nOffset == 0 && inHeader->nFilledLen) { in onQueueFilled()
239 inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
276 outHeader->nOffset = 0; in onQueueFilled()
309 outHeader->nOffset = in onQueueFilled()
313 mConfig->outputFrameSize * sizeof(int16_t) - outHeader->nOffset; in onQueueFilled()
315 outHeader->nOffset = 0; in onQueueFilled()
326 inHeader->nOffset += mConfig->inputBufferUsedLength; in onQueueFilled()
/frameworks/native/include/media/openmax/
DOMX_Other.h202 OMX_TICKS nOffset; /**< Amount of wall clock time by which this member
242 OMX_TICKS nOffset; /**< Amount of wall clock time by which this member
295 OMX_TICKS nOffset; /**< Time to offset the media time by member
DOMX_ContentPipe.h167 CPresult (*SetPosition)( CPhandle hContent, CPint nOffset, CP_ORIGINTYPE eOrigin);
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp334 const uint8_t *data = header->pBuffer + header->nOffset; in onQueueFilled()
377 header->nOffset)), in onQueueFilled()
383 header->nOffset)), in onQueueFilled()
417 if (inHeader->nOffset == 0) { in onQueueFilled()
429 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
444 outHeader->nOffset = 0; in onQueueFilled()
451 outHeader->nOffset = mSamplesToDiscard * sizeof(int16_t) * in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp299 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
313 inHeader->nOffset += copy; in onQueueFilled()
355 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
356 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
384 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp401 uint8_t *out = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
435 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
453 inHeader->nOffset += copy; in onQueueFilled()
508 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
509 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
540 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
DSoftAACEncoder2.cpp456 uint8_t *out = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
490 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
508 inHeader->nOffset += copy; in onQueueFilled()
550 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
551 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
631 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp346 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
360 inHeader->nOffset += copy; in onQueueFilled()
402 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
403 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
439 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp258 const uint8_t *data = header->pBuffer + header->nOffset; in onQueueFilled()
317 + inHeader->nOffset + inHeader->nFilledLen - 4, in onQueueFilled()
320 if (inHeader->nOffset == 0) { in onQueueFilled()
334 buf.data = inHeader ? inHeader->pBuffer + inHeader->nOffset : NULL; in onQueueFilled()
389 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp385 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader->nFilledLen, in onEncodedFlacAvailable()
388 outHeader->nOffset += mHeaderOffset; in onEncodedFlacAvailable()
395 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { in onEncodedFlacAvailable()
400 memcpy(outHeader->pBuffer + outHeader->nOffset, buffer, bytes); in onEncodedFlacAvailable()
403 outHeader->nOffset = 0; in onEncodedFlacAvailable()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp137 uint8_t *bitstream = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
211 uint32_t useExtTimestamp = (inHeader->nOffset == 0); in onQueueFilled()
249 inHeader->nOffset += bufferSize; in onQueueFilled()
267 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libeffects/testlibs/
DEffectReverb.c659 uint16_t nOffset; in Reverb_Reset() local
711 nOffset = ReverbCalculateNoise(pReverb); in Reverb_Reset()
714 + nOffset; in Reverb_Reset()
716 nOffset = ReverbCalculateNoise(pReverb); in Reverb_Reset()
719 - nOffset; in Reverb_Reset()
721 nOffset = ReverbCalculateNoise(pReverb); in Reverb_Reset()
724 - nOffset; in Reverb_Reset()
726 nOffset = ReverbCalculateNoise(pReverb); in Reverb_Reset()
729 + nOffset; in Reverb_Reset()
1453 uint16_t nOffset; in ReverbUpdateXfade() local
[all …]
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp524 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
578 const uint8_t *adtsHeader = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
607 inHeader->nOffset += adtsHeaderSize; in onQueueFilled()
630 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
654 inHeader->nOffset += inBufferUsedLength; in onQueueFilled()
833 if (outHeader->nOffset != 0) { in onQueueFilled()
841 reinterpret_cast<INT_PCM *>(outHeader->pBuffer + outHeader->nOffset); in onQueueFilled()
843 if (outHeader->nOffset in onQueueFilled()
942 + outHeader->nOffset); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp306 if (inHeader->nOffset == 0) { in onQueueFilled()
311 const uint8_t *inputPtr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
389 inHeader->nOffset += numBytesRead; in onQueueFilled()
393 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp378 outHeader->nOffset = 0; in onQueueFilled()
380 outHeader->nOffset = 0; in onQueueFilled()
426 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled()
435 inputData = (const uint8_t *)inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp125 inHeader->pBuffer + inHeader->nOffset, in onQueueFilled()
149 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp183 inHeader->pBuffer + inHeader->nOffset, in onQueueFilled()
187 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp216 uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
222 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.cpp499 outHeader->nOffset = 0; in onQueueFilled()
501 outHeader->nOffset = 0; in onQueueFilled()
582 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled()
592 inputData = (const uint8_t *)inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp228 const uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
241 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp149 inPicture.pStream = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
255 uint8_t *dst = outHeader->pBuffer + outHeader->nOffset; in drainOneOutputBuffer()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp82 (header)->nOffset, (header)->nFilledLen, (header)->nFlags, (header)->nTimeStamp
123 memcpy((OMX_U8 *)mMem->pointer() + header->nOffset, in CopyFromOMX()
124 header->pBuffer + header->nOffset, in CopyFromOMX()
133 memcpy(header->pBuffer + header->nOffset, in CopyToOMX()
134 (const OMX_U8 *)mMem->pointer() + header->nOffset, in CopyToOMX()
959 header->nOffset = 0; in fillBuffer()
991 header->nOffset = rangeOffset; in emptyBuffer()
1064 header->nOffset = rangeOffset; in emptyDirectBuffer()
DSimpleSoftOMXComponent.cpp203 (*header)->nOffset = 0; in useBuffer()
518 buffer->mHeader->nOffset = 0; in onPortFlush()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp679 inputBufferHeader->pBuffer + inputBufferHeader->nOffset; in onQueueFilled()
758 outputBufferHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp500 + inHeader->nOffset; in setDecodeArgs()
592 outHeader->nOffset = 0; in onQueueFilled()

12