Class VkVideoCapabilitiesKHR

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, CAPABILITYFLAGS, MINBITSTREAMBUFFEROFFSETALIGNMENT, MINBITSTREAMBUFFERSIZEALIGNMENT, VIDEOPICTUREEXTENTGRANULARITY, MINEXTENT, MAXEXTENT, MAXREFERENCEPICTURESSLOTSCOUNT, MAXREFERENCEPICTURESACTIVECOUNT

        The struct member offsets.
    • Constructor Detail

      • VkVideoCapabilitiesKHR

        public VkVideoCapabilitiesKHR​(java.nio.ByteBuffer container)
        Creates a VkVideoCapabilitiesKHR 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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • sType

        public int sType()
        the type of this structure.
      • pNext

        public long pNext()
        NULL or a pointer to a structure extending this structure.
      • capabilityFlags

        public int capabilityFlags()
        a bitmask of VkVideoCapabilityFlagBitsKHR specifying capability flags.
      • minBitstreamBufferOffsetAlignment

        public long minBitstreamBufferOffsetAlignment()
        the minimum alignment for the input or output bitstream buffer offset.
      • minBitstreamBufferSizeAlignment

        public long minBitstreamBufferSizeAlignment()
        the minimum alignment for the input or output bitstream buffer size
      • videoPictureExtentGranularity

        public VkExtent2D videoPictureExtentGranularity()
        the minimum size alignment of the extent with the required padding for the decoded or encoded video images.
      • minExtent

        public VkExtent2D minExtent()
        the minimum width and height of the decoded or encoded video.
      • maxExtent

        public VkExtent2D maxExtent()
        the maximum width and height of the decoded or encoded video.
      • maxReferencePicturesSlotsCount

        public int maxReferencePicturesSlotsCount()
        the maximum number of DPB Slots supported by the implementation for a single video session instance.
      • maxReferencePicturesActiveCount

        public int maxReferencePicturesActiveCount()
        the maximum slots that can be used as Reference Pictures with a single decode or encode operation.
      • set

        public VkVideoCapabilitiesKHR set​(int sType,
                                          long pNext)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

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

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

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

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

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