Home
last modified time | relevance | path

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

12

/frameworks/native/headers/media_plugin/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/mp3dec/
DSoftMP3.cpp303 if (inHeader->nOffset == 0 && inHeader->nFilledLen) { in onQueueFilled()
313 inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
358 outHeader->nOffset = 0; in onQueueFilled()
399 outHeader->nOffset = in onQueueFilled()
403 mConfig->outputFrameSize * sizeof(int16_t) - outHeader->nOffset; in onQueueFilled()
405 outHeader->nOffset = 0; in onQueueFilled()
415 inHeader->nOffset += mConfig->inputBufferUsedLength; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp323 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
337 inHeader->nOffset += copy; in onQueueFilled()
379 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
380 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
408 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp425 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
479 inHeader->nOffset)), in onQueueFilled()
485 inHeader->nOffset)), in onQueueFilled()
525 if (inHeader->nOffset == 0) { in onQueueFilled()
537 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
557 outHeader->nOffset = 0; in onQueueFilled()
564 outHeader->nOffset = mSamplesToDiscard * sizeof(int16_t) * in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp424 uint8_t *out = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
458 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
476 inHeader->nOffset += copy; in onQueueFilled()
531 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
532 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
563 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
DSoftAACEncoder2.cpp512 if (outHeader->nOffset + encInfo.confSize > outHeader->nAllocLen) { in onQueueFilled()
523 uint8_t *out = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
557 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
584 inHeader->nOffset += copy; in onQueueFilled()
626 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
627 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
707 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp370 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
384 inHeader->nOffset += copy; in onQueueFilled()
426 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
427 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
463 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libeffects/testlibs/
DEffectReverb.c662 uint16_t nOffset; in Reverb_Reset() local
714 nOffset = ReverbCalculateNoise(pReverb); in Reverb_Reset()
717 + nOffset; in Reverb_Reset()
719 nOffset = ReverbCalculateNoise(pReverb); in Reverb_Reset()
722 - nOffset; in Reverb_Reset()
724 nOffset = ReverbCalculateNoise(pReverb); in Reverb_Reset()
727 - nOffset; in Reverb_Reset()
729 nOffset = ReverbCalculateNoise(pReverb); in Reverb_Reset()
732 + nOffset; in Reverb_Reset()
1456 uint16_t nOffset; in ReverbUpdateXfade() local
[all …]
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp466 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader->nFilledLen, in onEncodedFlacAvailable()
469 outHeader->nOffset += mHeaderOffset; in onEncodedFlacAvailable()
476 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { in onEncodedFlacAvailable()
481 memcpy(outHeader->pBuffer + outHeader->nOffset, buffer, bytes); in onEncodedFlacAvailable()
484 outHeader->nOffset = 0; in onEncodedFlacAvailable()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp621 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
674 const uint8_t *adtsHeader = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
705 inHeader->nOffset += adtsHeaderSize; in onQueueFilled()
729 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
753 inHeader->nOffset += inBufferUsedLength; in onQueueFilled()
932 if (outHeader->nOffset != 0) { in onQueueFilled()
940 reinterpret_cast<INT_PCM *>(outHeader->pBuffer + outHeader->nOffset); in onQueueFilled()
942 if (outHeader->nOffset in onQueueFilled()
1041 + outHeader->nOffset); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp136 uint8_t *bitstream = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
219 uint32_t useExtTimestamp = (inHeader->nOffset == 0); in onQueueFilled()
289 inHeader->nOffset += bufferSize; in onQueueFilled()
307 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp361 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
440 inHeader->pBuffer + inHeader->nOffset + inHeader->nFilledLen - 4, in onQueueFilled()
443 if (inHeader->nOffset == 0) { in onQueueFilled()
457 buf.data = inHeader ? inHeader->pBuffer + inHeader->nOffset : NULL; in onQueueFilled()
525 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp401 outHeader->nOffset = 0; in onQueueFilled()
403 outHeader->nOffset = 0; in onQueueFilled()
450 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled()
459 inputData = (const uint8_t *)inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp380 if (inHeader->nOffset == 0) { in onQueueFilled()
385 const uint8_t *inputPtr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
497 inHeader->nOffset += numBytesRead; in onQueueFilled()
501 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp149 inPicture.pStream = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
255 if (outHeader->nAllocLen - outHeader->nOffset < frameSize) { in drainOneOutputBuffer()
265 uint8_t *dst = outHeader->pBuffer + outHeader->nOffset; in drainOneOutputBuffer()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp91 (header)->nOffset, (header)->nFilledLen, (header)->nFlags, (header)->nTimeStamp, (fenceFd)
142 memcpy(getPointer() + header->nOffset, codec->data(), codec->size()); in CopyFromOMX()
150 memcpy(header->pBuffer + header->nOffset, in CopyToOMX()
151 getPointer() + header->nOffset, in CopyToOMX()
159 if (header->nOffset + header->nFilledLen > header->nOffset in getBuffer()
160 && header->nOffset + header->nFilledLen <= header->nAllocLen) { in getBuffer()
161 buf->setRange(header->nOffset, header->nFilledLen); in getBuffer()
1647 header->nOffset = 0; in fillBuffer()
1721 header->nOffset = 0; in emptyBuffer_l()
1734 header->nOffset = rangeOffset; in emptyBuffer_l()
[all …]
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp307 uint8_t* inBuffer = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
364 reinterpret_cast<short *>(outHeader->pBuffer + outHeader->nOffset); in onQueueFilled()
365 size_t outBufferSize = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp250 inHeader->pBuffer + inHeader->nOffset, in onQueueFilled()
254 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp286 uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
292 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp155 outHeader->nOffset = 0; in outputBuffers()
275 (vpx_codec_ctx_t *)mCtx, inHeader->pBuffer + inHeader->nOffset, in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp299 const uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
312 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/base/graphics/java/android/graphics/
DPath.java733 nOffset(mNativePath, dx, dy); in offset()
854 private static native void nOffset(long nPath, float dx, float dy); in nOffset() method in Path
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp1179 source = inputBufferHeader->pBuffer + inputBufferHeader->nOffset; in setEncodeArgs()
1319 outputBufferHeader->nOffset = 0; in onQueueFilled()
1321 outputBufferHeader->nOffset = 0; in onQueueFilled()
1446 buf = bufHdr->pBuffer + bufHdr->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp398 + inHeader->nOffset; in setDecodeArgs()
520 outHeader->nOffset = 0; in onQueueFilled()

12