@Properties(inherit=nvencodeapi.class) public class NV_ENC_CONFIG extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
NV_ENC_CONFIG()
Default native constructor.
|
NV_ENC_CONFIG(long size)
Native array allocator.
|
NV_ENC_CONFIG(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
NV_ENC_CODEC_CONFIG |
encodeCodecConfig()
[in]: Specifies the codec specific config parameters through this union.
|
NV_ENC_CONFIG |
encodeCodecConfig(NV_ENC_CODEC_CONFIG setter) |
int |
frameFieldMode()
[in]: Specifies the frame/field mode.
|
NV_ENC_CONFIG |
frameFieldMode(int setter) |
int |
frameIntervalP()
[in]: Specifies the GOP pattern as follows: \p frameIntervalP = 0: I, 1: IPP, 2: IBP, 3: IBBP If goplength is set to NVENC_INFINITE_GOPLENGTH \p frameIntervalP should be set to 1.
|
NV_ENC_CONFIG |
frameIntervalP(int setter) |
NV_ENC_CONFIG |
getPointer(long i) |
int |
gopLength()
[in]: Specifies the number of pictures in one GOP.
|
NV_ENC_CONFIG |
gopLength(int setter) |
int |
monoChromeEncoding()
[in]: Set this to 1 to enable monochrome encoding for this session.
|
NV_ENC_CONFIG |
monoChromeEncoding(int setter) |
int |
mvPrecision()
[in]: Specifies the desired motion vector prediction precision.
|
NV_ENC_CONFIG |
mvPrecision(int setter) |
NV_ENC_CONFIG |
position(long position) |
GUID |
profileGUID()
[in]: Specifies the codec profile GUID.
|
NV_ENC_CONFIG |
profileGUID(GUID setter) |
NV_ENC_RC_PARAMS |
rcParams()
[in]: Specifies the rate control parameters for the current encoding session.
|
NV_ENC_CONFIG |
rcParams(NV_ENC_RC_PARAMS setter) |
IntPointer |
reserved() |
int |
reserved(int i)
[in]: Reserved and must be set to 0
|
NV_ENC_CONFIG |
reserved(int i,
int setter) |
PointerPointer |
reserved2() |
Pointer |
reserved2(int i)
[in]: Reserved and must be set to NULL
|
NV_ENC_CONFIG |
reserved2(int i,
Pointer setter) |
int |
version()
[in]: Struct version.
|
NV_ENC_CONFIG |
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_CONFIG()
public NV_ENC_CONFIG(long size)
Pointer.position(long)
.public NV_ENC_CONFIG(Pointer p)
Pointer(Pointer)
.public NV_ENC_CONFIG position(long position)
public NV_ENC_CONFIG getPointer(long i)
getPointer
in class Pointer
@Cast(value="uint32_t") public int version()
public NV_ENC_CONFIG version(int setter)
@ByRef public GUID profileGUID()
public NV_ENC_CONFIG profileGUID(GUID setter)
@Cast(value="uint32_t") public int gopLength()
public NV_ENC_CONFIG gopLength(int setter)
@Cast(value="int32_t") public int frameIntervalP()
public NV_ENC_CONFIG frameIntervalP(int setter)
@Cast(value="uint32_t") public int monoChromeEncoding()
public NV_ENC_CONFIG monoChromeEncoding(int setter)
@Cast(value="NV_ENC_PARAMS_FRAME_FIELD_MODE") public int frameFieldMode()
public NV_ENC_CONFIG frameFieldMode(int setter)
@Cast(value="NV_ENC_MV_PRECISION") public int mvPrecision()
public NV_ENC_CONFIG mvPrecision(int setter)
@ByRef public NV_ENC_RC_PARAMS rcParams()
public NV_ENC_CONFIG rcParams(NV_ENC_RC_PARAMS setter)
@ByRef public NV_ENC_CODEC_CONFIG encodeCodecConfig()
public NV_ENC_CONFIG encodeCodecConfig(NV_ENC_CODEC_CONFIG setter)
public NV_ENC_CONFIG reserved(int i, int setter)
@MemberGetter @Cast(value="uint32_t*") public IntPointer reserved()
public Pointer reserved2(int i)
public NV_ENC_CONFIG reserved2(int i, Pointer setter)
@MemberGetter @Cast(value="void**") public PointerPointer reserved2()
Copyright © 2024. All rights reserved.