@Properties(inherit=nvencodeapi.class) public class NV_ENC_LOCK_BITSTREAM extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
NV_ENC_LOCK_BITSTREAM()
Default native constructor.
|
NV_ENC_LOCK_BITSTREAM(long size)
Native array allocator.
|
NV_ENC_LOCK_BITSTREAM(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
alphaLayerSizeInBytes()
[out]: Number of bytes generated for the alpha layer in the encoded output.
|
NV_ENC_LOCK_BITSTREAM |
alphaLayerSizeInBytes(int setter) |
int |
averageMVX()
[out]: Average Motion Vector in X direction for the encoded frame.
|
NV_ENC_LOCK_BITSTREAM |
averageMVX(int setter) |
int |
averageMVY()
[out]: Average Motion Vector in y direction for the encoded frame.
|
NV_ENC_LOCK_BITSTREAM |
averageMVY(int setter) |
Pointer |
bitstreamBufferPtr()
[out]: Pointer to the generated output bitstream.
|
NV_ENC_LOCK_BITSTREAM |
bitstreamBufferPtr(Pointer setter) |
int |
bitstreamSizeInBytes()
[out]: Actual number of bytes generated and copied to the memory pointed by bitstreamBufferPtr.
|
NV_ENC_LOCK_BITSTREAM |
bitstreamSizeInBytes(int setter) |
int |
doNotWait()
[in]: If this flag is set, the NvEncodeAPI interface will return buffer pointer even if operation is not completed.
|
NV_ENC_LOCK_BITSTREAM |
doNotWait(int setter) |
int |
frameAvgQP()
[out]: Average QP of the frame.
|
NV_ENC_LOCK_BITSTREAM |
frameAvgQP(int setter) |
int |
frameIdx()
[out]: Frame no.
|
NV_ENC_LOCK_BITSTREAM |
frameIdx(int setter) |
int |
frameIdxDisplay()
[out]: Frame index in display order
|
NV_ENC_LOCK_BITSTREAM |
frameIdxDisplay(int setter) |
int |
frameSatd()
[out]: Total SATD cost for whole frame.
|
NV_ENC_LOCK_BITSTREAM |
frameSatd(int setter) |
NV_ENC_LOCK_BITSTREAM |
getPointer(long i) |
int |
getRCStats()
[in]: If this flag is set then lockBitstream call will add additional intra-inter MB count and average MVX, MVY
|
NV_ENC_LOCK_BITSTREAM |
getRCStats(int setter) |
int |
hwEncodeStatus()
[out]: The NvEncodeAPI interface status for the locked picture.
|
NV_ENC_LOCK_BITSTREAM |
hwEncodeStatus(int setter) |
int |
interMBCount()
[out]: For H264, Number of Inter MBs in the encoded frame, includes skip MBs.
|
NV_ENC_LOCK_BITSTREAM |
interMBCount(int setter) |
int |
intraMBCount()
[out]: For H264, Number of Intra MBs in the encoded frame.
|
NV_ENC_LOCK_BITSTREAM |
intraMBCount(int setter) |
int |
ltrFrame()
[out]: Flag indicating this frame is marked as LTR frame
|
NV_ENC_LOCK_BITSTREAM |
ltrFrame(int setter) |
int |
ltrFrameBitmap()
[out]: Bitmap of LTR frames indices which were used for encoding this frame.
|
NV_ENC_LOCK_BITSTREAM |
ltrFrameBitmap(int setter) |
int |
ltrFrameIdx()
[out]: Frame index associated with this LTR frame.
|
NV_ENC_LOCK_BITSTREAM |
ltrFrameIdx(int setter) |
int |
numSlices()
[out]: Number of slices (H264/HEVC) or tiles (AV1) in the encoded picture.
|
NV_ENC_LOCK_BITSTREAM |
numSlices(int setter) |
Pointer |
outputBitstream()
[in]: Pointer to the bitstream buffer being locked.
|
NV_ENC_LOCK_BITSTREAM |
outputBitstream(Pointer setter) |
long |
outputDuration()
[out]: Presentation duration associates with the encoded output.
|
NV_ENC_LOCK_BITSTREAM |
outputDuration(long setter) |
Pointer |
outputStatsPtr()
[in, out]: Buffer which receives the encoded frame output stats, if NV_ENC_INITIALIZE_PARAMS::enableOutputStats is set to 1.
|
NV_ENC_LOCK_BITSTREAM |
outputStatsPtr(Pointer setter) |
int |
outputStatsPtrSize()
[in]: Size of the buffer pointed by NV_ENC_LOCK_BITSTREAM::outputStatsPtr.
|
NV_ENC_LOCK_BITSTREAM |
outputStatsPtrSize(int setter) |
long |
outputTimeStamp()
[out]: Presentation timestamp associated with the encoded output.
|
NV_ENC_LOCK_BITSTREAM |
outputTimeStamp(long setter) |
int |
pictureStruct()
[out]: Structure of the generated output picture.
|
NV_ENC_LOCK_BITSTREAM |
pictureStruct(int setter) |
int |
pictureType()
[out]: Picture type of the encoded picture.
|
NV_ENC_LOCK_BITSTREAM |
pictureType(int setter) |
NV_ENC_LOCK_BITSTREAM |
position(long position) |
IntPointer |
reserved1() |
int |
reserved1(int i)
[in]: Reserved and must be set to 0
|
NV_ENC_LOCK_BITSTREAM |
reserved1(int i,
int setter) |
PointerPointer |
reserved2() |
Pointer |
reserved2(int i)
[in]: Reserved and must be set to NULL
|
NV_ENC_LOCK_BITSTREAM |
reserved2(int i,
Pointer setter) |
int |
reservedBitFields()
[in]: Reserved bit fields and must be set to 0
|
NV_ENC_LOCK_BITSTREAM |
reservedBitFields(int setter) |
IntPointer |
reservedInternal() |
int |
reservedInternal(int i)
[in]: Reserved and must be set to 0
|
NV_ENC_LOCK_BITSTREAM |
reservedInternal(int i,
int setter) |
IntPointer |
sliceOffsets()
[in, out]: Array which receives the slice (H264/HEVC) or tile (AV1) offsets.
|
NV_ENC_LOCK_BITSTREAM |
sliceOffsets(IntPointer setter) |
int |
temporalId()
[out]: TemporalId value of the frame when using temporalSVC encoding
|
NV_ENC_LOCK_BITSTREAM |
temporalId(int setter) |
int |
version()
[in]: Struct version.
|
NV_ENC_LOCK_BITSTREAM |
version(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public NV_ENC_LOCK_BITSTREAM()
public NV_ENC_LOCK_BITSTREAM(long size)
Pointer.position(long)
.public NV_ENC_LOCK_BITSTREAM(Pointer p)
Pointer(Pointer)
.public NV_ENC_LOCK_BITSTREAM position(long position)
public NV_ENC_LOCK_BITSTREAM getPointer(long i)
getPointer
in class Pointer
@Cast(value="uint32_t") public int version()
public NV_ENC_LOCK_BITSTREAM version(int setter)
@Cast(value="uint32_t") @NoOffset public int doNotWait()
public NV_ENC_LOCK_BITSTREAM doNotWait(int setter)
@Cast(value="uint32_t") @NoOffset public int ltrFrame()
public NV_ENC_LOCK_BITSTREAM ltrFrame(int setter)
@Cast(value="uint32_t") @NoOffset public int getRCStats()
public NV_ENC_LOCK_BITSTREAM getRCStats(int setter)
@Cast(value="uint32_t") @NoOffset public int reservedBitFields()
public NV_ENC_LOCK_BITSTREAM reservedBitFields(int setter)
public Pointer outputBitstream()
public NV_ENC_LOCK_BITSTREAM outputBitstream(Pointer setter)
@Cast(value="uint32_t*") public IntPointer sliceOffsets()
public NV_ENC_LOCK_BITSTREAM sliceOffsets(IntPointer setter)
@Cast(value="uint32_t") public int frameIdx()
public NV_ENC_LOCK_BITSTREAM frameIdx(int setter)
@Cast(value="uint32_t") public int hwEncodeStatus()
public NV_ENC_LOCK_BITSTREAM hwEncodeStatus(int setter)
@Cast(value="uint32_t") public int numSlices()
public NV_ENC_LOCK_BITSTREAM numSlices(int setter)
@Cast(value="uint32_t") public int bitstreamSizeInBytes()
public NV_ENC_LOCK_BITSTREAM bitstreamSizeInBytes(int setter)
@Cast(value="uint64_t") public long outputTimeStamp()
public NV_ENC_LOCK_BITSTREAM outputTimeStamp(long setter)
@Cast(value="uint64_t") public long outputDuration()
public NV_ENC_LOCK_BITSTREAM outputDuration(long setter)
public Pointer bitstreamBufferPtr()
public NV_ENC_LOCK_BITSTREAM bitstreamBufferPtr(Pointer setter)
@Cast(value="NV_ENC_PIC_TYPE") public int pictureType()
public NV_ENC_LOCK_BITSTREAM pictureType(int setter)
@Cast(value="NV_ENC_PIC_STRUCT") public int pictureStruct()
public NV_ENC_LOCK_BITSTREAM pictureStruct(int setter)
public NV_ENC_LOCK_BITSTREAM frameAvgQP(int setter)
public NV_ENC_LOCK_BITSTREAM frameSatd(int setter)
@Cast(value="uint32_t") public int ltrFrameIdx()
public NV_ENC_LOCK_BITSTREAM ltrFrameIdx(int setter)
@Cast(value="uint32_t") public int ltrFrameBitmap()
public NV_ENC_LOCK_BITSTREAM ltrFrameBitmap(int setter)
@Cast(value="uint32_t") public int temporalId()
public NV_ENC_LOCK_BITSTREAM temporalId(int setter)
@Cast(value="uint32_t") public int intraMBCount()
public NV_ENC_LOCK_BITSTREAM intraMBCount(int setter)
@Cast(value="uint32_t") public int interMBCount()
public NV_ENC_LOCK_BITSTREAM interMBCount(int setter)
@Cast(value="int32_t") public int averageMVX()
public NV_ENC_LOCK_BITSTREAM averageMVX(int setter)
@Cast(value="int32_t") public int averageMVY()
public NV_ENC_LOCK_BITSTREAM averageMVY(int setter)
@Cast(value="uint32_t") public int alphaLayerSizeInBytes()
public NV_ENC_LOCK_BITSTREAM alphaLayerSizeInBytes(int setter)
@Cast(value="uint32_t") public int outputStatsPtrSize()
public NV_ENC_LOCK_BITSTREAM outputStatsPtrSize(int setter)
public Pointer outputStatsPtr()
public NV_ENC_LOCK_BITSTREAM outputStatsPtr(Pointer setter)
@Cast(value="uint32_t") public int frameIdxDisplay()
public NV_ENC_LOCK_BITSTREAM frameIdxDisplay(int setter)
public NV_ENC_LOCK_BITSTREAM reserved1(int i, int setter)
@MemberGetter @Cast(value="uint32_t*") public IntPointer reserved1()
public Pointer reserved2(int i)
public NV_ENC_LOCK_BITSTREAM reserved2(int i, Pointer setter)
@MemberGetter @Cast(value="void**") public PointerPointer reserved2()
@Cast(value="uint32_t") public int reservedInternal(int i)
public NV_ENC_LOCK_BITSTREAM reservedInternal(int i, int setter)
@MemberGetter @Cast(value="uint32_t*") public IntPointer reservedInternal()
Copyright © 2024. All rights reserved.