Lines Matching refs:mCurSegment
56 ,mCurSegment(NULL) in VideoEncoderBase()
581 mCurSegment = NULL; in getOutput()
664 mCurSegment = NULL; in stop()
685 if (mCurSegment == NULL) { in prepareForOutput()
698 mCurSegment = (VACodedBufferSegment *)mOutCodedBufferPtr; in prepareForOutput()
749 if (!mCurSegment) in prepareForOutput()
752 if (mCurSegment->size < mOffsetInSeg) { in prepareForOutput()
758 if (mCurSegment->size == mOffsetInSeg) { in prepareForOutput()
759 if (mCurSegment->next != NULL) { in prepareForOutput()
760 mCurSegment = (VACodedBufferSegment *)mCurSegment->next; in prepareForOutput()
766 mCurSegment = NULL; in prepareForOutput()
780 if (mCurSegment == NULL && mOutCodedBufferPtr) { 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()
899 … (uint8_t *)mCurSegment->buf + mOffsetInSeg, outBuffer->bufferSize - sizeCopiedHere); in outputAllData()
908 if (mCurSegment->next == NULL) { in outputAllData()
912 mCurSegment = NULL; in outputAllData()
916 mCurSegment = (VACodedBufferSegment *)mCurSegment->next; in outputAllData()