Class StdVideoEncodeH265WeightTable

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

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

Layout


 struct StdVideoEncodeH265WeightTable {
     StdVideoEncodeH265WeightTableFlags flags;
     uint8_t luma_log2_weight_denom;
     int8_t delta_chroma_log2_weight_denom;
     int8_t delta_luma_weight_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
     int8_t luma_offset_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
     int8_t delta_chroma_weight_l0[STD_VIDEO_H265_MAX_CHROMA_PLANES];
     int8_t delta_chroma_offset_l0[STD_VIDEO_H265_MAX_CHROMA_PLANES];
     int8_t delta_luma_weight_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
     int8_t luma_offset_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
     int8_t delta_chroma_weight_l1[STD_VIDEO_H265_MAX_CHROMA_PLANES];
     int8_t delta_chroma_offset_l1[STD_VIDEO_H265_MAX_CHROMA_PLANES];
 }
  • 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.
    • LUMA_LOG2_WEIGHT_DENOM

      public static final int LUMA_LOG2_WEIGHT_DENOM
      The struct member offsets.
    • DELTA_CHROMA_LOG2_WEIGHT_DENOM

      public static final int DELTA_CHROMA_LOG2_WEIGHT_DENOM
      The struct member offsets.
    • DELTA_LUMA_WEIGHT_L0

      public static final int DELTA_LUMA_WEIGHT_L0
      The struct member offsets.
    • LUMA_OFFSET_L0

      public static final int LUMA_OFFSET_L0
      The struct member offsets.
    • DELTA_CHROMA_WEIGHT_L0

      public static final int DELTA_CHROMA_WEIGHT_L0
      The struct member offsets.
    • DELTA_CHROMA_OFFSET_L0

      public static final int DELTA_CHROMA_OFFSET_L0
      The struct member offsets.
    • DELTA_LUMA_WEIGHT_L1

      public static final int DELTA_LUMA_WEIGHT_L1
      The struct member offsets.
    • LUMA_OFFSET_L1

      public static final int LUMA_OFFSET_L1
      The struct member offsets.
    • DELTA_CHROMA_WEIGHT_L1

      public static final int DELTA_CHROMA_WEIGHT_L1
      The struct member offsets.
    • DELTA_CHROMA_OFFSET_L1

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

    • StdVideoEncodeH265WeightTable

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

      Returns:
      a StdVideoEncodeH265WeightTableFlags view of the flags field.
    • luma_log2_weight_denom

      public byte luma_log2_weight_denom()
      Returns:
      the value of the luma_log2_weight_denom field.
    • delta_chroma_log2_weight_denom

      public byte delta_chroma_log2_weight_denom()
      Returns:
      the value of the delta_chroma_log2_weight_denom field.
    • delta_luma_weight_l0

      public ByteBuffer delta_luma_weight_l0()
      Returns:
      a ByteBuffer view of the delta_luma_weight_l0 field.
    • delta_luma_weight_l0

      public byte delta_luma_weight_l0(int index)
      Returns:
      the value at the specified index of the delta_luma_weight_l0 field.
    • luma_offset_l0

      public ByteBuffer luma_offset_l0()
      Returns:
      a ByteBuffer view of the luma_offset_l0 field.
    • luma_offset_l0

      public byte luma_offset_l0(int index)
      Returns:
      the value at the specified index of the luma_offset_l0 field.
    • delta_chroma_weight_l0

      public ByteBuffer delta_chroma_weight_l0()
      Returns:
      a ByteBuffer view of the delta_chroma_weight_l0 field.
    • delta_chroma_weight_l0

      public byte delta_chroma_weight_l0(int index)
      Returns:
      the value at the specified index of the delta_chroma_weight_l0 field.
    • delta_chroma_offset_l0

      public ByteBuffer delta_chroma_offset_l0()
      Returns:
      a ByteBuffer view of the delta_chroma_offset_l0 field.
    • delta_chroma_offset_l0

      public byte delta_chroma_offset_l0(int index)
      Returns:
      the value at the specified index of the delta_chroma_offset_l0 field.
    • delta_luma_weight_l1

      public ByteBuffer delta_luma_weight_l1()
      Returns:
      a ByteBuffer view of the delta_luma_weight_l1 field.
    • delta_luma_weight_l1

      public byte delta_luma_weight_l1(int index)
      Returns:
      the value at the specified index of the delta_luma_weight_l1 field.
    • luma_offset_l1

      public ByteBuffer luma_offset_l1()
      Returns:
      a ByteBuffer view of the luma_offset_l1 field.
    • luma_offset_l1

      public byte luma_offset_l1(int index)
      Returns:
      the value at the specified index of the luma_offset_l1 field.
    • delta_chroma_weight_l1

      public ByteBuffer delta_chroma_weight_l1()
      Returns:
      a ByteBuffer view of the delta_chroma_weight_l1 field.
    • delta_chroma_weight_l1

      public byte delta_chroma_weight_l1(int index)
      Returns:
      the value at the specified index of the delta_chroma_weight_l1 field.
    • delta_chroma_offset_l1

      public ByteBuffer delta_chroma_offset_l1()
      Returns:
      a ByteBuffer view of the delta_chroma_offset_l1 field.
    • delta_chroma_offset_l1

      public byte delta_chroma_offset_l1(int index)
      Returns:
      the value at the specified index of the delta_chroma_offset_l1 field.
    • flags

      Copies the specified StdVideoEncodeH265WeightTableFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • luma_log2_weight_denom

      public StdVideoEncodeH265WeightTable luma_log2_weight_denom(byte value)
      Sets the specified value to the luma_log2_weight_denom field.
    • delta_chroma_log2_weight_denom

      public StdVideoEncodeH265WeightTable delta_chroma_log2_weight_denom(byte value)
      Sets the specified value to the delta_chroma_log2_weight_denom field.
    • delta_luma_weight_l0

      public StdVideoEncodeH265WeightTable delta_luma_weight_l0(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_luma_weight_l0 field.
    • delta_luma_weight_l0

      public StdVideoEncodeH265WeightTable delta_luma_weight_l0(int index, byte value)
      Sets the specified value at the specified index of the delta_luma_weight_l0 field.
    • luma_offset_l0

      public StdVideoEncodeH265WeightTable luma_offset_l0(ByteBuffer value)
      Copies the specified ByteBuffer to the luma_offset_l0 field.
    • luma_offset_l0

      public StdVideoEncodeH265WeightTable luma_offset_l0(int index, byte value)
      Sets the specified value at the specified index of the luma_offset_l0 field.
    • delta_chroma_weight_l0

      public StdVideoEncodeH265WeightTable delta_chroma_weight_l0(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_chroma_weight_l0 field.
    • delta_chroma_weight_l0

      public StdVideoEncodeH265WeightTable delta_chroma_weight_l0(int index, byte value)
      Sets the specified value at the specified index of the delta_chroma_weight_l0 field.
    • delta_chroma_offset_l0

      public StdVideoEncodeH265WeightTable delta_chroma_offset_l0(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_chroma_offset_l0 field.
    • delta_chroma_offset_l0

      public StdVideoEncodeH265WeightTable delta_chroma_offset_l0(int index, byte value)
      Sets the specified value at the specified index of the delta_chroma_offset_l0 field.
    • delta_luma_weight_l1

      public StdVideoEncodeH265WeightTable delta_luma_weight_l1(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_luma_weight_l1 field.
    • delta_luma_weight_l1

      public StdVideoEncodeH265WeightTable delta_luma_weight_l1(int index, byte value)
      Sets the specified value at the specified index of the delta_luma_weight_l1 field.
    • luma_offset_l1

      public StdVideoEncodeH265WeightTable luma_offset_l1(ByteBuffer value)
      Copies the specified ByteBuffer to the luma_offset_l1 field.
    • luma_offset_l1

      public StdVideoEncodeH265WeightTable luma_offset_l1(int index, byte value)
      Sets the specified value at the specified index of the luma_offset_l1 field.
    • delta_chroma_weight_l1

      public StdVideoEncodeH265WeightTable delta_chroma_weight_l1(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_chroma_weight_l1 field.
    • delta_chroma_weight_l1

      public StdVideoEncodeH265WeightTable delta_chroma_weight_l1(int index, byte value)
      Sets the specified value at the specified index of the delta_chroma_weight_l1 field.
    • delta_chroma_offset_l1

      public StdVideoEncodeH265WeightTable delta_chroma_offset_l1(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_chroma_offset_l1 field.
    • delta_chroma_offset_l1

      public StdVideoEncodeH265WeightTable delta_chroma_offset_l1(int index, byte value)
      Sets the specified value at the specified index of the delta_chroma_offset_l1 field.
    • set

      public StdVideoEncodeH265WeightTable set(StdVideoEncodeH265WeightTableFlags flags, byte luma_log2_weight_denom, byte delta_chroma_log2_weight_denom, ByteBuffer delta_luma_weight_l0, ByteBuffer luma_offset_l0, ByteBuffer delta_chroma_weight_l0, ByteBuffer delta_chroma_offset_l0, ByteBuffer delta_luma_weight_l1, ByteBuffer luma_offset_l1, ByteBuffer delta_chroma_weight_l1, ByteBuffer delta_chroma_offset_l1)
      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 StdVideoEncodeH265WeightTable malloc()
      Returns a new StdVideoEncodeH265WeightTable instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

      public static StdVideoEncodeH265WeightTable.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoEncodeH265WeightTable.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 StdVideoEncodeH265WeightTableFlags nflags(long struct)
      Unsafe version of flags().
    • nluma_log2_weight_denom

      public static byte nluma_log2_weight_denom(long struct)
      Unsafe version of luma_log2_weight_denom().
    • ndelta_chroma_log2_weight_denom

      public static byte ndelta_chroma_log2_weight_denom(long struct)
    • ndelta_luma_weight_l0

      public static ByteBuffer ndelta_luma_weight_l0(long struct)
      Unsafe version of delta_luma_weight_l0().
    • ndelta_luma_weight_l0

      public static byte ndelta_luma_weight_l0(long struct, int index)
      Unsafe version of delta_luma_weight_l0.
    • nluma_offset_l0

      public static ByteBuffer nluma_offset_l0(long struct)
      Unsafe version of luma_offset_l0().
    • nluma_offset_l0

      public static byte nluma_offset_l0(long struct, int index)
      Unsafe version of luma_offset_l0.
    • ndelta_chroma_weight_l0

      public static ByteBuffer ndelta_chroma_weight_l0(long struct)
      Unsafe version of delta_chroma_weight_l0().
    • ndelta_chroma_weight_l0

      public static byte ndelta_chroma_weight_l0(long struct, int index)
      Unsafe version of delta_chroma_weight_l0.
    • ndelta_chroma_offset_l0

      public static ByteBuffer ndelta_chroma_offset_l0(long struct)
      Unsafe version of delta_chroma_offset_l0().
    • ndelta_chroma_offset_l0

      public static byte ndelta_chroma_offset_l0(long struct, int index)
      Unsafe version of delta_chroma_offset_l0.
    • ndelta_luma_weight_l1

      public static ByteBuffer ndelta_luma_weight_l1(long struct)
      Unsafe version of delta_luma_weight_l1().
    • ndelta_luma_weight_l1

      public static byte ndelta_luma_weight_l1(long struct, int index)
      Unsafe version of delta_luma_weight_l1.
    • nluma_offset_l1

      public static ByteBuffer nluma_offset_l1(long struct)
      Unsafe version of luma_offset_l1().
    • nluma_offset_l1

      public static byte nluma_offset_l1(long struct, int index)
      Unsafe version of luma_offset_l1.
    • ndelta_chroma_weight_l1

      public static ByteBuffer ndelta_chroma_weight_l1(long struct)
      Unsafe version of delta_chroma_weight_l1().
    • ndelta_chroma_weight_l1

      public static byte ndelta_chroma_weight_l1(long struct, int index)
      Unsafe version of delta_chroma_weight_l1.
    • ndelta_chroma_offset_l1

      public static ByteBuffer ndelta_chroma_offset_l1(long struct)
      Unsafe version of delta_chroma_offset_l1().
    • ndelta_chroma_offset_l1

      public static byte ndelta_chroma_offset_l1(long struct, int index)
      Unsafe version of delta_chroma_offset_l1.
    • nflags

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

      public static void nluma_log2_weight_denom(long struct, byte value)
      Unsafe version of luma_log2_weight_denom.
    • ndelta_chroma_log2_weight_denom

      public static void ndelta_chroma_log2_weight_denom(long struct, byte value)
    • ndelta_luma_weight_l0

      public static void ndelta_luma_weight_l0(long struct, ByteBuffer value)
      Unsafe version of delta_luma_weight_l0.
    • ndelta_luma_weight_l0

      public static void ndelta_luma_weight_l0(long struct, int index, byte value)
      Unsafe version of delta_luma_weight_l0.
    • nluma_offset_l0

      public static void nluma_offset_l0(long struct, ByteBuffer value)
      Unsafe version of luma_offset_l0.
    • nluma_offset_l0

      public static void nluma_offset_l0(long struct, int index, byte value)
      Unsafe version of luma_offset_l0.
    • ndelta_chroma_weight_l0

      public static void ndelta_chroma_weight_l0(long struct, ByteBuffer value)
      Unsafe version of delta_chroma_weight_l0.
    • ndelta_chroma_weight_l0

      public static void ndelta_chroma_weight_l0(long struct, int index, byte value)
      Unsafe version of delta_chroma_weight_l0.
    • ndelta_chroma_offset_l0

      public static void ndelta_chroma_offset_l0(long struct, ByteBuffer value)
      Unsafe version of delta_chroma_offset_l0.
    • ndelta_chroma_offset_l0

      public static void ndelta_chroma_offset_l0(long struct, int index, byte value)
      Unsafe version of delta_chroma_offset_l0.
    • ndelta_luma_weight_l1

      public static void ndelta_luma_weight_l1(long struct, ByteBuffer value)
      Unsafe version of delta_luma_weight_l1.
    • ndelta_luma_weight_l1

      public static void ndelta_luma_weight_l1(long struct, int index, byte value)
      Unsafe version of delta_luma_weight_l1.
    • nluma_offset_l1

      public static void nluma_offset_l1(long struct, ByteBuffer value)
      Unsafe version of luma_offset_l1.
    • nluma_offset_l1

      public static void nluma_offset_l1(long struct, int index, byte value)
      Unsafe version of luma_offset_l1.
    • ndelta_chroma_weight_l1

      public static void ndelta_chroma_weight_l1(long struct, ByteBuffer value)
      Unsafe version of delta_chroma_weight_l1.
    • ndelta_chroma_weight_l1

      public static void ndelta_chroma_weight_l1(long struct, int index, byte value)
      Unsafe version of delta_chroma_weight_l1.
    • ndelta_chroma_offset_l1

      public static void ndelta_chroma_offset_l1(long struct, ByteBuffer value)
      Unsafe version of delta_chroma_offset_l1.
    • ndelta_chroma_offset_l1

      public static void ndelta_chroma_offset_l1(long struct, int index, byte value)
      Unsafe version of delta_chroma_offset_l1.