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);
DOMX_Core.h424 OMX_U32 nOffset; /**< start offset of valid data in bytes from member
/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/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()
948 if (outHeader->nOffset != 0) { in onQueueFilled()
956 + outHeader->nOffset); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp136 uint8_t *bitstream = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
210 uint32_t useExtTimestamp = (inHeader->nOffset == 0); in onQueueFilled()
248 inHeader->nOffset += bufferSize; in onQueueFilled()
266 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/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/on2/dec/
DSoftVPX.cpp122 inHeader->pBuffer + inHeader->nOffset, in onQueueFilled()
146 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/omx/
DOMXNodeInstance.cpp58 memcpy((OMX_U8 *)mMem->pointer() + header->nOffset, in CopyFromOMX()
59 header->pBuffer + header->nOffset, in CopyFromOMX()
68 memcpy(header->pBuffer + header->nOffset, in CopyToOMX()
69 (const OMX_U8 *)mMem->pointer() + header->nOffset, in CopyToOMX()
861 header->nOffset = 0; in fillBuffer()
877 header->nOffset = rangeOffset; in emptyBuffer()
898 header->nOffset = rangeOffset; in emptyDirectBuffer()
DSimpleSoftOMXComponent.cpp203 (*header)->nOffset = 0; in useBuffer()
518 buffer->mHeader->nOffset = 0; in onPortFlush()
/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/m4v_h263/enc/
DSoftMPEG4Encoder.cpp625 outHeader->nOffset = 0; in onQueueFilled()
627 outHeader->nOffset = 0; in onQueueFilled()
673 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled()
682 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.cpp147 inPicture.pStream = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
253 uint8_t *dst = outHeader->pBuffer + outHeader->nOffset; in drainOneOutputBuffer()
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.cpp720 outHeader->nOffset = 0; in onQueueFilled()
722 outHeader->nOffset = 0; in onQueueFilled()
803 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled()
813 inputData = (const uint8_t *)inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp495 + inHeader->nOffset; in setDecodeArgs()
587 outHeader->nOffset = 0; in onQueueFilled()

12