@Properties(inherit=nvencodeapi.class) public class NV_ENC_PIC_PARAMS extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
NV_ENC_PIC_PARAMS()
Default native constructor.
|
NV_ENC_PIC_PARAMS(long size)
Native array allocator.
|
NV_ENC_PIC_PARAMS(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
NV_ENC_INPUT_PTR |
alphaBuffer()
[in]: Specifies the input alpha buffer pointer.
|
NV_ENC_PIC_PARAMS |
alphaBuffer(NV_ENC_INPUT_PTR setter) |
int |
bufferFmt()
[in]: Specifies the input buffer format.
|
NV_ENC_PIC_PARAMS |
bufferFmt(int setter) |
NV_ENC_CODEC_PIC_PARAMS |
codecPicParams()
[in]: Specifies the codec specific per-picture encoding parameters.
|
NV_ENC_PIC_PARAMS |
codecPicParams(NV_ENC_CODEC_PIC_PARAMS setter) |
Pointer |
completionEvent()
[in]: Specifies an event to be signaled on completion of encoding of this Frame [only if operating in Asynchronous mode].
|
NV_ENC_PIC_PARAMS |
completionEvent(Pointer setter) |
int |
encodePicFlags()
[in]: Specifies bit-wise OR of encode picture flags.
|
NV_ENC_PIC_PARAMS |
encodePicFlags(int setter) |
int |
frameIdx()
[in]: Specifies the frame index associated with the input frame [optional].
|
NV_ENC_PIC_PARAMS |
frameIdx(int setter) |
NV_ENC_PIC_PARAMS |
getPointer(long i) |
NV_ENC_INPUT_PTR |
inputBuffer()
[in]: Specifies the input buffer pointer.
|
NV_ENC_PIC_PARAMS |
inputBuffer(NV_ENC_INPUT_PTR setter) |
long |
inputDuration()
[in]: Specifies duration of the input picture
|
NV_ENC_PIC_PARAMS |
inputDuration(long setter) |
int |
inputHeight()
[in]: Specifies the input frame height
|
NV_ENC_PIC_PARAMS |
inputHeight(int setter) |
int |
inputPitch()
[in]: Specifies the input buffer pitch.
|
NV_ENC_PIC_PARAMS |
inputPitch(int setter) |
long |
inputTimeStamp()
[in]: Specifies opaque data which is associated with the encoded frame, but not actually encoded in the output bitstream.
|
NV_ENC_PIC_PARAMS |
inputTimeStamp(long setter) |
int |
inputWidth()
[in]: Specifies the input frame width
|
NV_ENC_PIC_PARAMS |
inputWidth(int setter) |
NVENC_EXTERNAL_ME_HINT |
meExternalHints()
[in]: For H264 and Hevc, Specifies the pointer to ME external hints for the current frame.
|
NV_ENC_PIC_PARAMS |
meExternalHints(NVENC_EXTERNAL_ME_HINT setter) |
NVENC_EXTERNAL_ME_SB_HINT |
meExternalSbHints()
[in]: For AV1,Specifies the pointer to ME external SB hints for the current frame.
|
NV_ENC_PIC_PARAMS |
meExternalSbHints(NVENC_EXTERNAL_ME_SB_HINT setter) |
NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE |
meHintCountsPerBlock() |
NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE |
meHintCountsPerBlock(int i)
[in]: For H264 and Hevc, specifies the number of hint candidates per block per direction for the current frame.
|
NV_ENC_PIC_PARAMS |
meHintCountsPerBlock(int i,
NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE setter) |
ShortPointer |
meHintRefPicDist() |
short |
meHintRefPicDist(int i)
[in]: Specifies temporal distance for reference picture (NVENC_EXTERNAL_ME_HINT::refidx = 0) used during external ME with NV_ENC_INITALIZE_PARAMS::enablePTD = 1 .
|
NV_ENC_PIC_PARAMS |
meHintRefPicDist(int i,
short setter) |
int |
meSbHintsCount()
[in]: For AV1, specifies the total number of external ME SB hint candidates for the frame
NV_ENC_PIC_PARAMS::meSbHintsCount must never exceed the total number of SBs in frame * the max number of candidates per SB provided during encoder initialization.
|
NV_ENC_PIC_PARAMS |
meSbHintsCount(int setter) |
NV_ENC_OUTPUT_PTR |
outputBitstream()
[in]: Specifies the output buffer pointer.
|
NV_ENC_PIC_PARAMS |
outputBitstream(NV_ENC_OUTPUT_PTR setter) |
NV_ENC_OUTPUT_PTR |
outputReconBuffer()
[in]: Specifies the reconstructed frame buffer pointer to output reconstructed frame, if enabled by setting NV_ENC_INITIALIZE_PARAMS::enableReconFrameOutput.
|
NV_ENC_PIC_PARAMS |
outputReconBuffer(NV_ENC_OUTPUT_PTR setter) |
int |
pictureStruct()
[in]: Specifies structure of the input picture.
|
NV_ENC_PIC_PARAMS |
pictureStruct(int setter) |
int |
pictureType()
[in]: Specifies input picture type.
|
NV_ENC_PIC_PARAMS |
pictureType(int setter) |
NV_ENC_PIC_PARAMS |
position(long position) |
BytePointer |
qpDeltaMap()
[in]: Specifies the pointer to signed byte array containing value per MB for H264, per CTB for HEVC and per SB for AV1 in raster scan order for the current picture, which will be interpreted depending on NV_ENC_RC_PARAMS::qpMapMode.
|
NV_ENC_PIC_PARAMS |
qpDeltaMap(BytePointer setter) |
int |
qpDeltaMapSize()
[in]: Specifies the size in bytes of qpDeltaMap surface allocated by client and pointed to by NV_ENC_PIC_PARAMS::qpDeltaMap.
|
NV_ENC_PIC_PARAMS |
qpDeltaMapSize(int setter) |
IntPointer |
reserved1() |
int |
reserved1(int i)
[in]: Reserved and must be set to 0
|
NV_ENC_PIC_PARAMS |
reserved1(int i,
int setter) |
PointerPointer |
reserved2() |
Pointer |
reserved2(int i)
[in]: Reserved and must be set to NULL
|
NV_ENC_PIC_PARAMS |
reserved2(int i,
Pointer setter) |
IntPointer |
reserved3() |
int |
reserved3(int i)
[in]: Reserved and must be set to 0
|
NV_ENC_PIC_PARAMS |
reserved3(int i,
int setter) |
PointerPointer |
reserved4() |
Pointer |
reserved4(int i)
[in]: Reserved and must be set to NULL
|
NV_ENC_PIC_PARAMS |
reserved4(int i,
Pointer setter) |
int |
reservedBitFields()
[in]: Reserved bitfields and must be set to 0
|
NV_ENC_PIC_PARAMS |
reservedBitFields(int setter) |
int |
stateBufferIdx()
[in]: Specifies the buffer index in which the encoder state will be saved for current frame encode.
|
NV_ENC_PIC_PARAMS |
stateBufferIdx(int setter) |
int |
version()
[in]: Struct version.
|
NV_ENC_PIC_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_PIC_PARAMS()
public NV_ENC_PIC_PARAMS(long size)
Pointer.position(long)
.public NV_ENC_PIC_PARAMS(Pointer p)
Pointer(Pointer)
.public NV_ENC_PIC_PARAMS position(long position)
public NV_ENC_PIC_PARAMS getPointer(long i)
getPointer
in class Pointer
@Cast(value="uint32_t") public int version()
public NV_ENC_PIC_PARAMS version(int setter)
public NV_ENC_PIC_PARAMS inputWidth(int setter)
public NV_ENC_PIC_PARAMS inputHeight(int setter)
@Cast(value="uint32_t") public int inputPitch()
public NV_ENC_PIC_PARAMS inputPitch(int setter)
@Cast(value="uint32_t") public int encodePicFlags()
public NV_ENC_PIC_PARAMS encodePicFlags(int setter)
@Cast(value="uint32_t") public int frameIdx()
public NV_ENC_PIC_PARAMS frameIdx(int setter)
@Cast(value="uint64_t") public long inputTimeStamp()
public NV_ENC_PIC_PARAMS inputTimeStamp(long setter)
@Cast(value="uint64_t") public long inputDuration()
public NV_ENC_PIC_PARAMS inputDuration(long setter)
public NV_ENC_INPUT_PTR inputBuffer()
public NV_ENC_PIC_PARAMS inputBuffer(NV_ENC_INPUT_PTR setter)
public NV_ENC_OUTPUT_PTR outputBitstream()
public NV_ENC_PIC_PARAMS outputBitstream(NV_ENC_OUTPUT_PTR setter)
public Pointer completionEvent()
public NV_ENC_PIC_PARAMS completionEvent(Pointer setter)
@Cast(value="NV_ENC_BUFFER_FORMAT") public int bufferFmt()
public NV_ENC_PIC_PARAMS bufferFmt(int setter)
@Cast(value="NV_ENC_PIC_STRUCT") public int pictureStruct()
public NV_ENC_PIC_PARAMS pictureStruct(int setter)
@Cast(value="NV_ENC_PIC_TYPE") public int pictureType()
public NV_ENC_PIC_PARAMS pictureType(int setter)
@ByRef public NV_ENC_CODEC_PIC_PARAMS codecPicParams()
public NV_ENC_PIC_PARAMS codecPicParams(NV_ENC_CODEC_PIC_PARAMS setter)
@ByRef public NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE meHintCountsPerBlock(int i)
public NV_ENC_PIC_PARAMS meHintCountsPerBlock(int i, NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE setter)
@MemberGetter public NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE meHintCountsPerBlock()
public NVENC_EXTERNAL_ME_HINT meExternalHints()
public NV_ENC_PIC_PARAMS meExternalHints(NVENC_EXTERNAL_ME_HINT setter)
public NV_ENC_PIC_PARAMS reserved1(int i, int setter)
@MemberGetter @Cast(value="uint32_t*") public IntPointer reserved1()
public Pointer reserved2(int i)
public NV_ENC_PIC_PARAMS reserved2(int i, Pointer setter)
@MemberGetter @Cast(value="void**") public PointerPointer reserved2()
@Cast(value="int8_t*") public BytePointer qpDeltaMap()
public NV_ENC_PIC_PARAMS qpDeltaMap(BytePointer setter)
@Cast(value="uint32_t") public int qpDeltaMapSize()
public NV_ENC_PIC_PARAMS qpDeltaMapSize(int setter)
@Cast(value="uint32_t") public int reservedBitFields()
public NV_ENC_PIC_PARAMS reservedBitFields(int setter)
@Cast(value="uint16_t") public short meHintRefPicDist(int i)
public NV_ENC_PIC_PARAMS meHintRefPicDist(int i, short setter)
@MemberGetter @Cast(value="uint16_t*") public ShortPointer meHintRefPicDist()
public NV_ENC_INPUT_PTR alphaBuffer()
public NV_ENC_PIC_PARAMS alphaBuffer(NV_ENC_INPUT_PTR setter)
public NVENC_EXTERNAL_ME_SB_HINT meExternalSbHints()
public NV_ENC_PIC_PARAMS meExternalSbHints(NVENC_EXTERNAL_ME_SB_HINT setter)
@Cast(value="uint32_t") public int meSbHintsCount()
public NV_ENC_PIC_PARAMS meSbHintsCount(int setter)
@Cast(value="uint32_t") public int stateBufferIdx()
public NV_ENC_PIC_PARAMS stateBufferIdx(int setter)
public NV_ENC_OUTPUT_PTR outputReconBuffer()
public NV_ENC_PIC_PARAMS outputReconBuffer(NV_ENC_OUTPUT_PTR setter)
public NV_ENC_PIC_PARAMS reserved3(int i, int setter)
@MemberGetter @Cast(value="uint32_t*") public IntPointer reserved3()
public Pointer reserved4(int i)
public NV_ENC_PIC_PARAMS reserved4(int i, Pointer setter)
@MemberGetter @Cast(value="void**") public PointerPointer reserved4()
Copyright © 2024. All rights reserved.