Searched refs:sizeCopiedHere (Results 1 – 2 of 2) sorted by relevance
597 uint32_t sizeCopiedHere = 0; in outputLengthPrefixed() local603 if (mCurSegment->size < mOffsetInSeg || outBuffer->bufferSize < sizeCopiedHere) { in outputLengthPrefixed()614 if (nalSize + 4 <= outBuffer->bufferSize - sizeCopiedHere) { in outputLengthPrefixed()616 outBuffer->data[sizeCopiedHere] = (nalSize >> 24) & 0xff; in outputLengthPrefixed()617 outBuffer->data[sizeCopiedHere + 1] = (nalSize >> 16) & 0xff; in outputLengthPrefixed()618 outBuffer->data[sizeCopiedHere + 2] = (nalSize >> 8) & 0xff; in outputLengthPrefixed()619 outBuffer->data[sizeCopiedHere + 3] = nalSize & 0xff; in outputLengthPrefixed()621 sizeCopiedHere += 4; in outputLengthPrefixed()624 memcpy(outBuffer->data + sizeCopiedHere, in outputLengthPrefixed()627 sizeCopiedHere += nalSize; in outputLengthPrefixed()[all …]
878 uint32_t sizeCopiedHere = 0; in outputAllData() local887 outBuffer->bufferSize, sizeCopiedHere, mTotalSizeCopied); in outputAllData()889 if (mCurSegment->size < mOffsetInSeg || outBuffer->bufferSize < sizeCopiedHere) { in outputAllData()894 if ((mCurSegment->size - mOffsetInSeg) <= outBuffer->bufferSize - sizeCopiedHere) { in outputAllData()896 memcpy(outBuffer->data + sizeCopiedHere, in outputAllData()898 sizeCopiedHere += sizeToBeCopied; in outputAllData()902 sizeToBeCopied = outBuffer->bufferSize - sizeCopiedHere; in outputAllData()903 memcpy(outBuffer->data + sizeCopiedHere, in outputAllData()904 … (uint8_t *)mCurSegment->buf + mOffsetInSeg, outBuffer->bufferSize - sizeCopiedHere); in outputAllData()914 outBuffer->dataSize = sizeCopiedHere; in outputAllData()