Home
last modified time | relevance | path

Searched refs:sizeToBeCopied (Results 1 – 2 of 2) sorted by relevance

/hardware/intel/common/libmix/videoencoder/
DVideoEncoderAVC.cpp539 uint32_t sizeToBeCopied = 0; in outputOneNALU() local
550 sizeToBeCopied = nalSize + nalOffset; in outputOneNALU()
552 sizeToBeCopied = nalSize; in outputOneNALU()
555 if (sizeToBeCopied <= outBuffer->bufferSize) { in outputOneNALU()
557 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg, sizeToBeCopied); in outputOneNALU()
560 sizeToBeCopied); in outputOneNALU()
562 mTotalSizeCopied += sizeToBeCopied; in outputOneNALU()
564 outBuffer->dataSize = sizeToBeCopied; in outputOneNALU()
571 outBuffer->remainingSize = sizeToBeCopied; in outputOneNALU()
DVideoEncoderBase.cpp874 uint32_t sizeToBeCopied = 0; in outputAllData() local
890 sizeToBeCopied = mCurSegment->size - mOffsetInSeg; in outputAllData()
892 (uint8_t *)mCurSegment->buf + mOffsetInSeg, sizeToBeCopied); in outputAllData()
893 sizeCopiedHere += sizeToBeCopied; in outputAllData()
894 mTotalSizeCopied += sizeToBeCopied; in outputAllData()
897 sizeToBeCopied = outBuffer->bufferSize - sizeCopiedHere; in outputAllData()
900 mTotalSizeCopied += sizeToBeCopied; in outputAllData()
901 mOffsetInSeg += sizeToBeCopied; in outputAllData()