Lines Matching refs:mCurSegment
503 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()
578 if (mCurSegment->next != NULL) { in outputOneNALU()
579 mCurSegment = (VACodedBufferSegment *)mCurSegment->next; in outputOneNALU()
584 mCurSegment = NULL; in outputOneNALU()
599 CHECK_NULL_RETURN_IFFAIL(mCurSegment->buf); in outputLengthPrefixed()
603 if (mCurSegment->size < mOffsetInSeg || outBuffer->bufferSize < sizeCopiedHere) { in outputLengthPrefixed()
610 (uint8_t *)mCurSegment->buf + mOffsetInSeg, in outputLengthPrefixed()
611 … mCurSegment->size - mOffsetInSeg, &nalSize, &nalType, &nalOffset, mCurSegment->status); in outputLengthPrefixed()
625 (uint8_t *)mCurSegment->buf + mOffsetInSeg + nalOffset, nalSize); in outputLengthPrefixed()
642 if (mCurSegment->size == mOffsetInSeg) { in outputLengthPrefixed()
643 if (mCurSegment->next != NULL) { in outputLengthPrefixed()
644 mCurSegment = (VACodedBufferSegment *)mCurSegment->next; in outputLengthPrefixed()
651 mCurSegment = NULL; in outputLengthPrefixed()
670 CHECK_NULL_RETURN_IFFAIL(mCurSegment->buf); in outputNaluLengthsPrefixed()
674 if (mCurSegment->size < mOffsetInSeg || outBuffer->bufferSize < sizeCopiedHere) { in outputNaluLengthsPrefixed()
681 (uint8_t *)mCurSegment->buf + mOffsetInSeg, in outputNaluLengthsPrefixed()
682 … mCurSegment->size - mOffsetInSeg, &nalSize, &nalType, &nalOffset, mCurSegment->status); in outputNaluLengthsPrefixed()
688 (uint8_t *)mCurSegment->buf + mOffsetInSeg, nalSize + nalOffset); in outputNaluLengthsPrefixed()
710 if (mCurSegment->size == mOffsetInSeg) { in outputNaluLengthsPrefixed()
711 if (mCurSegment->next != NULL) { in outputNaluLengthsPrefixed()
712 mCurSegment = (VACodedBufferSegment *)mCurSegment->next; in outputNaluLengthsPrefixed()
719 mCurSegment = NULL; in outputNaluLengthsPrefixed()