Class VkVideoEncodeH264CapabilitiesEXT

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS, INPUTMODEFLAGS, OUTPUTMODEFLAGS, MAXPPICTUREL0REFERENCECOUNT, MAXBPICTUREL0REFERENCECOUNT, MAXL1REFERENCECOUNT, MOTIONVECTORSOVERPICBOUNDARIESFLAG, MAXBYTESPERPICDENOM, MAXBITSPERMBDENOM, LOG2MAXMVLENGTHHORIZONTAL, LOG2MAXMVLENGTHVERTICAL, STDEXTENSIONVERSION

        The struct member offsets.
    • Constructor Detail

      • VkVideoEncodeH264CapabilitiesEXT

        public VkVideoEncodeH264CapabilitiesEXT​(java.nio.ByteBuffer container)
        Creates a VkVideoEncodeH264CapabilitiesEXT 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.
      • flags

        public int flags()
        a bitmask of VkVideoEncodeH264CapabilityFlagBitsEXT describing supported encoding tools.
      • inputModeFlags

        public int inputModeFlags()
        a bitmask of VkVideoEncodeH264InputModeFlagBitsEXT describing supported command buffer input granularities/modes.
      • outputModeFlags

        public int outputModeFlags()
        a bitmask of VkVideoEncodeH264OutputModeFlagBitsEXT describing supported output (bitstream size reporting) granularities/modes.
      • maxPPictureL0ReferenceCount

        public byte maxPPictureL0ReferenceCount()
        reports the maximum number of reference pictures the implementation supports in the reference list L0 for P pictures.
      • maxBPictureL0ReferenceCount

        public byte maxBPictureL0ReferenceCount()
        reports the maximum number of reference pictures the implementation supports in the reference list L0 for B pictures. The reported value is 0 if encoding of B pictures is not supported.
      • maxL1ReferenceCount

        public byte maxL1ReferenceCount()
        reports the maximum number of reference pictures the implementation supports in the reference list L1 if encoding of B pictures is supported. The reported value is 0 if encoding of B pictures is not supported.
      • motionVectorsOverPicBoundariesFlag

        public boolean motionVectorsOverPicBoundariesFlag()
        if TRUE, indicates motion_vectors_over_pic_boundaries_flag will be enabled if bitstream_restriction_flag is enabled in StdVideoH264SpsVuiFlags.
      • maxBytesPerPicDenom

        public int maxBytesPerPicDenom()
        reports the value that will be used for max_bytes_per_pic_denom if bitstream_restriction_flag is enabled in StdVideoH264SpsVuiFlags.
      • maxBitsPerMbDenom

        public int maxBitsPerMbDenom()
        reports the value that will be used for max_bits_per_mb_denom if bitstream_restriction_flag is enabled in StdVideoH264SpsVuiFlags.
      • log2MaxMvLengthHorizontal

        public int log2MaxMvLengthHorizontal()
        reports the value that will be used for log2_max_mv_length_horizontal if bitstream_restriction_flag is enabled in StdVideoH264SpsVuiFlags.
      • log2MaxMvLengthVertical

        public int log2MaxMvLengthVertical()
        reports the value that will be used for log2_max_mv_length_vertical if bitstream_restriction_flag is enabled in StdVideoH264SpsVuiFlags.
      • stdExtensionVersion

        public VkExtensionProperties stdExtensionVersion()
        the specific H.264 extension name and version supported by this implementation.
      • set

        public VkVideoEncodeH264CapabilitiesEXT set​(int sType,
                                                    long pNext,
                                                    int flags,
                                                    int inputModeFlags,
                                                    int outputModeFlags,
                                                    byte maxPPictureL0ReferenceCount,
                                                    byte maxBPictureL0ReferenceCount,
                                                    byte maxL1ReferenceCount,
                                                    boolean motionVectorsOverPicBoundariesFlag,
                                                    int maxBytesPerPicDenom,
                                                    int maxBitsPerMbDenom,
                                                    int log2MaxMvLengthHorizontal,
                                                    int log2MaxMvLengthVertical,
                                                    VkExtensionProperties stdExtensionVersion)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

        public static VkVideoEncodeH264CapabilitiesEXT calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        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().
      • ninputModeFlags

        public static int ninputModeFlags​(long struct)
        Unsafe version of inputModeFlags().
      • noutputModeFlags

        public static int noutputModeFlags​(long struct)
        Unsafe version of outputModeFlags().
      • nmaxPPictureL0ReferenceCount

        public static byte nmaxPPictureL0ReferenceCount​(long struct)
      • nmaxBPictureL0ReferenceCount

        public static byte nmaxBPictureL0ReferenceCount​(long struct)
      • nmaxL1ReferenceCount

        public static byte nmaxL1ReferenceCount​(long struct)
        Unsafe version of maxL1ReferenceCount().
      • nmaxBytesPerPicDenom

        public static int nmaxBytesPerPicDenom​(long struct)
        Unsafe version of maxBytesPerPicDenom().
      • nmaxBitsPerMbDenom

        public static int nmaxBitsPerMbDenom​(long struct)
        Unsafe version of maxBitsPerMbDenom().
      • nlog2MaxMvLengthHorizontal

        public static int nlog2MaxMvLengthHorizontal​(long struct)
        Unsafe version of log2MaxMvLengthHorizontal().
      • nlog2MaxMvLengthVertical

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

        public static void nflags​(long struct,
                                  int value)
        Unsafe version of flags.
      • ninputModeFlags

        public static void ninputModeFlags​(long struct,
                                           int value)
        Unsafe version of inputModeFlags.
      • noutputModeFlags

        public static void noutputModeFlags​(long struct,
                                            int value)
        Unsafe version of outputModeFlags.
      • nmaxPPictureL0ReferenceCount

        public static void nmaxPPictureL0ReferenceCount​(long struct,
                                                        byte value)
        Unsafe version of maxPPictureL0ReferenceCount.
      • nmaxBPictureL0ReferenceCount

        public static void nmaxBPictureL0ReferenceCount​(long struct,
                                                        byte value)
        Unsafe version of maxBPictureL0ReferenceCount.
      • nmaxL1ReferenceCount

        public static void nmaxL1ReferenceCount​(long struct,
                                                byte value)
        Unsafe version of maxL1ReferenceCount.
      • nmotionVectorsOverPicBoundariesFlag

        public static void nmotionVectorsOverPicBoundariesFlag​(long struct,
                                                               int value)
      • nmaxBytesPerPicDenom

        public static void nmaxBytesPerPicDenom​(long struct,
                                                int value)
        Unsafe version of maxBytesPerPicDenom.
      • nmaxBitsPerMbDenom

        public static void nmaxBitsPerMbDenom​(long struct,
                                              int value)
        Unsafe version of maxBitsPerMbDenom.
      • nlog2MaxMvLengthHorizontal

        public static void nlog2MaxMvLengthHorizontal​(long struct,
                                                      int value)
        Unsafe version of log2MaxMvLengthHorizontal.
      • nlog2MaxMvLengthVertical

        public static void nlog2MaxMvLengthVertical​(long struct,
                                                    int value)
        Unsafe version of log2MaxMvLengthVertical.