Package org.lwjgl.vulkan
Class VkVideoEncodeAV1QualityLevelPropertiesKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeAV1QualityLevelPropertiesKHR>
org.lwjgl.vulkan.VkVideoEncodeAV1QualityLevelPropertiesKHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class VkVideoEncodeAV1QualityLevelPropertiesKHR
extends Struct<VkVideoEncodeAV1QualityLevelPropertiesKHR>
implements NativeResource
struct VkVideoEncodeAV1QualityLevelPropertiesKHR {
VkStructureType sType;
void * pNext;
VkVideoEncodeAV1RateControlFlagsKHR preferredRateControlFlags;
uint32_t preferredGopFrameCount;
uint32_t preferredKeyFramePeriod;
uint32_t preferredConsecutiveBipredictiveFrameCount;
uint32_t preferredTemporalLayerCount;
VkVideoEncodeAV1QIndexKHR preferredConstantQIndex;
uint32_t preferredMaxSingleReferenceCount;
uint32_t preferredSingleReferenceNameMask;
uint32_t preferredMaxUnidirectionalCompoundReferenceCount;
uint32_t preferredMaxUnidirectionalCompoundGroup1ReferenceCount;
uint32_t preferredUnidirectionalCompoundReferenceNameMask;
uint32_t preferredMaxBidirectionalCompoundReferenceCount;
uint32_t preferredMaxBidirectionalCompoundGroup1ReferenceCount;
uint32_t preferredMaxBidirectionalCompoundGroup2ReferenceCount;
uint32_t preferredBidirectionalCompoundReferenceNameMask;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkVideoEncodeAV1QualityLevelPropertiesKHRstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkVideoEncodeAV1QualityLevelPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance for the specified memory address.create(long address, int capacity) Create aVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance at the specified memory.static @Nullable VkVideoEncodeAV1QualityLevelPropertiesKHRcreateSafe(long address) static @Nullable VkVideoEncodeAV1QualityLevelPropertiesKHR.BuffercreateSafe(long address, int capacity) malloc()Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated on the specifiedMemoryStack.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnpreferredBidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofpreferredBidirectionalCompoundReferenceNameMask().static intnpreferredConsecutiveBipredictiveFrameCount(long struct) Unsafe version ofpreferredConsecutiveBipredictiveFrameCount().static VkVideoEncodeAV1QIndexKHRnpreferredConstantQIndex(long struct) Unsafe version ofpreferredConstantQIndex().static intnpreferredGopFrameCount(long struct) Unsafe version ofpreferredGopFrameCount().static intnpreferredKeyFramePeriod(long struct) Unsafe version ofpreferredKeyFramePeriod().static intUnsafe version ofpreferredMaxBidirectionalCompoundGroup1ReferenceCount().static intUnsafe version ofpreferredMaxBidirectionalCompoundGroup2ReferenceCount().static intnpreferredMaxBidirectionalCompoundReferenceCount(long struct) Unsafe version ofpreferredMaxBidirectionalCompoundReferenceCount().static intnpreferredMaxSingleReferenceCount(long struct) Unsafe version ofpreferredMaxSingleReferenceCount().static intUnsafe version ofpreferredMaxUnidirectionalCompoundGroup1ReferenceCount().static intnpreferredMaxUnidirectionalCompoundReferenceCount(long struct) Unsafe version ofpreferredMaxUnidirectionalCompoundReferenceCount().static intnpreferredRateControlFlags(long struct) Unsafe version ofpreferredRateControlFlags().static intnpreferredSingleReferenceNameMask(long struct) Unsafe version ofpreferredSingleReferenceNameMask().static intnpreferredTemporalLayerCount(long struct) Unsafe version ofpreferredTemporalLayerCount().static intnpreferredUnidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofpreferredUnidirectionalCompoundReferenceNameMask().static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.longpNext()pNext(long value) Sets the specified value to thepNextfield.intintintintintintintintintintintintintintset(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_AV1_QUALITY_LEVEL_PROPERTIES_KHRvalue to thesTypefield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
PREFERREDRATECONTROLFLAGS
public static final int PREFERREDRATECONTROLFLAGSThe struct member offsets. -
PREFERREDGOPFRAMECOUNT
public static final int PREFERREDGOPFRAMECOUNTThe struct member offsets. -
PREFERREDKEYFRAMEPERIOD
public static final int PREFERREDKEYFRAMEPERIODThe struct member offsets. -
PREFERREDCONSECUTIVEBIPREDICTIVEFRAMECOUNT
public static final int PREFERREDCONSECUTIVEBIPREDICTIVEFRAMECOUNTThe struct member offsets. -
PREFERREDTEMPORALLAYERCOUNT
public static final int PREFERREDTEMPORALLAYERCOUNTThe struct member offsets. -
PREFERREDCONSTANTQINDEX
public static final int PREFERREDCONSTANTQINDEXThe struct member offsets. -
PREFERREDMAXSINGLEREFERENCECOUNT
public static final int PREFERREDMAXSINGLEREFERENCECOUNTThe struct member offsets. -
PREFERREDSINGLEREFERENCENAMEMASK
public static final int PREFERREDSINGLEREFERENCENAMEMASKThe struct member offsets. -
PREFERREDMAXUNIDIRECTIONALCOMPOUNDREFERENCECOUNT
public static final int PREFERREDMAXUNIDIRECTIONALCOMPOUNDREFERENCECOUNTThe struct member offsets. -
PREFERREDMAXUNIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNT
public static final int PREFERREDMAXUNIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNTThe struct member offsets. -
PREFERREDUNIDIRECTIONALCOMPOUNDREFERENCENAMEMASK
public static final int PREFERREDUNIDIRECTIONALCOMPOUNDREFERENCENAMEMASKThe struct member offsets. -
PREFERREDMAXBIDIRECTIONALCOMPOUNDREFERENCECOUNT
public static final int PREFERREDMAXBIDIRECTIONALCOMPOUNDREFERENCECOUNTThe struct member offsets. -
PREFERREDMAXBIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNT
public static final int PREFERREDMAXBIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNTThe struct member offsets. -
PREFERREDMAXBIDIRECTIONALCOMPOUNDGROUP2REFERENCECOUNT
public static final int PREFERREDMAXBIDIRECTIONALCOMPOUNDGROUP2REFERENCECOUNTThe struct member offsets. -
PREFERREDBIDIRECTIONALCOMPOUNDREFERENCENAMEMASK
public static final int PREFERREDBIDIRECTIONALCOMPOUNDREFERENCENAMEMASKThe struct member offsets.
-
-
Constructor Details
-
VkVideoEncodeAV1QualityLevelPropertiesKHR
Creates aVkVideoEncodeAV1QualityLevelPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkVideoEncodeAV1QualityLevelPropertiesKHR>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
preferredRateControlFlags
public int preferredRateControlFlags()- Returns:
- the value of the
preferredRateControlFlagsfield.
-
preferredGopFrameCount
public int preferredGopFrameCount()- Returns:
- the value of the
preferredGopFrameCountfield.
-
preferredKeyFramePeriod
public int preferredKeyFramePeriod()- Returns:
- the value of the
preferredKeyFramePeriodfield.
-
preferredConsecutiveBipredictiveFrameCount
public int preferredConsecutiveBipredictiveFrameCount()- Returns:
- the value of the
preferredConsecutiveBipredictiveFrameCountfield.
-
preferredTemporalLayerCount
public int preferredTemporalLayerCount()- Returns:
- the value of the
preferredTemporalLayerCountfield.
-
preferredConstantQIndex
- Returns:
- a
VkVideoEncodeAV1QIndexKHRview of thepreferredConstantQIndexfield.
-
preferredMaxSingleReferenceCount
public int preferredMaxSingleReferenceCount()- Returns:
- the value of the
preferredMaxSingleReferenceCountfield.
-
preferredSingleReferenceNameMask
public int preferredSingleReferenceNameMask()- Returns:
- the value of the
preferredSingleReferenceNameMaskfield.
-
preferredMaxUnidirectionalCompoundReferenceCount
public int preferredMaxUnidirectionalCompoundReferenceCount()- Returns:
- the value of the
preferredMaxUnidirectionalCompoundReferenceCountfield.
-
preferredMaxUnidirectionalCompoundGroup1ReferenceCount
public int preferredMaxUnidirectionalCompoundGroup1ReferenceCount()- Returns:
- the value of the
preferredMaxUnidirectionalCompoundGroup1ReferenceCountfield.
-
preferredUnidirectionalCompoundReferenceNameMask
public int preferredUnidirectionalCompoundReferenceNameMask()- Returns:
- the value of the
preferredUnidirectionalCompoundReferenceNameMaskfield.
-
preferredMaxBidirectionalCompoundReferenceCount
public int preferredMaxBidirectionalCompoundReferenceCount()- Returns:
- the value of the
preferredMaxBidirectionalCompoundReferenceCountfield.
-
preferredMaxBidirectionalCompoundGroup1ReferenceCount
public int preferredMaxBidirectionalCompoundGroup1ReferenceCount()- Returns:
- the value of the
preferredMaxBidirectionalCompoundGroup1ReferenceCountfield.
-
preferredMaxBidirectionalCompoundGroup2ReferenceCount
public int preferredMaxBidirectionalCompoundGroup2ReferenceCount()- Returns:
- the value of the
preferredMaxBidirectionalCompoundGroup2ReferenceCountfield.
-
preferredBidirectionalCompoundReferenceNameMask
public int preferredBidirectionalCompoundReferenceNameMask()- Returns:
- the value of the
preferredBidirectionalCompoundReferenceNameMaskfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_AV1_QUALITY_LEVEL_PROPERTIES_KHRvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
set
Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withBufferUtils. -
create
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
npreferredRateControlFlags
public static int npreferredRateControlFlags(long struct) Unsafe version ofpreferredRateControlFlags(). -
npreferredGopFrameCount
public static int npreferredGopFrameCount(long struct) Unsafe version ofpreferredGopFrameCount(). -
npreferredKeyFramePeriod
public static int npreferredKeyFramePeriod(long struct) Unsafe version ofpreferredKeyFramePeriod(). -
npreferredConsecutiveBipredictiveFrameCount
public static int npreferredConsecutiveBipredictiveFrameCount(long struct) Unsafe version ofpreferredConsecutiveBipredictiveFrameCount(). -
npreferredTemporalLayerCount
public static int npreferredTemporalLayerCount(long struct) Unsafe version ofpreferredTemporalLayerCount(). -
npreferredConstantQIndex
Unsafe version ofpreferredConstantQIndex(). -
npreferredMaxSingleReferenceCount
public static int npreferredMaxSingleReferenceCount(long struct) Unsafe version ofpreferredMaxSingleReferenceCount(). -
npreferredSingleReferenceNameMask
public static int npreferredSingleReferenceNameMask(long struct) Unsafe version ofpreferredSingleReferenceNameMask(). -
npreferredMaxUnidirectionalCompoundReferenceCount
public static int npreferredMaxUnidirectionalCompoundReferenceCount(long struct) Unsafe version ofpreferredMaxUnidirectionalCompoundReferenceCount(). -
npreferredMaxUnidirectionalCompoundGroup1ReferenceCount
public static int npreferredMaxUnidirectionalCompoundGroup1ReferenceCount(long struct) Unsafe version ofpreferredMaxUnidirectionalCompoundGroup1ReferenceCount(). -
npreferredUnidirectionalCompoundReferenceNameMask
public static int npreferredUnidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofpreferredUnidirectionalCompoundReferenceNameMask(). -
npreferredMaxBidirectionalCompoundReferenceCount
public static int npreferredMaxBidirectionalCompoundReferenceCount(long struct) Unsafe version ofpreferredMaxBidirectionalCompoundReferenceCount(). -
npreferredMaxBidirectionalCompoundGroup1ReferenceCount
public static int npreferredMaxBidirectionalCompoundGroup1ReferenceCount(long struct) Unsafe version ofpreferredMaxBidirectionalCompoundGroup1ReferenceCount(). -
npreferredMaxBidirectionalCompoundGroup2ReferenceCount
public static int npreferredMaxBidirectionalCompoundGroup2ReferenceCount(long struct) Unsafe version ofpreferredMaxBidirectionalCompoundGroup2ReferenceCount(). -
npreferredBidirectionalCompoundReferenceNameMask
public static int npreferredBidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofpreferredBidirectionalCompoundReferenceNameMask(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext.
-