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;
{@link VkVideoEncodeAV1QIndexKHR 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 class
An array ofVkVideoEncodeAV1QualityLevelPropertiesKHR
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkVideoEncodeAV1QualityLevelPropertiesKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance for the specified memory address.create
(long address, int capacity) Create aVkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
instance at the specified memory.static @Nullable VkVideoEncodeAV1QualityLevelPropertiesKHR
createSafe
(long address) static @Nullable VkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
createSafe
(long address, int capacity) malloc()
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance allocated on the specifiedMemoryStack
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static int
npreferredBidirectionalCompoundReferenceNameMask
(long struct) Unsafe version ofpreferredBidirectionalCompoundReferenceNameMask()
.static int
npreferredConsecutiveBipredictiveFrameCount
(long struct) Unsafe version ofpreferredConsecutiveBipredictiveFrameCount()
.static VkVideoEncodeAV1QIndexKHR
npreferredConstantQIndex
(long struct) Unsafe version ofpreferredConstantQIndex()
.static int
npreferredGopFrameCount
(long struct) Unsafe version ofpreferredGopFrameCount()
.static int
npreferredKeyFramePeriod
(long struct) Unsafe version ofpreferredKeyFramePeriod()
.static int
Unsafe version ofpreferredMaxBidirectionalCompoundGroup1ReferenceCount()
.static int
Unsafe version ofpreferredMaxBidirectionalCompoundGroup2ReferenceCount()
.static int
npreferredMaxBidirectionalCompoundReferenceCount
(long struct) Unsafe version ofpreferredMaxBidirectionalCompoundReferenceCount()
.static int
npreferredMaxSingleReferenceCount
(long struct) Unsafe version ofpreferredMaxSingleReferenceCount()
.static int
Unsafe version ofpreferredMaxUnidirectionalCompoundGroup1ReferenceCount()
.static int
npreferredMaxUnidirectionalCompoundReferenceCount
(long struct) Unsafe version ofpreferredMaxUnidirectionalCompoundReferenceCount()
.static int
npreferredRateControlFlags
(long struct) Unsafe version ofpreferredRateControlFlags()
.static int
npreferredSingleReferenceNameMask
(long struct) Unsafe version ofpreferredSingleReferenceNameMask()
.static int
npreferredTemporalLayerCount
(long struct) Unsafe version ofpreferredTemporalLayerCount()
.static int
npreferredUnidirectionalCompoundReferenceNameMask
(long struct) Unsafe version ofpreferredUnidirectionalCompoundReferenceNameMask()
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.int
int
int
int
int
int
int
int
int
int
int
int
int
int
set
(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_AV1_QUALITY_LEVEL_PROPERTIES_KHR
value to thesType
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aVkVideoEncodeAV1QualityLevelPropertiesKHR
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkVideoEncodeAV1QualityLevelPropertiesKHR>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
preferredRateControlFlags
public int preferredRateControlFlags()- Returns:
- the value of the
preferredRateControlFlags
field.
-
preferredGopFrameCount
public int preferredGopFrameCount()- Returns:
- the value of the
preferredGopFrameCount
field.
-
preferredKeyFramePeriod
public int preferredKeyFramePeriod()- Returns:
- the value of the
preferredKeyFramePeriod
field.
-
preferredConsecutiveBipredictiveFrameCount
public int preferredConsecutiveBipredictiveFrameCount()- Returns:
- the value of the
preferredConsecutiveBipredictiveFrameCount
field.
-
preferredTemporalLayerCount
public int preferredTemporalLayerCount()- Returns:
- the value of the
preferredTemporalLayerCount
field.
-
preferredConstantQIndex
- Returns:
- a
VkVideoEncodeAV1QIndexKHR
view of thepreferredConstantQIndex
field.
-
preferredMaxSingleReferenceCount
public int preferredMaxSingleReferenceCount()- Returns:
- the value of the
preferredMaxSingleReferenceCount
field.
-
preferredSingleReferenceNameMask
public int preferredSingleReferenceNameMask()- Returns:
- the value of the
preferredSingleReferenceNameMask
field.
-
preferredMaxUnidirectionalCompoundReferenceCount
public int preferredMaxUnidirectionalCompoundReferenceCount()- Returns:
- the value of the
preferredMaxUnidirectionalCompoundReferenceCount
field.
-
preferredMaxUnidirectionalCompoundGroup1ReferenceCount
public int preferredMaxUnidirectionalCompoundGroup1ReferenceCount()- Returns:
- the value of the
preferredMaxUnidirectionalCompoundGroup1ReferenceCount
field.
-
preferredUnidirectionalCompoundReferenceNameMask
public int preferredUnidirectionalCompoundReferenceNameMask()- Returns:
- the value of the
preferredUnidirectionalCompoundReferenceNameMask
field.
-
preferredMaxBidirectionalCompoundReferenceCount
public int preferredMaxBidirectionalCompoundReferenceCount()- Returns:
- the value of the
preferredMaxBidirectionalCompoundReferenceCount
field.
-
preferredMaxBidirectionalCompoundGroup1ReferenceCount
public int preferredMaxBidirectionalCompoundGroup1ReferenceCount()- Returns:
- the value of the
preferredMaxBidirectionalCompoundGroup1ReferenceCount
field.
-
preferredMaxBidirectionalCompoundGroup2ReferenceCount
public int preferredMaxBidirectionalCompoundGroup2ReferenceCount()- Returns:
- the value of the
preferredMaxBidirectionalCompoundGroup2ReferenceCount
field.
-
preferredBidirectionalCompoundReferenceNameMask
public int preferredBidirectionalCompoundReferenceNameMask()- Returns:
- the value of the
preferredBidirectionalCompoundReferenceNameMask
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_AV1_QUALITY_LEVEL_PROPERTIES_KHR
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
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 newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance allocated withBufferUtils
. -
create
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer
instance 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 newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-