Class 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;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • MAXLEVEL

      public static final int MAXLEVEL
      The struct member offsets.
    • CODEDPICTUREALIGNMENT

      public static final int CODEDPICTUREALIGNMENT
      The struct member offsets.
    • MAXTILES

      public static final int MAXTILES
      The struct member offsets.
    • MINTILESIZE

      public static final int MINTILESIZE
      The struct member offsets.
    • MAXTILESIZE

      public static final int MAXTILESIZE
      The struct member offsets.
    • SUPERBLOCKSIZES

      public static final int SUPERBLOCKSIZES
      The struct member offsets.
    • MAXSINGLEREFERENCECOUNT

      public static final int MAXSINGLEREFERENCECOUNT
      The struct member offsets.
    • SINGLEREFERENCENAMEMASK

      public static final int SINGLEREFERENCENAMEMASK
      The struct member offsets.
    • MAXUNIDIRECTIONALCOMPOUNDREFERENCECOUNT

      public static final int MAXUNIDIRECTIONALCOMPOUNDREFERENCECOUNT
      The struct member offsets.
    • MAXUNIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNT

      public static final int MAXUNIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNT
      The struct member offsets.
    • UNIDIRECTIONALCOMPOUNDREFERENCENAMEMASK

      public static final int UNIDIRECTIONALCOMPOUNDREFERENCENAMEMASK
      The struct member offsets.
    • MAXBIDIRECTIONALCOMPOUNDREFERENCECOUNT

      public static final int MAXBIDIRECTIONALCOMPOUNDREFERENCECOUNT
      The struct member offsets.
    • MAXBIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNT

      public static final int MAXBIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNT
      The struct member offsets.
    • MAXBIDIRECTIONALCOMPOUNDGROUP2REFERENCECOUNT

      public static final int MAXBIDIRECTIONALCOMPOUNDGROUP2REFERENCECOUNT
      The struct member offsets.
    • BIDIRECTIONALCOMPOUNDREFERENCENAMEMASK

      public static final int BIDIRECTIONALCOMPOUNDREFERENCENAMEMASK
      The struct member offsets.
    • MAXTEMPORALLAYERCOUNT

      public static final int MAXTEMPORALLAYERCOUNT
      The struct member offsets.
    • MAXSPATIALLAYERCOUNT

      public static final int MAXSPATIALLAYERCOUNT
      The struct member offsets.
    • MAXOPERATINGPOINTS

      public static final int MAXOPERATINGPOINTS
      The struct member offsets.
    • MINQINDEX

      public static final int MINQINDEX
      The struct member offsets.
    • MAXQINDEX

      public static final int MAXQINDEX
      The struct member offsets.
    • PREFERSGOPREMAININGFRAMES

      public static final int PREFERSGOPREMAININGFRAMES
      The struct member offsets.
    • REQUIRESGOPREMAININGFRAMES

      public static final int REQUIRESGOPREMAININGFRAMES
      The struct member offsets.
    • STDSYNTAXFLAGS

      public static final int STDSYNTAXFLAGS
      The struct member offsets.
  • Constructor Details

    • VkVideoEncodeAV1CapabilitiesKHR

      public VkVideoEncodeAV1CapabilitiesKHR(ByteBuffer container)
      Creates a VkVideoEncodeAV1CapabilitiesKHR instance at the current position of the specified ByteBuffer 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
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<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

      public VkExtent2D codedPictureAlignment()
      Returns:
      a VkExtent2D view of the codedPictureAlignment field.
    • maxTiles

      public VkExtent2D maxTiles()
      Returns:
      a VkExtent2D view of the maxTiles field.
    • minTileSize

      public VkExtent2D minTileSize()
      Returns:
      a VkExtent2D view of the minTileSize field.
    • maxTileSize

      public VkExtent2D maxTileSize()
      Returns:
      a VkExtent2D view of the maxTileSize 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

      public VkVideoEncodeAV1CapabilitiesKHR sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkVideoEncodeAV1CapabilitiesKHR sType$Default()
      Sets the STRUCTURE_TYPE_VIDEO_ENCODE_AV1_CAPABILITIES_KHR value to the sType field.
    • pNext

      public VkVideoEncodeAV1CapabilitiesKHR pNext(long value)
      Sets the specified value to the pNext field.
    • set

      public VkVideoEncodeAV1CapabilitiesKHR set(int sType, long pNext)
      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

      public static VkVideoEncodeAV1CapabilitiesKHR malloc()
      Returns a new VkVideoEncodeAV1CapabilitiesKHR instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VkVideoEncodeAV1CapabilitiesKHR calloc()
      Returns a new VkVideoEncodeAV1CapabilitiesKHR instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VkVideoEncodeAV1CapabilitiesKHR create()
      Returns a new VkVideoEncodeAV1CapabilitiesKHR instance allocated with BufferUtils.
    • create

      public static VkVideoEncodeAV1CapabilitiesKHR create(long address)
      Returns a new VkVideoEncodeAV1CapabilitiesKHR instance for the specified memory address.
    • createSafe

      public static @Nullable VkVideoEncodeAV1CapabilitiesKHR createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkVideoEncodeAV1CapabilitiesKHR.Buffer malloc(int capacity)
      Returns a new VkVideoEncodeAV1CapabilitiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VkVideoEncodeAV1CapabilitiesKHR.Buffer calloc(int capacity)
      Returns a new VkVideoEncodeAV1CapabilitiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkVideoEncodeAV1CapabilitiesKHR.Buffer create(int capacity)
      Returns a new VkVideoEncodeAV1CapabilitiesKHR.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkVideoEncodeAV1CapabilitiesKHR.Buffer create(long address, int capacity)
      Create a VkVideoEncodeAV1CapabilitiesKHR.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkVideoEncodeAV1CapabilitiesKHR.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkVideoEncodeAV1CapabilitiesKHR malloc(MemoryStack stack)
      Returns a new VkVideoEncodeAV1CapabilitiesKHR instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VkVideoEncodeAV1CapabilitiesKHR calloc(MemoryStack stack)
      Returns a new VkVideoEncodeAV1CapabilitiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static VkVideoEncodeAV1CapabilitiesKHR.Buffer malloc(int capacity, MemoryStack stack)
      Returns a new VkVideoEncodeAV1CapabilitiesKHR.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkVideoEncodeAV1CapabilitiesKHR.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new VkVideoEncodeAV1CapabilitiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nsType

      public static int nsType(long struct)
      Unsafe version of sType().
    • npNext

      public static long npNext(long struct)
      Unsafe version of pNext().
    • nflags

      public static int nflags(long struct)
      Unsafe version of flags().
    • nmaxLevel

      public static int nmaxLevel(long struct)
      Unsafe version of maxLevel().
    • ncodedPictureAlignment

      public static VkExtent2D ncodedPictureAlignment(long struct)
      Unsafe version of codedPictureAlignment().
    • nmaxTiles

      public static VkExtent2D nmaxTiles(long struct)
      Unsafe version of maxTiles().
    • nminTileSize

      public static VkExtent2D nminTileSize(long struct)
      Unsafe version of minTileSize().
    • nmaxTileSize

      public static VkExtent2D nmaxTileSize(long struct)
      Unsafe version of maxTileSize().
    • nsuperblockSizes

      public static int nsuperblockSizes(long struct)
      Unsafe version of superblockSizes().
    • nmaxSingleReferenceCount

      public static int nmaxSingleReferenceCount(long struct)
      Unsafe version of maxSingleReferenceCount().
    • nsingleReferenceNameMask

      public static int nsingleReferenceNameMask(long struct)
      Unsafe version of singleReferenceNameMask().
    • nmaxUnidirectionalCompoundReferenceCount

      public static int nmaxUnidirectionalCompoundReferenceCount(long struct)
    • nmaxUnidirectionalCompoundGroup1ReferenceCount

      public static int nmaxUnidirectionalCompoundGroup1ReferenceCount(long struct)
    • nunidirectionalCompoundReferenceNameMask

      public static int nunidirectionalCompoundReferenceNameMask(long struct)
    • nmaxBidirectionalCompoundReferenceCount

      public static int nmaxBidirectionalCompoundReferenceCount(long struct)
    • nmaxBidirectionalCompoundGroup1ReferenceCount

      public static int nmaxBidirectionalCompoundGroup1ReferenceCount(long struct)
    • nmaxBidirectionalCompoundGroup2ReferenceCount

      public static int nmaxBidirectionalCompoundGroup2ReferenceCount(long struct)
    • nbidirectionalCompoundReferenceNameMask

      public static int nbidirectionalCompoundReferenceNameMask(long struct)
    • nmaxTemporalLayerCount

      public static int nmaxTemporalLayerCount(long struct)
      Unsafe version of maxTemporalLayerCount().
    • nmaxSpatialLayerCount

      public static int nmaxSpatialLayerCount(long struct)
      Unsafe version of maxSpatialLayerCount().
    • nmaxOperatingPoints

      public static int nmaxOperatingPoints(long struct)
      Unsafe version of maxOperatingPoints().
    • nminQIndex

      public static int nminQIndex(long struct)
      Unsafe version of minQIndex().
    • nmaxQIndex

      public static int nmaxQIndex(long struct)
      Unsafe version of maxQIndex().
    • nprefersGopRemainingFrames

      public static int nprefersGopRemainingFrames(long struct)
      Unsafe version of prefersGopRemainingFrames().
    • nrequiresGopRemainingFrames

      public static int nrequiresGopRemainingFrames(long struct)
      Unsafe version of requiresGopRemainingFrames().
    • nstdSyntaxFlags

      public static int nstdSyntaxFlags(long struct)
      Unsafe version of stdSyntaxFlags().
    • nsType

      public static void nsType(long struct, int value)
      Unsafe version of sType.
    • npNext

      public static void npNext(long struct, long value)
      Unsafe version of pNext.