Home
last modified time | relevance | path

Searched refs:mCurSegment (Results 1 – 4 of 4) sorted by relevance

/hardware/intel/common/libmix/videoencoder/
DVideoEncoderAVC.cpp503 ret = getHeader((uint8_t *)mCurSegment->buf + mOffsetInSeg, in outputCodecData()
504 mCurSegment->size - mOffsetInSeg, &headerSize, mCurSegment->status); in outputCodecData()
508 mCurSegment = NULL; in outputCodecData()
513 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg, headerSize); in outputCodecData()
542 CHECK_NULL_RETURN_IFFAIL(mCurSegment->buf); in outputOneNALU()
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()
577 if (mCurSegment->size == mOffsetInSeg) { in outputOneNALU()
[all …]
DVideoEncoderBase.cpp56 ,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()
[all …]
DVideoEncoderMP4.cpp67 ret = getHeaderPos((uint8_t *)mCurSegment->buf + mOffsetInSeg, in outputConfigData()
68 mCurSegment->size - mOffsetInSeg, &headerSize); in outputConfigData()
72 mCurSegment = NULL; in outputConfigData()
77 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg, headerSize); in outputConfigData()
DVideoEncoderBase.h164 VACodedBufferSegment *mCurSegment; variable