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 Link icon

    • SIZEOF Link icon

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    • VkVideoEncodeAV1CapabilitiesKHR Link icon

      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 Link icon

    • sizeof Link icon

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VkVideoEncodeAV1CapabilitiesKHR>
    • sType Link icon

      public int sType()
      Returns:
      the value of the sType field.
    • pNext Link icon

      public long pNext()
      Returns:
      the value of the pNext field.
    • flags Link icon

      public int flags()
      Returns:
      the value of the flags field.
    • maxLevel Link icon

      public int maxLevel()
      Returns:
      the value of the maxLevel field.
    • codedPictureAlignment Link icon

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

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

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

      public VkExtent2D maxTileSize()
      Returns:
      a VkExtent2D view of the maxTileSize field.
    • superblockSizes Link icon

      public int superblockSizes()
      Returns:
      the value of the superblockSizes field.
    • maxSingleReferenceCount Link icon

      public int maxSingleReferenceCount()
      Returns:
      the value of the maxSingleReferenceCount field.
    • singleReferenceNameMask Link icon

      public int singleReferenceNameMask()
      Returns:
      the value of the singleReferenceNameMask field.
    • maxUnidirectionalCompoundReferenceCount Link icon

      public int maxUnidirectionalCompoundReferenceCount()
      Returns:
      the value of the maxUnidirectionalCompoundReferenceCount field.
    • maxUnidirectionalCompoundGroup1ReferenceCount Link icon

      public int maxUnidirectionalCompoundGroup1ReferenceCount()
      Returns:
      the value of the maxUnidirectionalCompoundGroup1ReferenceCount field.
    • unidirectionalCompoundReferenceNameMask Link icon

      public int unidirectionalCompoundReferenceNameMask()
      Returns:
      the value of the unidirectionalCompoundReferenceNameMask field.
    • maxBidirectionalCompoundReferenceCount Link icon

      public int maxBidirectionalCompoundReferenceCount()
      Returns:
      the value of the maxBidirectionalCompoundReferenceCount field.
    • maxBidirectionalCompoundGroup1ReferenceCount Link icon

      public int maxBidirectionalCompoundGroup1ReferenceCount()
      Returns:
      the value of the maxBidirectionalCompoundGroup1ReferenceCount field.
    • maxBidirectionalCompoundGroup2ReferenceCount Link icon

      public int maxBidirectionalCompoundGroup2ReferenceCount()
      Returns:
      the value of the maxBidirectionalCompoundGroup2ReferenceCount field.
    • bidirectionalCompoundReferenceNameMask Link icon

      public int bidirectionalCompoundReferenceNameMask()
      Returns:
      the value of the bidirectionalCompoundReferenceNameMask field.
    • maxTemporalLayerCount Link icon

      public int maxTemporalLayerCount()
      Returns:
      the value of the maxTemporalLayerCount field.
    • maxSpatialLayerCount Link icon

      public int maxSpatialLayerCount()
      Returns:
      the value of the maxSpatialLayerCount field.
    • maxOperatingPoints Link icon

      public int maxOperatingPoints()
      Returns:
      the value of the maxOperatingPoints field.
    • minQIndex Link icon

      public int minQIndex()
      Returns:
      the value of the minQIndex field.
    • maxQIndex Link icon

      public int maxQIndex()
      Returns:
      the value of the maxQIndex field.
    • prefersGopRemainingFrames Link icon

      public boolean prefersGopRemainingFrames()
      Returns:
      the value of the prefersGopRemainingFrames field.
    • requiresGopRemainingFrames Link icon

      public boolean requiresGopRemainingFrames()
      Returns:
      the value of the requiresGopRemainingFrames field.
    • stdSyntaxFlags Link icon

      public int stdSyntaxFlags()
      Returns:
      the value of the stdSyntaxFlags field.
    • sType Link icon

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

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

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

      public VkVideoEncodeAV1CapabilitiesKHR set(int sType, long pNext)
      Initializes this struct with the specified values.
    • set Link icon

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc Link icon

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

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

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

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

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

      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 Link icon

      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 Link icon

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

      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 Link icon

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

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

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

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

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

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

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

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

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

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

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

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

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

      public static int nmaxUnidirectionalCompoundReferenceCount(long struct)
    • nmaxUnidirectionalCompoundGroup1ReferenceCount Link icon

      public static int nmaxUnidirectionalCompoundGroup1ReferenceCount(long struct)
    • nunidirectionalCompoundReferenceNameMask Link icon

      public static int nunidirectionalCompoundReferenceNameMask(long struct)
    • nmaxBidirectionalCompoundReferenceCount Link icon

      public static int nmaxBidirectionalCompoundReferenceCount(long struct)
    • nmaxBidirectionalCompoundGroup1ReferenceCount Link icon

      public static int nmaxBidirectionalCompoundGroup1ReferenceCount(long struct)
    • nmaxBidirectionalCompoundGroup2ReferenceCount Link icon

      public static int nmaxBidirectionalCompoundGroup2ReferenceCount(long struct)
    • nbidirectionalCompoundReferenceNameMask Link icon

      public static int nbidirectionalCompoundReferenceNameMask(long struct)
    • nmaxTemporalLayerCount Link icon

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

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

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

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

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

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

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

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

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

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