Class VkVideoEncodeH265CapabilitiesKHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkVideoEncodeH265CapabilitiesKHR extends Struct<VkVideoEncodeH265CapabilitiesKHR> implements NativeResource

 struct VkVideoEncodeH265CapabilitiesKHR {
     VkStructureType sType;
     void * pNext;
     VkVideoEncodeH265CapabilityFlagsKHR flags;
     StdVideoH265LevelIdc maxLevelIdc;
     uint32_t maxSliceSegmentCount;
     {@link VkExtent2D VkExtent2D} maxTiles;
     VkVideoEncodeH265CtbSizeFlagsKHR ctbSizes;
     VkVideoEncodeH265TransformBlockSizeFlagsKHR transformBlockSizes;
     uint32_t maxPPictureL0ReferenceCount;
     uint32_t maxBPictureL0ReferenceCount;
     uint32_t maxL1ReferenceCount;
     uint32_t maxSubLayerCount;
     VkBool32 expectDyadicTemporalSubLayerPattern;
     int32_t minQp;
     int32_t maxQp;
     VkBool32 prefersGopRemainingFrames;
     VkBool32 requiresGopRemainingFrames;
     VkVideoEncodeH265StdFlagsKHR 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.
    • MAXLEVELIDC

      public static final int MAXLEVELIDC
      The struct member offsets.
    • MAXSLICESEGMENTCOUNT

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

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

      public static final int CTBSIZES
      The struct member offsets.
    • TRANSFORMBLOCKSIZES

      public static final int TRANSFORMBLOCKSIZES
      The struct member offsets.
    • MAXPPICTUREL0REFERENCECOUNT

      public static final int MAXPPICTUREL0REFERENCECOUNT
      The struct member offsets.
    • MAXBPICTUREL0REFERENCECOUNT

      public static final int MAXBPICTUREL0REFERENCECOUNT
      The struct member offsets.
    • MAXL1REFERENCECOUNT

      public static final int MAXL1REFERENCECOUNT
      The struct member offsets.
    • MAXSUBLAYERCOUNT

      public static final int MAXSUBLAYERCOUNT
      The struct member offsets.
    • EXPECTDYADICTEMPORALSUBLAYERPATTERN

      public static final int EXPECTDYADICTEMPORALSUBLAYERPATTERN
      The struct member offsets.
    • MINQP

      public static final int MINQP
      The struct member offsets.
    • MAXQP

      public static final int MAXQP
      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

    • VkVideoEncodeH265CapabilitiesKHR

      public VkVideoEncodeH265CapabilitiesKHR(ByteBuffer container)
      Creates a VkVideoEncodeH265CapabilitiesKHR 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<VkVideoEncodeH265CapabilitiesKHR>
    • 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.
    • maxLevelIdc

      public int maxLevelIdc()
      Returns:
      the value of the maxLevelIdc field.
    • maxSliceSegmentCount

      public int maxSliceSegmentCount()
      Returns:
      the value of the maxSliceSegmentCount field.
    • maxTiles

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

      public int ctbSizes()
      Returns:
      the value of the ctbSizes field.
    • transformBlockSizes

      public int transformBlockSizes()
      Returns:
      the value of the transformBlockSizes field.
    • maxPPictureL0ReferenceCount

      public int maxPPictureL0ReferenceCount()
      Returns:
      the value of the maxPPictureL0ReferenceCount field.
    • maxBPictureL0ReferenceCount

      public int maxBPictureL0ReferenceCount()
      Returns:
      the value of the maxBPictureL0ReferenceCount field.
    • maxL1ReferenceCount

      public int maxL1ReferenceCount()
      Returns:
      the value of the maxL1ReferenceCount field.
    • maxSubLayerCount

      public int maxSubLayerCount()
      Returns:
      the value of the maxSubLayerCount field.
    • expectDyadicTemporalSubLayerPattern

      public boolean expectDyadicTemporalSubLayerPattern()
      Returns:
      the value of the expectDyadicTemporalSubLayerPattern field.
    • minQp

      public int minQp()
      Returns:
      the value of the minQp field.
    • maxQp

      public int maxQp()
      Returns:
      the value of the maxQp 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 VkVideoEncodeH265CapabilitiesKHR sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkVideoEncodeH265CapabilitiesKHR sType$Default()
      Sets the STRUCTURE_TYPE_VIDEO_ENCODE_H265_CAPABILITIES_KHR value to the sType field.
    • pNext

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

      public VkVideoEncodeH265CapabilitiesKHR 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 VkVideoEncodeH265CapabilitiesKHR malloc()
      Returns a new VkVideoEncodeH265CapabilitiesKHR instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

      public static VkVideoEncodeH265CapabilitiesKHR.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new VkVideoEncodeH265CapabilitiesKHR.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().
    • nmaxLevelIdc

      public static int nmaxLevelIdc(long struct)
      Unsafe version of maxLevelIdc().
    • nmaxSliceSegmentCount

      public static int nmaxSliceSegmentCount(long struct)
      Unsafe version of maxSliceSegmentCount().
    • nmaxTiles

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

      public static int nctbSizes(long struct)
      Unsafe version of ctbSizes().
    • ntransformBlockSizes

      public static int ntransformBlockSizes(long struct)
      Unsafe version of transformBlockSizes().
    • nmaxPPictureL0ReferenceCount

      public static int nmaxPPictureL0ReferenceCount(long struct)
    • nmaxBPictureL0ReferenceCount

      public static int nmaxBPictureL0ReferenceCount(long struct)
    • nmaxL1ReferenceCount

      public static int nmaxL1ReferenceCount(long struct)
      Unsafe version of maxL1ReferenceCount().
    • nmaxSubLayerCount

      public static int nmaxSubLayerCount(long struct)
      Unsafe version of maxSubLayerCount().
    • nexpectDyadicTemporalSubLayerPattern

      public static int nexpectDyadicTemporalSubLayerPattern(long struct)
    • nminQp

      public static int nminQp(long struct)
      Unsafe version of minQp().
    • nmaxQp

      public static int nmaxQp(long struct)
      Unsafe version of maxQp().
    • 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.