Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp245 if (inHeader->nOffset == 0 && inHeader->nFilledLen) { in onQueueFilled()
255 inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
300 outHeader->nOffset = 0; in onQueueFilled()
338 outHeader->nOffset = in onQueueFilled()
342 mConfig->outputFrameSize * sizeof(int16_t) - outHeader->nOffset; in onQueueFilled()
344 outHeader->nOffset = 0; in onQueueFilled()
354 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.cpp350 const uint8_t *data = header->pBuffer + header->nOffset; in onQueueFilled()
399 header->nOffset)), in onQueueFilled()
405 header->nOffset)), in onQueueFilled()
447 if (inHeader->nOffset == 0) { in onQueueFilled()
459 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
479 outHeader->nOffset = 0; in onQueueFilled()
486 outHeader->nOffset = mSamplesToDiscard * sizeof(int16_t) * in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp327 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
341 inHeader->nOffset += copy; in onQueueFilled()
383 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
384 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
412 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp429 uint8_t *out = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
463 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
481 inHeader->nOffset += copy; in onQueueFilled()
536 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
537 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
568 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
DSoftAACEncoder2.cpp517 uint8_t *out = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
551 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
569 inHeader->nOffset += copy; in onQueueFilled()
611 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
612 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
692 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp374 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
388 inHeader->nOffset += copy; in onQueueFilled()
430 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
431 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; in onQueueFilled()
467 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp411 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader->nFilledLen, in onEncodedFlacAvailable()
414 outHeader->nOffset += mHeaderOffset; in onEncodedFlacAvailable()
421 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { in onEncodedFlacAvailable()
426 memcpy(outHeader->pBuffer + outHeader->nOffset, buffer, bytes); in onEncodedFlacAvailable()
429 outHeader->nOffset = 0; in onEncodedFlacAvailable()
/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/m4v_h263/dec/
DSoftMPEG4.cpp144 uint8_t *bitstream = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
218 uint32_t useExtTimestamp = (inHeader->nOffset == 0); in onQueueFilled()
264 inHeader->nOffset += bufferSize; in onQueueFilled()
282 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp275 const uint8_t *data = header->pBuffer + header->nOffset; in onQueueFilled()
357 + inHeader->nOffset + inHeader->nFilledLen - 4, in onQueueFilled()
360 if (inHeader->nOffset == 0) { in onQueueFilled()
374 buf.data = inHeader ? inHeader->pBuffer + inHeader->nOffset : NULL; in onQueueFilled()
434 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp573 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
626 const uint8_t *adtsHeader = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
657 inHeader->nOffset += adtsHeaderSize; in onQueueFilled()
681 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
705 inHeader->nOffset += inBufferUsedLength; in onQueueFilled()
884 if (outHeader->nOffset != 0) { in onQueueFilled()
892 reinterpret_cast<INT_PCM *>(outHeader->pBuffer + outHeader->nOffset); in onQueueFilled()
894 if (outHeader->nOffset in onQueueFilled()
993 + outHeader->nOffset); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp333 if (inHeader->nOffset == 0) { in onQueueFilled()
338 const uint8_t *inputPtr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
450 inHeader->nOffset += numBytesRead; in onQueueFilled()
454 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp411 outHeader->nOffset = 0; in onQueueFilled()
413 outHeader->nOffset = 0; in onQueueFilled()
452 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled()
461 inputData = (const uint8_t *)inHeader->pBuffer + inHeader->nOffset; 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.cpp85 (header)->nOffset, (header)->nFilledLen, (header)->nFlags, (header)->nTimeStamp, (fenceFd)
122 memcpy((OMX_U8 *)mMem->pointer() + header->nOffset, codec->data(), codec->size()); in CopyFromOMX()
130 memcpy(header->pBuffer + header->nOffset, in CopyToOMX()
131 (const OMX_U8 *)mMem->pointer() + header->nOffset, in CopyToOMX()
144 if (header->nOffset + header->nFilledLen > header->nOffset in getBuffer()
145 && header->nOffset + header->nFilledLen <= header->nAllocLen) { in getBuffer()
146 buf->setRange(header->nOffset, header->nFilledLen); in getBuffer()
1215 header->nOffset = 0; in fillBuffer()
1270 header->nOffset = 0; in emptyBuffer()
1283 header->nOffset = rangeOffset; in emptyBuffer()
[all …]
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp208 inHeader->pBuffer + inHeader->nOffset, in onQueueFilled()
212 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.cpp515 outHeader->nOffset = 0; in onQueueFilled()
517 outHeader->nOffset = 0; in onQueueFilled()
591 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled()
601 inputData = (const uint8_t *)inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp252 const uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
265 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp155 outHeader->nOffset = 0; in outputBuffers()
258 (vpx_codec_ctx_t *)mCtx, inHeader->pBuffer + inHeader->nOffset, in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp239 uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
245 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp364 + inHeader->nOffset; in setDecodeArgs()
486 outHeader->nOffset = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp1188 source = inputBufferHeader->pBuffer + inputBufferHeader->nOffset; in setEncodeArgs()
1328 outputBufferHeader->nOffset = 0; in onQueueFilled()
1330 outputBufferHeader->nOffset = 0; in onQueueFilled()
1455 buf = bufHdr->pBuffer + bufHdr->nOffset; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp403 inHeader->pBuffer + inHeader->nOffset; in setDecodeArgs()
529 outHeader->nOffset = 0; in onQueueFilled()

12