Lines Matching refs:mOffsetInSeg
503 ret = getHeader((uint8_t *)mCurSegment->buf + mOffsetInSeg, in outputCodecData()
504 mCurSegment->size - mOffsetInSeg, &headerSize, mCurSegment->status); in outputCodecData()
513 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg, headerSize); in outputCodecData()
515 mOffsetInSeg += headerSize; in outputCodecData()
544 ret = getOneNALUnit((uint8_t *)mCurSegment->buf + mOffsetInSeg, in outputOneNALU()
545 mCurSegment->size - mOffsetInSeg, &nalSize, &nalType, &nalOffset, mCurSegment->status); in outputOneNALU()
557 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg, sizeToBeCopied); in outputOneNALU()
559 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg + nalOffset, in outputOneNALU()
563 mOffsetInSeg += (nalSize + nalOffset); in outputOneNALU()
577 if (mCurSegment->size == mOffsetInSeg) { in outputOneNALU()
580 mOffsetInSeg = 0; in outputOneNALU()
603 if (mCurSegment->size < mOffsetInSeg || outBuffer->bufferSize < sizeCopiedHere) { in outputLengthPrefixed()
610 (uint8_t *)mCurSegment->buf + mOffsetInSeg, in outputLengthPrefixed()
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()
642 if (mCurSegment->size == mOffsetInSeg) { in outputLengthPrefixed()
645 mOffsetInSeg = 0; in outputLengthPrefixed()
674 if (mCurSegment->size < mOffsetInSeg || outBuffer->bufferSize < sizeCopiedHere) { in outputNaluLengthsPrefixed()
681 (uint8_t *)mCurSegment->buf + mOffsetInSeg, in outputNaluLengthsPrefixed()
682 … mCurSegment->size - mOffsetInSeg, &nalSize, &nalType, &nalOffset, mCurSegment->status); in outputNaluLengthsPrefixed()
688 (uint8_t *)mCurSegment->buf + mOffsetInSeg, nalSize + nalOffset); in outputNaluLengthsPrefixed()
692 mOffsetInSeg += (nalSize + nalOffset); in outputNaluLengthsPrefixed()
710 if (mCurSegment->size == mOffsetInSeg) { in outputNaluLengthsPrefixed()
713 mOffsetInSeg = 0; in outputNaluLengthsPrefixed()