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 classAn array ofVkVideoEncodeAV1CapabilitiesKHRstructs.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 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.static final intThe struct member offsets.static final intThe struct member offsets.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
ConstructorsConstructorDescriptionVkVideoEncodeAV1CapabilitiesKHR(ByteBuffer container) Creates aVkVideoEncodeAV1CapabilitiesKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintcalloc()Returns a newVkVideoEncodeAV1CapabilitiesKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkVideoEncodeAV1CapabilitiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkVideoEncodeAV1CapabilitiesKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkVideoEncodeAV1CapabilitiesKHRinstance for the specified memory address.create(long address, int capacity) Create aVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance at the specified memory.static @Nullable VkVideoEncodeAV1CapabilitiesKHRcreateSafe(long address) static @Nullable VkVideoEncodeAV1CapabilitiesKHR.BuffercreateSafe(long address, int capacity) intflags()malloc()Returns a newVkVideoEncodeAV1CapabilitiesKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkVideoEncodeAV1CapabilitiesKHRinstance allocated on the specifiedMemoryStack.intintintintmaxLevel()intintintintintmaxTiles()intintintstatic intnbidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofbidirectionalCompoundReferenceNameMask().static VkExtent2DncodedPictureAlignment(long struct) Unsafe version ofcodedPictureAlignment().static intnflags(long struct) Unsafe version offlags().static intnmaxBidirectionalCompoundGroup1ReferenceCount(long struct) Unsafe version ofmaxBidirectionalCompoundGroup1ReferenceCount().static intnmaxBidirectionalCompoundGroup2ReferenceCount(long struct) Unsafe version ofmaxBidirectionalCompoundGroup2ReferenceCount().static intnmaxBidirectionalCompoundReferenceCount(long struct) Unsafe version ofmaxBidirectionalCompoundReferenceCount().static intnmaxLevel(long struct) Unsafe version ofmaxLevel().static intnmaxOperatingPoints(long struct) Unsafe version ofmaxOperatingPoints().static intnmaxQIndex(long struct) Unsafe version ofmaxQIndex().static intnmaxSingleReferenceCount(long struct) Unsafe version ofmaxSingleReferenceCount().static intnmaxSpatialLayerCount(long struct) Unsafe version ofmaxSpatialLayerCount().static intnmaxTemporalLayerCount(long struct) Unsafe version ofmaxTemporalLayerCount().static VkExtent2DnmaxTiles(long struct) Unsafe version ofmaxTiles().static VkExtent2DnmaxTileSize(long struct) Unsafe version ofmaxTileSize().static intnmaxUnidirectionalCompoundGroup1ReferenceCount(long struct) Unsafe version ofmaxUnidirectionalCompoundGroup1ReferenceCount().static intnmaxUnidirectionalCompoundReferenceCount(long struct) Unsafe version ofmaxUnidirectionalCompoundReferenceCount().static intnminQIndex(long struct) Unsafe version ofminQIndex().static VkExtent2DnminTileSize(long struct) Unsafe version ofminTileSize().static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnprefersGopRemainingFrames(long struct) Unsafe version ofprefersGopRemainingFrames().static intnrequiresGopRemainingFrames(long struct) Unsafe version ofrequiresGopRemainingFrames().static intnsingleReferenceNameMask(long struct) Unsafe version ofsingleReferenceNameMask().static intnstdSyntaxFlags(long struct) Unsafe version ofstdSyntaxFlags().static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.static intnsuperblockSizes(long struct) Unsafe version ofsuperblockSizes().static intnunidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofunidirectionalCompoundReferenceNameMask().longpNext()pNext(long value) Sets the specified value to thepNextfield.booleanbooleanset(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.intintsizeof()Returnssizeof(struct).intintsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_AV1_CAPABILITIES_KHRvalue to thesTypefield.intintMethods 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. -
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 aVkVideoEncodeAV1CapabilitiesKHRinstance 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<VkVideoEncodeAV1CapabilitiesKHR>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
maxLevel
public int maxLevel()- Returns:
- the value of the
maxLevelfield.
-
codedPictureAlignment
- Returns:
- a
VkExtent2Dview of thecodedPictureAlignmentfield.
-
maxTiles
- Returns:
- a
VkExtent2Dview of themaxTilesfield.
-
minTileSize
- Returns:
- a
VkExtent2Dview of theminTileSizefield.
-
maxTileSize
- Returns:
- a
VkExtent2Dview of themaxTileSizefield.
-
superblockSizes
public int superblockSizes()- Returns:
- the value of the
superblockSizesfield.
-
maxSingleReferenceCount
public int maxSingleReferenceCount()- Returns:
- the value of the
maxSingleReferenceCountfield.
-
singleReferenceNameMask
public int singleReferenceNameMask()- Returns:
- the value of the
singleReferenceNameMaskfield.
-
maxUnidirectionalCompoundReferenceCount
public int maxUnidirectionalCompoundReferenceCount()- Returns:
- the value of the
maxUnidirectionalCompoundReferenceCountfield.
-
maxUnidirectionalCompoundGroup1ReferenceCount
public int maxUnidirectionalCompoundGroup1ReferenceCount()- Returns:
- the value of the
maxUnidirectionalCompoundGroup1ReferenceCountfield.
-
unidirectionalCompoundReferenceNameMask
public int unidirectionalCompoundReferenceNameMask()- Returns:
- the value of the
unidirectionalCompoundReferenceNameMaskfield.
-
maxBidirectionalCompoundReferenceCount
public int maxBidirectionalCompoundReferenceCount()- Returns:
- the value of the
maxBidirectionalCompoundReferenceCountfield.
-
maxBidirectionalCompoundGroup1ReferenceCount
public int maxBidirectionalCompoundGroup1ReferenceCount()- Returns:
- the value of the
maxBidirectionalCompoundGroup1ReferenceCountfield.
-
maxBidirectionalCompoundGroup2ReferenceCount
public int maxBidirectionalCompoundGroup2ReferenceCount()- Returns:
- the value of the
maxBidirectionalCompoundGroup2ReferenceCountfield.
-
bidirectionalCompoundReferenceNameMask
public int bidirectionalCompoundReferenceNameMask()- Returns:
- the value of the
bidirectionalCompoundReferenceNameMaskfield.
-
maxTemporalLayerCount
public int maxTemporalLayerCount()- Returns:
- the value of the
maxTemporalLayerCountfield.
-
maxSpatialLayerCount
public int maxSpatialLayerCount()- Returns:
- the value of the
maxSpatialLayerCountfield.
-
maxOperatingPoints
public int maxOperatingPoints()- Returns:
- the value of the
maxOperatingPointsfield.
-
minQIndex
public int minQIndex()- Returns:
- the value of the
minQIndexfield.
-
maxQIndex
public int maxQIndex()- Returns:
- the value of the
maxQIndexfield.
-
prefersGopRemainingFrames
public boolean prefersGopRemainingFrames()- Returns:
- the value of the
prefersGopRemainingFramesfield.
-
requiresGopRemainingFrames
public boolean requiresGopRemainingFrames()- Returns:
- the value of the
requiresGopRemainingFramesfield.
-
stdSyntaxFlags
public int stdSyntaxFlags()- Returns:
- the value of the
stdSyntaxFlagsfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_AV1_CAPABILITIES_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 newVkVideoEncodeAV1CapabilitiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeAV1CapabilitiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeAV1CapabilitiesKHRinstance allocated withBufferUtils. -
create
Returns a newVkVideoEncodeAV1CapabilitiesKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance 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 newVkVideoEncodeAV1CapabilitiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeAV1CapabilitiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeAV1CapabilitiesKHR.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(). -
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.
-