@Properties(inherit=nvencodeapi.class) public class NV_ENC_STAT extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
NV_ENC_STAT()
Default native constructor.
|
NV_ENC_STAT(long size)
Native array allocator.
|
NV_ENC_STAT(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
averageMVX()
[out]: Average Motion Vector in X direction for the encoded frame.
|
NV_ENC_STAT |
averageMVX(int setter) |
int |
averageMVY()
[out]: Average Motion Vector in y direction for the encoded frame.
|
NV_ENC_STAT |
averageMVY(int setter) |
int |
bitStreamSize()
[out]: Size of generated bitstream in bytes.
|
NV_ENC_STAT |
bitStreamSize(int setter) |
int |
frameAvgQP()
[out]: Average QP of the frame.
|
NV_ENC_STAT |
frameAvgQP(int setter) |
NV_ENC_STAT |
getPointer(long i) |
int |
interMBCount()
[out]: For H264, Number of Inter MBs in the encoded frame, includes skip MBs.
|
NV_ENC_STAT |
interMBCount(int setter) |
int |
intraMBCount()
[out]: For H264, Number of Intra MBs in the encoded frame.
|
NV_ENC_STAT |
intraMBCount(int setter) |
int |
lastValidByteOffset()
[out]: Offset of last valid bytes of completed bitstream
|
NV_ENC_STAT |
lastValidByteOffset(int setter) |
int |
ltrFrame()
[out]: Flag indicating this frame is marked as LTR frame
|
NV_ENC_STAT |
ltrFrame(int setter) |
int |
ltrFrameIdx()
[out]: Frame index associated with this LTR frame.
|
NV_ENC_STAT |
ltrFrameIdx(int setter) |
NV_ENC_OUTPUT_PTR |
outputBitStream()
[in]: Specifies the pointer to output bitstream.
|
NV_ENC_STAT |
outputBitStream(NV_ENC_OUTPUT_PTR setter) |
int |
picIdx()
[out]: Picture number
|
NV_ENC_STAT |
picIdx(int setter) |
int |
picType()
[out]: Picture type of encoded picture.
|
NV_ENC_STAT |
picType(int setter) |
NV_ENC_STAT |
position(long position) |
int |
reserved()
[in]: Reserved and must be set to 0
|
NV_ENC_STAT |
reserved(int setter) |
IntPointer |
reserved1() |
int |
reserved1(int i)
[in]: Reserved and must be set to 0
|
NV_ENC_STAT |
reserved1(int i,
int setter) |
PointerPointer |
reserved2() |
Pointer |
reserved2(int i)
[in]: Reserved and must be set to NULL
|
NV_ENC_STAT |
reserved2(int i,
Pointer setter) |
int |
reservedBitFields()
[in]: Reserved bit fields and must be set to 0
|
NV_ENC_STAT |
reservedBitFields(int setter) |
IntPointer |
sliceOffsets() |
int |
sliceOffsets(int i)
[out]: Offsets of each slice
|
NV_ENC_STAT |
sliceOffsets(int i,
int setter) |
int |
version()
[in]: Struct version.
|
NV_ENC_STAT |
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_STAT()
public NV_ENC_STAT(long size)
Pointer.position(long)
.public NV_ENC_STAT(Pointer p)
Pointer(Pointer)
.public NV_ENC_STAT position(long position)
public NV_ENC_STAT getPointer(long i)
getPointer
in class Pointer
@Cast(value="uint32_t") public int version()
public NV_ENC_STAT version(int setter)
public NV_ENC_STAT reserved(int setter)
public NV_ENC_OUTPUT_PTR outputBitStream()
public NV_ENC_STAT outputBitStream(NV_ENC_OUTPUT_PTR setter)
@Cast(value="uint32_t") public int bitStreamSize()
public NV_ENC_STAT bitStreamSize(int setter)
@Cast(value="uint32_t") public int picType()
public NV_ENC_STAT picType(int setter)
@Cast(value="uint32_t") public int lastValidByteOffset()
public NV_ENC_STAT lastValidByteOffset(int setter)
public NV_ENC_STAT sliceOffsets(int i, int setter)
@MemberGetter @Cast(value="uint32_t*") public IntPointer sliceOffsets()
public NV_ENC_STAT picIdx(int setter)
public NV_ENC_STAT frameAvgQP(int setter)
@Cast(value="uint32_t") @NoOffset public int ltrFrame()
public NV_ENC_STAT ltrFrame(int setter)
@Cast(value="uint32_t") @NoOffset public int reservedBitFields()
public NV_ENC_STAT reservedBitFields(int setter)
@Cast(value="uint32_t") public int ltrFrameIdx()
public NV_ENC_STAT ltrFrameIdx(int setter)
@Cast(value="uint32_t") public int intraMBCount()
public NV_ENC_STAT intraMBCount(int setter)
@Cast(value="uint32_t") public int interMBCount()
public NV_ENC_STAT interMBCount(int setter)
@Cast(value="int32_t") public int averageMVX()
public NV_ENC_STAT averageMVX(int setter)
@Cast(value="int32_t") public int averageMVY()
public NV_ENC_STAT averageMVY(int setter)
public NV_ENC_STAT reserved1(int i, int setter)
@MemberGetter @Cast(value="uint32_t*") public IntPointer reserved1()
public Pointer reserved2(int i)
public NV_ENC_STAT reserved2(int i, Pointer setter)
@MemberGetter @Cast(value="void**") public PointerPointer reserved2()
Copyright © 2024. All rights reserved.