Lines Matching refs:nalOffset

362         uint32_t *nalType, uint32_t *nalOffset, uint32_t status) {  in getOneNALUnit()  argument
386 *nalOffset = pos; in getOneNALUnit()
447 *nalSize = bufSize - dataRemaining - *nalOffset - 3; in getOneNALUnit()
451 *nalSize = bufSize - *nalOffset; in getOneNALUnit()
461 uint32_t nalOffset = 0; in getHeader() local
476 nalType = nalSize = nalOffset = 0; in getHeader()
477 ret = getOneNALUnit(buf, bufSize, &nalSize, &nalType, &nalOffset, status); in getHeader()
480 LOG_V("NAL type = %d, NAL size = %d, offset = %d\n", nalType, nalSize, nalOffset); in getHeader()
481 size = nalSize + nalOffset; in getHeader()
538 uint32_t nalOffset = 0; in outputOneNALU() local
545 mCurSegment->size - mOffsetInSeg, &nalSize, &nalType, &nalOffset, mCurSegment->status); in outputOneNALU()
550 sizeToBeCopied = nalSize + nalOffset; in outputOneNALU()
559 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg + nalOffset, in outputOneNALU()
563 mOffsetInSeg += (nalSize + nalOffset); in outputOneNALU()
596 uint32_t nalOffset = 0; in outputLengthPrefixed() local
611 … mCurSegment->size - mOffsetInSeg, &nalSize, &nalType, &nalOffset, mCurSegment->status); in outputLengthPrefixed()
625 (uint8_t *)mCurSegment->buf + mOffsetInSeg + nalOffset, nalSize); in outputLengthPrefixed()
629 mOffsetInSeg += (nalSize + nalOffset); in outputLengthPrefixed()
665 uint32_t nalOffset = 0; in outputNaluLengthsPrefixed() local
682 … mCurSegment->size - mOffsetInSeg, &nalSize, &nalType, &nalOffset, mCurSegment->status); in outputNaluLengthsPrefixed()
688 (uint8_t *)mCurSegment->buf + mOffsetInSeg, nalSize + nalOffset); in outputNaluLengthsPrefixed()
690 sizeCopiedHere += nalSize + nalOffset; in outputNaluLengthsPrefixed()
691 mTotalSizeCopied += nalSize + nalOffset; in outputNaluLengthsPrefixed()
692 mOffsetInSeg += (nalSize + nalOffset); in outputNaluLengthsPrefixed()
707 *nalLength = nalSize + nalOffset; in outputNaluLengthsPrefixed()