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.cpp879 uint32_t sizeToBeCopied = 0; in outputAllData() local
895 sizeToBeCopied = mCurSegment->size - mOffsetInSeg; in outputAllData()
897 (uint8_t *)mCurSegment->buf + mOffsetInSeg, sizeToBeCopied); in outputAllData()
898 sizeCopiedHere += sizeToBeCopied; in outputAllData()
899 mTotalSizeCopied += sizeToBeCopied; in outputAllData()
902 sizeToBeCopied = outBuffer->bufferSize - sizeCopiedHere; in outputAllData()
905 mTotalSizeCopied += sizeToBeCopied; in outputAllData()
906 mOffsetInSeg += sizeToBeCopied; in outputAllData()