@Properties(inherit=nvencodeapi.class) public class NV_ENC_INITIALIZE_PARAMS extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
NV_ENC_INITIALIZE_PARAMS()
Default native constructor.
|
NV_ENC_INITIALIZE_PARAMS(long size)
Native array allocator.
|
NV_ENC_INITIALIZE_PARAMS(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
bufferFormat()
[in]: Input buffer format.
|
NV_ENC_INITIALIZE_PARAMS |
bufferFormat(int setter) |
int |
darHeight()
[in]: Specifies the display aspect ratio height (H264/HEVC) or the render height (AV1).
|
NV_ENC_INITIALIZE_PARAMS |
darHeight(int setter) |
int |
darWidth()
[in]: Specifies the display aspect ratio width (H264/HEVC) or the render width (AV1).
|
NV_ENC_INITIALIZE_PARAMS |
darWidth(int setter) |
int |
enableEncodeAsync()
[in]: Set this to 1 to enable asynchronous mode and is expected to use events to get picture completion notification.
|
NV_ENC_INITIALIZE_PARAMS |
enableEncodeAsync(int setter) |
int |
enableExternalMEHints()
[in]: Set to 1 to enable external ME hints for the current frame.
|
NV_ENC_INITIALIZE_PARAMS |
enableExternalMEHints(int setter) |
int |
enableMEOnlyMode()
[in]: Set to 1 to enable ME Only Mode .
|
NV_ENC_INITIALIZE_PARAMS |
enableMEOnlyMode(int setter) |
int |
enableOutputInVidmem()
[in]: Set this to 1 to enable output of NVENC in video memory buffer created by application.
|
NV_ENC_INITIALIZE_PARAMS |
enableOutputInVidmem(int setter) |
int |
enableOutputStats()
[in]: Set this to 1 to enable encoded frame output stats.
|
NV_ENC_INITIALIZE_PARAMS |
enableOutputStats(int setter) |
int |
enablePTD()
[in]: Set this to 1 to enable the Picture Type Decision is be taken by the NvEncodeAPI interface.
|
NV_ENC_INITIALIZE_PARAMS |
enablePTD(int setter) |
int |
enableReconFrameOutput()
[in]: Set this to 1 to enable reconstructed frame output.
|
NV_ENC_INITIALIZE_PARAMS |
enableReconFrameOutput(int setter) |
int |
enableSubFrameWrite()
[in]: Set this to 1 to write out available bitstream to memory at subframe intervals.
|
NV_ENC_INITIALIZE_PARAMS |
enableSubFrameWrite(int setter) |
int |
enableWeightedPrediction()
[in]: Set this to 1 to enable weighted prediction.
|
NV_ENC_INITIALIZE_PARAMS |
enableWeightedPrediction(int setter) |
NV_ENC_CONFIG |
encodeConfig()
[in]: Specifies the advanced codec specific structure.
|
NV_ENC_INITIALIZE_PARAMS |
encodeConfig(NV_ENC_CONFIG setter) |
GUID |
encodeGUID()
[in]: Specifies the Encode GUID for which the encoder is being created.
|
NV_ENC_INITIALIZE_PARAMS |
encodeGUID(GUID setter) |
int |
encodeHeight()
[in]: Specifies the encode height.
|
NV_ENC_INITIALIZE_PARAMS |
encodeHeight(int setter) |
int |
encodeWidth()
[in]: Specifies the encode width.
|
NV_ENC_INITIALIZE_PARAMS |
encodeWidth(int setter) |
int |
frameRateDen()
[in]: Specifies the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
|
NV_ENC_INITIALIZE_PARAMS |
frameRateDen(int setter) |
int |
frameRateNum()
[in]: Specifies the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
|
NV_ENC_INITIALIZE_PARAMS |
frameRateNum(int setter) |
NV_ENC_INITIALIZE_PARAMS |
getPointer(long i) |
int |
maxEncodeHeight()
[in]: Maximum encode height to be allowed for current Encode session.
|
NV_ENC_INITIALIZE_PARAMS |
maxEncodeHeight(int setter) |
int |
maxEncodeWidth()
[in]: Maximum encode width to be used for current Encode session.
|
NV_ENC_INITIALIZE_PARAMS |
maxEncodeWidth(int setter) |
NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE |
maxMEHintCountsPerBlock() |
NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE |
maxMEHintCountsPerBlock(int i)
[in]: If Client wants to pass external motion vectors in NV_ENC_PIC_PARAMS::meExternalHints buffer it must specify the maximum number of hint candidates per block per direction for the encode session.
|
NV_ENC_INITIALIZE_PARAMS |
maxMEHintCountsPerBlock(int i,
NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE setter) |
int |
numStateBuffers()
[in]: Number of state buffers to allocate to save encoder state.
|
NV_ENC_INITIALIZE_PARAMS |
numStateBuffers(int setter) |
int |
outputStatsLevel()
[in]: Specifies the level for encoded frame output stats, when NV_ENC_INITIALIZE_PARAMS::enableOutputStats is set to 1.
|
NV_ENC_INITIALIZE_PARAMS |
outputStatsLevel(int setter) |
NV_ENC_INITIALIZE_PARAMS |
position(long position) |
GUID |
presetGUID()
[in]: Specifies the preset for encoding.
|
NV_ENC_INITIALIZE_PARAMS |
presetGUID(GUID setter) |
Pointer |
privData()
[in]: Reserved private data buffer and must be set to NULL
|
NV_ENC_INITIALIZE_PARAMS |
privData(Pointer setter) |
int |
privDataSize()
[in]: Reserved private data buffer size and must be set to 0
|
NV_ENC_INITIALIZE_PARAMS |
privDataSize(int setter) |
int |
reportSliceOffsets()
[in]: Set this to 1 to enable reporting slice offsets in ::_NV_ENC_LOCK_BITSTREAM.
|
NV_ENC_INITIALIZE_PARAMS |
reportSliceOffsets(int setter) |
IntPointer |
reserved() |
int |
reserved(int i)
[in]: Reserved and must be set to 0
|
NV_ENC_INITIALIZE_PARAMS |
reserved(int i,
int setter) |
PointerPointer |
reserved2() |
Pointer |
reserved2(int i)
[in]: Reserved and must be set to NULL
|
NV_ENC_INITIALIZE_PARAMS |
reserved2(int i,
Pointer setter) |
int |
reservedBitFields()
[in]: Reserved bitfields and must be set to 0
|
NV_ENC_INITIALIZE_PARAMS |
reservedBitFields(int setter) |
int |
splitEncodeMode()
[in]: Split Encoding mode in NVENC (Split Encoding is not applicable to H264).
|
NV_ENC_INITIALIZE_PARAMS |
splitEncodeMode(int setter) |
int |
tuningInfo()
[in]: Tuning Info of NVENC encoding(TuningInfo is not applicable to H264 and HEVC meonly mode).
|
NV_ENC_INITIALIZE_PARAMS |
tuningInfo(int setter) |
int |
version()
[in]: Struct version.
|
NV_ENC_INITIALIZE_PARAMS |
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_INITIALIZE_PARAMS()
public NV_ENC_INITIALIZE_PARAMS(long size)
Pointer.position(long)
.public NV_ENC_INITIALIZE_PARAMS(Pointer p)
Pointer(Pointer)
.public NV_ENC_INITIALIZE_PARAMS position(long position)
public NV_ENC_INITIALIZE_PARAMS getPointer(long i)
getPointer
in class Pointer
@Cast(value="uint32_t") public int version()
public NV_ENC_INITIALIZE_PARAMS version(int setter)
@ByRef public GUID encodeGUID()
public NV_ENC_INITIALIZE_PARAMS encodeGUID(GUID setter)
@ByRef public GUID presetGUID()
public NV_ENC_INITIALIZE_PARAMS presetGUID(GUID setter)
@Cast(value="uint32_t") public int encodeWidth()
public NV_ENC_INITIALIZE_PARAMS encodeWidth(int setter)
@Cast(value="uint32_t") public int encodeHeight()
public NV_ENC_INITIALIZE_PARAMS encodeHeight(int setter)
@Cast(value="uint32_t") public int darWidth()
public NV_ENC_INITIALIZE_PARAMS darWidth(int setter)
@Cast(value="uint32_t") public int darHeight()
public NV_ENC_INITIALIZE_PARAMS darHeight(int setter)
@Cast(value="uint32_t") public int frameRateNum()
public NV_ENC_INITIALIZE_PARAMS frameRateNum(int setter)
@Cast(value="uint32_t") public int frameRateDen()
public NV_ENC_INITIALIZE_PARAMS frameRateDen(int setter)
@Cast(value="uint32_t") public int enableEncodeAsync()
public NV_ENC_INITIALIZE_PARAMS enableEncodeAsync(int setter)
@Cast(value="uint32_t") public int enablePTD()
public NV_ENC_INITIALIZE_PARAMS enablePTD(int setter)
@Cast(value="uint32_t") @NoOffset public int reportSliceOffsets()
public NV_ENC_INITIALIZE_PARAMS reportSliceOffsets(int setter)
@Cast(value="uint32_t") @NoOffset public int enableSubFrameWrite()
public NV_ENC_INITIALIZE_PARAMS enableSubFrameWrite(int setter)
@Cast(value="uint32_t") @NoOffset public int enableExternalMEHints()
public NV_ENC_INITIALIZE_PARAMS enableExternalMEHints(int setter)
@Cast(value="uint32_t") @NoOffset public int enableMEOnlyMode()
public NV_ENC_INITIALIZE_PARAMS enableMEOnlyMode(int setter)
@Cast(value="uint32_t") @NoOffset public int enableWeightedPrediction()
public NV_ENC_INITIALIZE_PARAMS enableWeightedPrediction(int setter)
@Cast(value="uint32_t") @NoOffset public int splitEncodeMode()
public NV_ENC_INITIALIZE_PARAMS splitEncodeMode(int setter)
@Cast(value="uint32_t") @NoOffset public int enableOutputInVidmem()
public NV_ENC_INITIALIZE_PARAMS enableOutputInVidmem(int setter)
@Cast(value="uint32_t") @NoOffset public int enableReconFrameOutput()
public NV_ENC_INITIALIZE_PARAMS enableReconFrameOutput(int setter)
@Cast(value="uint32_t") @NoOffset public int enableOutputStats()
public NV_ENC_INITIALIZE_PARAMS enableOutputStats(int setter)
@Cast(value="uint32_t") @NoOffset public int reservedBitFields()
public NV_ENC_INITIALIZE_PARAMS reservedBitFields(int setter)
@Cast(value="uint32_t") public int privDataSize()
public NV_ENC_INITIALIZE_PARAMS privDataSize(int setter)
public Pointer privData()
public NV_ENC_INITIALIZE_PARAMS privData(Pointer setter)
public NV_ENC_CONFIG encodeConfig()
public NV_ENC_INITIALIZE_PARAMS encodeConfig(NV_ENC_CONFIG setter)
@Cast(value="uint32_t") public int maxEncodeWidth()
public NV_ENC_INITIALIZE_PARAMS maxEncodeWidth(int setter)
@Cast(value="uint32_t") public int maxEncodeHeight()
public NV_ENC_INITIALIZE_PARAMS maxEncodeHeight(int setter)
@ByRef public NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE maxMEHintCountsPerBlock(int i)
public NV_ENC_INITIALIZE_PARAMS maxMEHintCountsPerBlock(int i, NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE setter)
@MemberGetter public NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE maxMEHintCountsPerBlock()
@Cast(value="NV_ENC_TUNING_INFO") public int tuningInfo()
public NV_ENC_INITIALIZE_PARAMS tuningInfo(int setter)
@Cast(value="NV_ENC_BUFFER_FORMAT") public int bufferFormat()
public NV_ENC_INITIALIZE_PARAMS bufferFormat(int setter)
@Cast(value="uint32_t") public int numStateBuffers()
public NV_ENC_INITIALIZE_PARAMS numStateBuffers(int setter)
@Cast(value="NV_ENC_OUTPUT_STATS_LEVEL") public int outputStatsLevel()
public NV_ENC_INITIALIZE_PARAMS outputStatsLevel(int setter)
public NV_ENC_INITIALIZE_PARAMS reserved(int i, int setter)
@MemberGetter @Cast(value="uint32_t*") public IntPointer reserved()
public Pointer reserved2(int i)
public NV_ENC_INITIALIZE_PARAMS reserved2(int i, Pointer setter)
@MemberGetter @Cast(value="void**") public PointerPointer reserved2()
Copyright © 2024. All rights reserved.