Class VkVideoEncodeH265QpEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeH265QpEXT>
org.lwjgl.vulkan.VkVideoEncodeH265QpEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkVideoEncodeH265QpEXT extends org.lwjgl.system.Struct<VkVideoEncodeH265QpEXT> implements org.lwjgl.system.NativeResource
Structure describing H.265 QP values per picture type.
See Also

VkVideoEncodeH265QualityLevelPropertiesEXT, VkVideoEncodeH265RateControlLayerInfoEXT

Layout


 struct VkVideoEncodeH265QpEXT {
     int32_t qpI();
     int32_t qpP();
     int32_t qpB();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int QPI
      The struct member offsets.
    • QPP

      public static final int QPP
      The struct member offsets.
    • QPB

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

    • VkVideoEncodeH265QpEXT

      public VkVideoEncodeH265QpEXT(ByteBuffer container)
      Creates a VkVideoEncodeH265QpEXT 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()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<VkVideoEncodeH265QpEXT>
    • qpI

      public int qpI()
      the QP to be used for I-frames.
    • qpP

      public int qpP()
      the QP to be used for P-frames.
    • qpB

      public int qpB()
      the QP to be used for B-frames.
    • qpI

      public VkVideoEncodeH265QpEXT qpI(int value)
      Sets the specified value to the qpI() field.
    • qpP

      public VkVideoEncodeH265QpEXT qpP(int value)
      Sets the specified value to the qpP() field.
    • qpB

      public VkVideoEncodeH265QpEXT qpB(int value)
      Sets the specified value to the qpB() field.
    • set

      public VkVideoEncodeH265QpEXT set(int qpI, int qpP, int qpB)
      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 VkVideoEncodeH265QpEXT malloc()
      Returns a new VkVideoEncodeH265QpEXT instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

      public static VkVideoEncodeH265QpEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new VkVideoEncodeH265QpEXT.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
    • nqpI

      public static int nqpI(long struct)
      Unsafe version of qpI().
    • nqpP

      public static int nqpP(long struct)
      Unsafe version of qpP().
    • nqpB

      public static int nqpB(long struct)
      Unsafe version of qpB().
    • nqpI

      public static void nqpI(long struct, int value)
      Unsafe version of qpI.
    • nqpP

      public static void nqpP(long struct, int value)
      Unsafe version of qpP.
    • nqpB

      public static void nqpB(long struct, int value)
      Unsafe version of qpB.