Package org.lwjgl.vulkan
Class VkVideoEncodeAV1CapabilitiesKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeAV1CapabilitiesKHR>
org.lwjgl.vulkan.VkVideoEncodeAV1CapabilitiesKHR
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkVideoEncodeAV1CapabilitiesKHR
extends Struct<VkVideoEncodeAV1CapabilitiesKHR>
implements NativeResource
struct VkVideoEncodeAV1CapabilitiesKHR {
VkStructureType sType;
void * pNext;
VkVideoEncodeAV1CapabilityFlagsKHR flags;
StdVideoAV1Level maxLevel;
{@link VkExtent2D VkExtent2D} codedPictureAlignment;
{@link VkExtent2D VkExtent2D} maxTiles;
{@link VkExtent2D VkExtent2D} minTileSize;
{@link VkExtent2D VkExtent2D} maxTileSize;
VkVideoEncodeAV1SuperblockSizeFlagsKHR superblockSizes;
uint32_t maxSingleReferenceCount;
uint32_t singleReferenceNameMask;
uint32_t maxUnidirectionalCompoundReferenceCount;
uint32_t maxUnidirectionalCompoundGroup1ReferenceCount;
uint32_t unidirectionalCompoundReferenceNameMask;
uint32_t maxBidirectionalCompoundReferenceCount;
uint32_t maxBidirectionalCompoundGroup1ReferenceCount;
uint32_t maxBidirectionalCompoundGroup2ReferenceCount;
uint32_t bidirectionalCompoundReferenceNameMask;
uint32_t maxTemporalLayerCount;
uint32_t maxSpatialLayerCount;
uint32_t maxOperatingPoints;
uint32_t minQIndex;
uint32_t maxQIndex;
VkBool32 prefersGopRemainingFrames;
VkBool32 requiresGopRemainingFrames;
VkVideoEncodeAV1StdFlagsKHR stdSyntaxFlags;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofVkVideoEncodeAV1CapabilitiesKHR
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 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.static final int
The struct member offsets.static final int
The struct member offsets.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
ConstructorsConstructorDescriptionVkVideoEncodeAV1CapabilitiesKHR
(ByteBuffer container) Creates aVkVideoEncodeAV1CapabilitiesKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionint
calloc()
Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance for the specified memory address.create
(long address, int capacity) Create aVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance at the specified memory.static @Nullable VkVideoEncodeAV1CapabilitiesKHR
createSafe
(long address) static @Nullable VkVideoEncodeAV1CapabilitiesKHR.Buffer
createSafe
(long address, int capacity) int
flags()
malloc()
Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance allocated on the specifiedMemoryStack
.int
int
int
int
maxLevel()
int
int
int
int
int
maxTiles()
int
int
int
static int
nbidirectionalCompoundReferenceNameMask
(long struct) Unsafe version ofbidirectionalCompoundReferenceNameMask()
.static VkExtent2D
ncodedPictureAlignment
(long struct) Unsafe version ofcodedPictureAlignment()
.static int
nflags
(long struct) Unsafe version offlags()
.static int
nmaxBidirectionalCompoundGroup1ReferenceCount
(long struct) Unsafe version ofmaxBidirectionalCompoundGroup1ReferenceCount()
.static int
nmaxBidirectionalCompoundGroup2ReferenceCount
(long struct) Unsafe version ofmaxBidirectionalCompoundGroup2ReferenceCount()
.static int
nmaxBidirectionalCompoundReferenceCount
(long struct) Unsafe version ofmaxBidirectionalCompoundReferenceCount()
.static int
nmaxLevel
(long struct) Unsafe version ofmaxLevel()
.static int
nmaxOperatingPoints
(long struct) Unsafe version ofmaxOperatingPoints()
.static int
nmaxQIndex
(long struct) Unsafe version ofmaxQIndex()
.static int
nmaxSingleReferenceCount
(long struct) Unsafe version ofmaxSingleReferenceCount()
.static int
nmaxSpatialLayerCount
(long struct) Unsafe version ofmaxSpatialLayerCount()
.static int
nmaxTemporalLayerCount
(long struct) Unsafe version ofmaxTemporalLayerCount()
.static VkExtent2D
nmaxTiles
(long struct) Unsafe version ofmaxTiles()
.static VkExtent2D
nmaxTileSize
(long struct) Unsafe version ofmaxTileSize()
.static int
nmaxUnidirectionalCompoundGroup1ReferenceCount
(long struct) Unsafe version ofmaxUnidirectionalCompoundGroup1ReferenceCount()
.static int
nmaxUnidirectionalCompoundReferenceCount
(long struct) Unsafe version ofmaxUnidirectionalCompoundReferenceCount()
.static int
nminQIndex
(long struct) Unsafe version ofminQIndex()
.static VkExtent2D
nminTileSize
(long struct) Unsafe version ofminTileSize()
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static int
nprefersGopRemainingFrames
(long struct) Unsafe version ofprefersGopRemainingFrames()
.static int
nrequiresGopRemainingFrames
(long struct) Unsafe version ofrequiresGopRemainingFrames()
.static int
nsingleReferenceNameMask
(long struct) Unsafe version ofsingleReferenceNameMask()
.static int
nstdSyntaxFlags
(long struct) Unsafe version ofstdSyntaxFlags()
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.static int
nsuperblockSizes
(long struct) Unsafe version ofsuperblockSizes()
.static int
nunidirectionalCompoundReferenceNameMask
(long struct) Unsafe version ofunidirectionalCompoundReferenceNameMask()
.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.boolean
boolean
set
(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
int
sizeof()
Returnssizeof(struct)
.int
int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_AV1_CAPABILITIES_KHR
value to thesType
field.int
int
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. -
FLAGS
public static final int FLAGSThe struct member offsets. -
MAXLEVEL
public static final int MAXLEVELThe struct member offsets. -
CODEDPICTUREALIGNMENT
public static final int CODEDPICTUREALIGNMENTThe struct member offsets. -
MAXTILES
public static final int MAXTILESThe struct member offsets. -
MINTILESIZE
public static final int MINTILESIZEThe struct member offsets. -
MAXTILESIZE
public static final int MAXTILESIZEThe struct member offsets. -
SUPERBLOCKSIZES
public static final int SUPERBLOCKSIZESThe struct member offsets. -
MAXSINGLEREFERENCECOUNT
public static final int MAXSINGLEREFERENCECOUNTThe struct member offsets. -
SINGLEREFERENCENAMEMASK
public static final int SINGLEREFERENCENAMEMASKThe struct member offsets. -
MAXUNIDIRECTIONALCOMPOUNDREFERENCECOUNT
public static final int MAXUNIDIRECTIONALCOMPOUNDREFERENCECOUNTThe struct member offsets. -
MAXUNIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNT
public static final int MAXUNIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNTThe struct member offsets. -
UNIDIRECTIONALCOMPOUNDREFERENCENAMEMASK
public static final int UNIDIRECTIONALCOMPOUNDREFERENCENAMEMASKThe struct member offsets. -
MAXBIDIRECTIONALCOMPOUNDREFERENCECOUNT
public static final int MAXBIDIRECTIONALCOMPOUNDREFERENCECOUNTThe struct member offsets. -
MAXBIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNT
public static final int MAXBIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNTThe struct member offsets. -
MAXBIDIRECTIONALCOMPOUNDGROUP2REFERENCECOUNT
public static final int MAXBIDIRECTIONALCOMPOUNDGROUP2REFERENCECOUNTThe struct member offsets. -
BIDIRECTIONALCOMPOUNDREFERENCENAMEMASK
public static final int BIDIRECTIONALCOMPOUNDREFERENCENAMEMASKThe struct member offsets. -
MAXTEMPORALLAYERCOUNT
public static final int MAXTEMPORALLAYERCOUNTThe struct member offsets. -
MAXSPATIALLAYERCOUNT
public static final int MAXSPATIALLAYERCOUNTThe struct member offsets. -
MAXOPERATINGPOINTS
public static final int MAXOPERATINGPOINTSThe struct member offsets. -
MINQINDEX
public static final int MINQINDEXThe struct member offsets. -
MAXQINDEX
public static final int MAXQINDEXThe struct member offsets. -
PREFERSGOPREMAININGFRAMES
public static final int PREFERSGOPREMAININGFRAMESThe struct member offsets. -
REQUIRESGOPREMAININGFRAMES
public static final int REQUIRESGOPREMAININGFRAMESThe struct member offsets. -
STDSYNTAXFLAGS
public static final int STDSYNTAXFLAGSThe struct member offsets.
-
-
Constructor Details
-
VkVideoEncodeAV1CapabilitiesKHR
Creates aVkVideoEncodeAV1CapabilitiesKHR
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<VkVideoEncodeAV1CapabilitiesKHR>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
flags
public int flags()- Returns:
- the value of the
flags
field.
-
maxLevel
public int maxLevel()- Returns:
- the value of the
maxLevel
field.
-
codedPictureAlignment
- Returns:
- a
VkExtent2D
view of thecodedPictureAlignment
field.
-
maxTiles
- Returns:
- a
VkExtent2D
view of themaxTiles
field.
-
minTileSize
- Returns:
- a
VkExtent2D
view of theminTileSize
field.
-
maxTileSize
- Returns:
- a
VkExtent2D
view of themaxTileSize
field.
-
superblockSizes
public int superblockSizes()- Returns:
- the value of the
superblockSizes
field.
-
maxSingleReferenceCount
public int maxSingleReferenceCount()- Returns:
- the value of the
maxSingleReferenceCount
field.
-
singleReferenceNameMask
public int singleReferenceNameMask()- Returns:
- the value of the
singleReferenceNameMask
field.
-
maxUnidirectionalCompoundReferenceCount
public int maxUnidirectionalCompoundReferenceCount()- Returns:
- the value of the
maxUnidirectionalCompoundReferenceCount
field.
-
maxUnidirectionalCompoundGroup1ReferenceCount
public int maxUnidirectionalCompoundGroup1ReferenceCount()- Returns:
- the value of the
maxUnidirectionalCompoundGroup1ReferenceCount
field.
-
unidirectionalCompoundReferenceNameMask
public int unidirectionalCompoundReferenceNameMask()- Returns:
- the value of the
unidirectionalCompoundReferenceNameMask
field.
-
maxBidirectionalCompoundReferenceCount
public int maxBidirectionalCompoundReferenceCount()- Returns:
- the value of the
maxBidirectionalCompoundReferenceCount
field.
-
maxBidirectionalCompoundGroup1ReferenceCount
public int maxBidirectionalCompoundGroup1ReferenceCount()- Returns:
- the value of the
maxBidirectionalCompoundGroup1ReferenceCount
field.
-
maxBidirectionalCompoundGroup2ReferenceCount
public int maxBidirectionalCompoundGroup2ReferenceCount()- Returns:
- the value of the
maxBidirectionalCompoundGroup2ReferenceCount
field.
-
bidirectionalCompoundReferenceNameMask
public int bidirectionalCompoundReferenceNameMask()- Returns:
- the value of the
bidirectionalCompoundReferenceNameMask
field.
-
maxTemporalLayerCount
public int maxTemporalLayerCount()- Returns:
- the value of the
maxTemporalLayerCount
field.
-
maxSpatialLayerCount
public int maxSpatialLayerCount()- Returns:
- the value of the
maxSpatialLayerCount
field.
-
maxOperatingPoints
public int maxOperatingPoints()- Returns:
- the value of the
maxOperatingPoints
field.
-
minQIndex
public int minQIndex()- Returns:
- the value of the
minQIndex
field.
-
maxQIndex
public int maxQIndex()- Returns:
- the value of the
maxQIndex
field.
-
prefersGopRemainingFrames
public boolean prefersGopRemainingFrames()- Returns:
- the value of the
prefersGopRemainingFrames
field.
-
requiresGopRemainingFrames
public boolean requiresGopRemainingFrames()- Returns:
- the value of the
requiresGopRemainingFrames
field.
-
stdSyntaxFlags
public int stdSyntaxFlags()- Returns:
- the value of the
stdSyntaxFlags
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_AV1_CAPABILITIES_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 newVkVideoEncodeAV1CapabilitiesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance allocated withBufferUtils
. -
create
Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkVideoEncodeAV1CapabilitiesKHR.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR.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()
. -
nflags
public static int nflags(long struct) Unsafe version offlags()
. -
nmaxLevel
public static int nmaxLevel(long struct) Unsafe version ofmaxLevel()
. -
ncodedPictureAlignment
Unsafe version ofcodedPictureAlignment()
. -
nmaxTiles
Unsafe version ofmaxTiles()
. -
nminTileSize
Unsafe version ofminTileSize()
. -
nmaxTileSize
Unsafe version ofmaxTileSize()
. -
nsuperblockSizes
public static int nsuperblockSizes(long struct) Unsafe version ofsuperblockSizes()
. -
nmaxSingleReferenceCount
public static int nmaxSingleReferenceCount(long struct) Unsafe version ofmaxSingleReferenceCount()
. -
nsingleReferenceNameMask
public static int nsingleReferenceNameMask(long struct) Unsafe version ofsingleReferenceNameMask()
. -
nmaxUnidirectionalCompoundReferenceCount
public static int nmaxUnidirectionalCompoundReferenceCount(long struct) Unsafe version ofmaxUnidirectionalCompoundReferenceCount()
. -
nmaxUnidirectionalCompoundGroup1ReferenceCount
public static int nmaxUnidirectionalCompoundGroup1ReferenceCount(long struct) Unsafe version ofmaxUnidirectionalCompoundGroup1ReferenceCount()
. -
nunidirectionalCompoundReferenceNameMask
public static int nunidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofunidirectionalCompoundReferenceNameMask()
. -
nmaxBidirectionalCompoundReferenceCount
public static int nmaxBidirectionalCompoundReferenceCount(long struct) Unsafe version ofmaxBidirectionalCompoundReferenceCount()
. -
nmaxBidirectionalCompoundGroup1ReferenceCount
public static int nmaxBidirectionalCompoundGroup1ReferenceCount(long struct) Unsafe version ofmaxBidirectionalCompoundGroup1ReferenceCount()
. -
nmaxBidirectionalCompoundGroup2ReferenceCount
public static int nmaxBidirectionalCompoundGroup2ReferenceCount(long struct) Unsafe version ofmaxBidirectionalCompoundGroup2ReferenceCount()
. -
nbidirectionalCompoundReferenceNameMask
public static int nbidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofbidirectionalCompoundReferenceNameMask()
. -
nmaxTemporalLayerCount
public static int nmaxTemporalLayerCount(long struct) Unsafe version ofmaxTemporalLayerCount()
. -
nmaxSpatialLayerCount
public static int nmaxSpatialLayerCount(long struct) Unsafe version ofmaxSpatialLayerCount()
. -
nmaxOperatingPoints
public static int nmaxOperatingPoints(long struct) Unsafe version ofmaxOperatingPoints()
. -
nminQIndex
public static int nminQIndex(long struct) Unsafe version ofminQIndex()
. -
nmaxQIndex
public static int nmaxQIndex(long struct) Unsafe version ofmaxQIndex()
. -
nprefersGopRemainingFrames
public static int nprefersGopRemainingFrames(long struct) Unsafe version ofprefersGopRemainingFrames()
. -
nrequiresGopRemainingFrames
public static int nrequiresGopRemainingFrames(long struct) Unsafe version ofrequiresGopRemainingFrames()
. -
nstdSyntaxFlags
public static int nstdSyntaxFlags(long struct) Unsafe version ofstdSyntaxFlags()
. -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType
. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext
.
-