Lines Matching refs:mOffsetInSeg
57 ,mOffsetInSeg(0) in VideoEncoderBase()
665 mOffsetInSeg =0; in stop()
695 mOffsetInSeg = 0; in prepareForOutput()
715 mOffsetInSeg = ii; in prepareForOutput()
752 if (mCurSegment->size < mOffsetInSeg) { in prepareForOutput()
758 if (mCurSegment->size == mOffsetInSeg) { in prepareForOutput()
761 mOffsetInSeg = 0; in prepareForOutput()
785 mOffsetInSeg = 0; in cleanupForOutput()
880 LOG_V("mCurSegment->size = %d, mOffsetInSeg = %d\n", mCurSegment->size, mOffsetInSeg); in outputAllData()
884 if (mCurSegment->size < mOffsetInSeg || outBuffer->bufferSize < sizeCopiedHere) { in outputAllData()
889 if ((mCurSegment->size - mOffsetInSeg) <= outBuffer->bufferSize - sizeCopiedHere) { in outputAllData()
890 sizeToBeCopied = mCurSegment->size - mOffsetInSeg; in outputAllData()
892 (uint8_t *)mCurSegment->buf + mOffsetInSeg, sizeToBeCopied); in outputAllData()
895 mOffsetInSeg = 0; in outputAllData()
899 … (uint8_t *)mCurSegment->buf + mOffsetInSeg, outBuffer->bufferSize - sizeCopiedHere); in outputAllData()
901 mOffsetInSeg += sizeToBeCopied; in outputAllData()
917 mOffsetInSeg = 0; in outputAllData()