Class StdVideoAV1Quantization

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

public class StdVideoAV1Quantization extends org.lwjgl.system.Struct<StdVideoAV1Quantization> implements org.lwjgl.system.NativeResource

Layout


 struct StdVideoAV1Quantization {
     StdVideoAV1QuantizationFlags flags;
     uint8_t base_q_idx;
     int8_t DeltaQYDc;
     int8_t DeltaQUDc;
     int8_t DeltaQUAc;
     int8_t DeltaQVDc;
     int8_t DeltaQVAc;
     uint8_t qm_y;
     uint8_t qm_u;
     uint8_t qm_v;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int FLAGS
      The struct member offsets.
    • BASE_Q_IDX

      public static final int BASE_Q_IDX
      The struct member offsets.
    • DELTAQYDC

      public static final int DELTAQYDC
      The struct member offsets.
    • DELTAQUDC

      public static final int DELTAQUDC
      The struct member offsets.
    • DELTAQUAC

      public static final int DELTAQUAC
      The struct member offsets.
    • DELTAQVDC

      public static final int DELTAQVDC
      The struct member offsets.
    • DELTAQVAC

      public static final int DELTAQVAC
      The struct member offsets.
    • QM_Y

      public static final int QM_Y
      The struct member offsets.
    • QM_U

      public static final int QM_U
      The struct member offsets.
    • QM_V

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

    • StdVideoAV1Quantization

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

      Returns:
      a StdVideoAV1QuantizationFlags view of the flags field.
    • base_q_idx

      public byte base_q_idx()
      Returns:
      the value of the base_q_idx field.
    • DeltaQYDc

      public byte DeltaQYDc()
      Returns:
      the value of the DeltaQYDc field.
    • DeltaQUDc

      public byte DeltaQUDc()
      Returns:
      the value of the DeltaQUDc field.
    • DeltaQUAc

      public byte DeltaQUAc()
      Returns:
      the value of the DeltaQUAc field.
    • DeltaQVDc

      public byte DeltaQVDc()
      Returns:
      the value of the DeltaQVDc field.
    • DeltaQVAc

      public byte DeltaQVAc()
      Returns:
      the value of the DeltaQVAc field.
    • qm_y

      public byte qm_y()
      Returns:
      the value of the qm_y field.
    • qm_u

      public byte qm_u()
      Returns:
      the value of the qm_u field.
    • qm_v

      public byte qm_v()
      Returns:
      the value of the qm_v field.
    • flags

      Copies the specified StdVideoAV1QuantizationFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • base_q_idx

      public StdVideoAV1Quantization base_q_idx(byte value)
      Sets the specified value to the base_q_idx field.
    • DeltaQYDc

      public StdVideoAV1Quantization DeltaQYDc(byte value)
      Sets the specified value to the DeltaQYDc field.
    • DeltaQUDc

      public StdVideoAV1Quantization DeltaQUDc(byte value)
      Sets the specified value to the DeltaQUDc field.
    • DeltaQUAc

      public StdVideoAV1Quantization DeltaQUAc(byte value)
      Sets the specified value to the DeltaQUAc field.
    • DeltaQVDc

      public StdVideoAV1Quantization DeltaQVDc(byte value)
      Sets the specified value to the DeltaQVDc field.
    • DeltaQVAc

      public StdVideoAV1Quantization DeltaQVAc(byte value)
      Sets the specified value to the DeltaQVAc field.
    • qm_y

      public StdVideoAV1Quantization qm_y(byte value)
      Sets the specified value to the qm_y field.
    • qm_u

      public StdVideoAV1Quantization qm_u(byte value)
      Sets the specified value to the qm_u field.
    • qm_v

      public StdVideoAV1Quantization qm_v(byte value)
      Sets the specified value to the qm_v field.
    • set

      public StdVideoAV1Quantization set(StdVideoAV1QuantizationFlags flags, byte base_q_idx, byte DeltaQYDc, byte DeltaQUDc, byte DeltaQUAc, byte DeltaQVDc, byte DeltaQVAc, byte qm_y, byte qm_u, byte qm_v)
      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 StdVideoAV1Quantization malloc()
      Returns a new StdVideoAV1Quantization instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static StdVideoAV1QuantizationFlags nflags(long struct)
      Unsafe version of flags().
    • nbase_q_idx

      public static byte nbase_q_idx(long struct)
      Unsafe version of base_q_idx().
    • nDeltaQYDc

      public static byte nDeltaQYDc(long struct)
      Unsafe version of DeltaQYDc().
    • nDeltaQUDc

      public static byte nDeltaQUDc(long struct)
      Unsafe version of DeltaQUDc().
    • nDeltaQUAc

      public static byte nDeltaQUAc(long struct)
      Unsafe version of DeltaQUAc().
    • nDeltaQVDc

      public static byte nDeltaQVDc(long struct)
      Unsafe version of DeltaQVDc().
    • nDeltaQVAc

      public static byte nDeltaQVAc(long struct)
      Unsafe version of DeltaQVAc().
    • nqm_y

      public static byte nqm_y(long struct)
      Unsafe version of qm_y().
    • nqm_u

      public static byte nqm_u(long struct)
      Unsafe version of qm_u().
    • nqm_v

      public static byte nqm_v(long struct)
      Unsafe version of qm_v().
    • nflags

      public static void nflags(long struct, StdVideoAV1QuantizationFlags value)
      Unsafe version of flags.
    • nbase_q_idx

      public static void nbase_q_idx(long struct, byte value)
      Unsafe version of base_q_idx.
    • nDeltaQYDc

      public static void nDeltaQYDc(long struct, byte value)
      Unsafe version of DeltaQYDc.
    • nDeltaQUDc

      public static void nDeltaQUDc(long struct, byte value)
      Unsafe version of DeltaQUDc.
    • nDeltaQUAc

      public static void nDeltaQUAc(long struct, byte value)
      Unsafe version of DeltaQUAc.
    • nDeltaQVDc

      public static void nDeltaQVDc(long struct, byte value)
      Unsafe version of DeltaQVDc.
    • nDeltaQVAc

      public static void nDeltaQVAc(long struct, byte value)
      Unsafe version of DeltaQVAc.
    • nqm_y

      public static void nqm_y(long struct, byte value)
      Unsafe version of qm_y.
    • nqm_u

      public static void nqm_u(long struct, byte value)
      Unsafe version of qm_u.
    • nqm_v

      public static void nqm_v(long struct, byte value)
      Unsafe version of qm_v.