Class VkVideoEncodeH265QpKHR

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

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

VkVideoEncodeH265QualityLevelPropertiesKHR, VkVideoEncodeH265RateControlLayerInfoKHR

Layout


 struct VkVideoEncodeH265QpKHR {
     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

    • VkVideoEncodeH265QpKHR

      public VkVideoEncodeH265QpKHR(ByteBuffer container)
      Creates a VkVideoEncodeH265QpKHR 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<VkVideoEncodeH265QpKHR>
    • qpI

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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