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()
491 inHeader->nOffset)), in onQueueFilled()
497 inHeader->nOffset)), in onQueueFilled()
537 if (inHeader->nOffset == 0) { in onQueueFilled()
549 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
569 outHeader->nOffset = 0; in onQueueFilled()
576 outHeader->nOffset = mSamplesToDiscard * sizeof(int16_t) * in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacenc/
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/m4v_h263/dec/
DSoftMPEG4.cpp140 uint8_t *bitstream = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
223 uint32_t useExtTimestamp = (inHeader->nOffset == 0); in onQueueFilled()
293 inHeader->nOffset += bufferSize; in onQueueFilled()
311 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp637 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
690 const uint8_t *adtsHeader = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
721 inHeader->nOffset += adtsHeaderSize; in onQueueFilled()
745 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
769 inHeader->nOffset += inBufferUsedLength; in onQueueFilled()
948 if (outHeader->nOffset != 0) { in onQueueFilled()
956 reinterpret_cast<INT_PCM *>(outHeader->pBuffer + outHeader->nOffset); in onQueueFilled()
958 if (outHeader->nOffset in onQueueFilled()
1057 + outHeader->nOffset); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp364 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
468 inHeader->pBuffer + inHeader->nOffset + inHeader->nFilledLen - 4, in onQueueFilled()
471 if (inHeader->nOffset == 0) { in onQueueFilled()
485 buf.data = inHeader ? inHeader->pBuffer + inHeader->nOffset : NULL; in onQueueFilled()
553 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp552 inBuffer = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
596 size_t tempOffset = inHeader->nOffset; in onQueueFilled()
603 const uint8_t* adtsHeader = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
635 inHeader->nOffset += adtsHeaderSize; in onQueueFilled()
655 inBuffer = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
689 inHeader->nOffset = tempOffset; in onQueueFilled()
709 inHeader->nOffset += bytesConsumed; in onQueueFilled()
750 if (outHeader->nOffset != 0) { in onQueueFilled()
758 reinterpret_cast<signed short*>(outHeader->pBuffer + outHeader->nOffset); in onQueueFilled()
760 if (outHeader->nOffset + mOutputFrameLength * samplesize > outHeader->nAllocLen) { 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/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/omx/
DOMXNodeInstance.cpp93 (header)->nOffset, (header)->nFilledLen, (header)->nFlags, (header)->nTimeStamp, (fenceFd)
144 memcpy(getPointer() + header->nOffset, codec->data(), codec->size()); in CopyFromOMX()
152 memcpy(header->pBuffer + header->nOffset, in CopyToOMX()
153 getPointer() + header->nOffset, in CopyToOMX()
161 if (header->nOffset + header->nFilledLen > header->nOffset in getBuffer()
162 && header->nOffset + header->nFilledLen <= header->nAllocLen) { in getBuffer()
163 buf->setRange(header->nOffset, header->nFilledLen); in getBuffer()
1700 header->nOffset = 0; in fillBuffer()
1777 header->nOffset = 0; in emptyBuffer_l()
1790 header->nOffset = rangeOffset; in emptyBuffer_l()
[all …]
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp511 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader->nFilledLen, in onEncodedFlacAvailable()
529 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { in onEncodedFlacAvailable()
534 memcpy(outHeader->pBuffer + outHeader->nOffset, buffer, bytes); in onEncodedFlacAvailable()
537 outHeader->nOffset = 0; in onEncodedFlacAvailable()
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp323 void *outBuffer = reinterpret_cast<void *>(outHeader->pBuffer + outHeader->nOffset); in onQueueFilled()
324 size_t outBufferSize = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
330 uint8_t* inBuffer = inHeader->pBuffer + inHeader->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/g711/dec/
DSoftG711.cpp301 const uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
314 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp172 outHeader->nOffset = 0; in outputBuffers()
303 (vpx_codec_ctx_t *)mCtx, inHeader->pBuffer + inHeader->nOffset, in onQueueFilled()
/frameworks/base/graphics/java/android/graphics/
DPath.java746 nOffset(mNativePath, dx, dy); in offset()
858 private static native void nOffset(long nPath, float dx, float dy); in nOffset() method in Path
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp1178 source = inputBufferHeader->pBuffer + inputBufferHeader->nOffset; in setEncodeArgs()
1318 outputBufferHeader->nOffset = 0; in onQueueFilled()
1320 outputBufferHeader->nOffset = 0; in onQueueFilled()
1445 buf = bufHdr->pBuffer + bufHdr->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp402 inHeader->pBuffer + inHeader->nOffset + mInputOffset; in setDecodeArgs()
524 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp399 + inHeader->nOffset; in setDecodeArgs()
521 outHeader->nOffset = 0; in onQueueFilled()

12