Lines Matching refs:sizeCopiedHere

597     uint32_t sizeCopiedHere = 0;  in outputLengthPrefixed()  local
603 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()
632 outBuffer->dataSize = sizeCopiedHere; in outputLengthPrefixed()
648 outBuffer->dataSize = sizeCopiedHere; in outputLengthPrefixed()
666 uint32_t sizeCopiedHere = 0; in outputNaluLengthsPrefixed() local
674 if (mCurSegment->size < mOffsetInSeg || outBuffer->bufferSize < sizeCopiedHere) { in outputNaluLengthsPrefixed()
685 if (nalSize + 4 <= outBuffer->bufferSize - NALUINFO_OFFSET - sizeCopiedHere) { in outputNaluLengthsPrefixed()
687 memcpy(outBuffer->data + NALUINFO_OFFSET + sizeCopiedHere, in outputNaluLengthsPrefixed()
690 sizeCopiedHere += nalSize + nalOffset; in outputNaluLengthsPrefixed()
695 outBuffer->dataSize = sizeCopiedHere; in outputNaluLengthsPrefixed()
716 outBuffer->dataSize = sizeCopiedHere; in outputNaluLengthsPrefixed()