Class StdVideoEncodeH265LongTermRefPics

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

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

Layout


 struct StdVideoEncodeH265LongTermRefPics {
     uint8_t num_long_term_sps;
     uint8_t num_long_term_pics;
     uint8_t lt_idx_sps[STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS];
     uint8_t poc_lsb_lt[STD_VIDEO_H265_MAX_LONG_TERM_PICS];
     uint16_t used_by_curr_pic_lt_flag;
     uint8_t delta_poc_msb_present_flag[STD_VIDEO_H265_MAX_DELTA_POC];
     uint8_t delta_poc_msb_cycle_lt[STD_VIDEO_H265_MAX_DELTA_POC];
 }
  • Field Details

    • SIZEOF

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

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

      public static final int NUM_LONG_TERM_SPS
      The struct member offsets.
    • NUM_LONG_TERM_PICS

      public static final int NUM_LONG_TERM_PICS
      The struct member offsets.
    • LT_IDX_SPS

      public static final int LT_IDX_SPS
      The struct member offsets.
    • POC_LSB_LT

      public static final int POC_LSB_LT
      The struct member offsets.
    • USED_BY_CURR_PIC_LT_FLAG

      public static final int USED_BY_CURR_PIC_LT_FLAG
      The struct member offsets.
    • DELTA_POC_MSB_PRESENT_FLAG

      public static final int DELTA_POC_MSB_PRESENT_FLAG
      The struct member offsets.
    • DELTA_POC_MSB_CYCLE_LT

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

    • StdVideoEncodeH265LongTermRefPics

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

      public byte num_long_term_sps()
      Returns:
      the value of the num_long_term_sps field.
    • num_long_term_pics

      public byte num_long_term_pics()
      Returns:
      the value of the num_long_term_pics field.
    • lt_idx_sps

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

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

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

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

      public short used_by_curr_pic_lt_flag()
      Returns:
      the value of the used_by_curr_pic_lt_flag field.
    • delta_poc_msb_present_flag

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

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

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

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

      public StdVideoEncodeH265LongTermRefPics num_long_term_sps(byte value)
      Sets the specified value to the num_long_term_sps field.
    • num_long_term_pics

      public StdVideoEncodeH265LongTermRefPics num_long_term_pics(byte value)
      Sets the specified value to the num_long_term_pics field.
    • lt_idx_sps

      public StdVideoEncodeH265LongTermRefPics lt_idx_sps(ByteBuffer value)
      Copies the specified ByteBuffer to the lt_idx_sps field.
    • lt_idx_sps

      public StdVideoEncodeH265LongTermRefPics lt_idx_sps(int index, byte value)
      Sets the specified value at the specified index of the lt_idx_sps field.
    • poc_lsb_lt

      public StdVideoEncodeH265LongTermRefPics poc_lsb_lt(ByteBuffer value)
      Copies the specified ByteBuffer to the poc_lsb_lt field.
    • poc_lsb_lt

      public StdVideoEncodeH265LongTermRefPics poc_lsb_lt(int index, byte value)
      Sets the specified value at the specified index of the poc_lsb_lt field.
    • used_by_curr_pic_lt_flag

      public StdVideoEncodeH265LongTermRefPics used_by_curr_pic_lt_flag(short value)
      Sets the specified value to the used_by_curr_pic_lt_flag field.
    • delta_poc_msb_present_flag

      public StdVideoEncodeH265LongTermRefPics delta_poc_msb_present_flag(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_poc_msb_present_flag field.
    • delta_poc_msb_present_flag

      public StdVideoEncodeH265LongTermRefPics delta_poc_msb_present_flag(int index, byte value)
      Sets the specified value at the specified index of the delta_poc_msb_present_flag field.
    • delta_poc_msb_cycle_lt

      public StdVideoEncodeH265LongTermRefPics delta_poc_msb_cycle_lt(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_poc_msb_cycle_lt field.
    • delta_poc_msb_cycle_lt

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

      public StdVideoEncodeH265LongTermRefPics set(byte num_long_term_sps, byte num_long_term_pics, ByteBuffer lt_idx_sps, ByteBuffer poc_lsb_lt, short used_by_curr_pic_lt_flag, ByteBuffer delta_poc_msb_present_flag, ByteBuffer delta_poc_msb_cycle_lt)
      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 StdVideoEncodeH265LongTermRefPics malloc()
      Returns a new StdVideoEncodeH265LongTermRefPics instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static byte nnum_long_term_sps(long struct)
      Unsafe version of num_long_term_sps().
    • nnum_long_term_pics

      public static byte nnum_long_term_pics(long struct)
      Unsafe version of num_long_term_pics().
    • nlt_idx_sps

      public static ByteBuffer nlt_idx_sps(long struct)
      Unsafe version of lt_idx_sps().
    • nlt_idx_sps

      public static byte nlt_idx_sps(long struct, int index)
      Unsafe version of lt_idx_sps.
    • npoc_lsb_lt

      public static ByteBuffer npoc_lsb_lt(long struct)
      Unsafe version of poc_lsb_lt().
    • npoc_lsb_lt

      public static byte npoc_lsb_lt(long struct, int index)
      Unsafe version of poc_lsb_lt.
    • nused_by_curr_pic_lt_flag

      public static short nused_by_curr_pic_lt_flag(long struct)
      Unsafe version of used_by_curr_pic_lt_flag().
    • ndelta_poc_msb_present_flag

      public static ByteBuffer ndelta_poc_msb_present_flag(long struct)
      Unsafe version of delta_poc_msb_present_flag().
    • ndelta_poc_msb_present_flag

      public static byte ndelta_poc_msb_present_flag(long struct, int index)
      Unsafe version of delta_poc_msb_present_flag.
    • ndelta_poc_msb_cycle_lt

      public static ByteBuffer ndelta_poc_msb_cycle_lt(long struct)
      Unsafe version of delta_poc_msb_cycle_lt().
    • ndelta_poc_msb_cycle_lt

      public static byte ndelta_poc_msb_cycle_lt(long struct, int index)
      Unsafe version of delta_poc_msb_cycle_lt.
    • nnum_long_term_sps

      public static void nnum_long_term_sps(long struct, byte value)
      Unsafe version of num_long_term_sps.
    • nnum_long_term_pics

      public static void nnum_long_term_pics(long struct, byte value)
      Unsafe version of num_long_term_pics.
    • nlt_idx_sps

      public static void nlt_idx_sps(long struct, ByteBuffer value)
      Unsafe version of lt_idx_sps.
    • nlt_idx_sps

      public static void nlt_idx_sps(long struct, int index, byte value)
      Unsafe version of lt_idx_sps.
    • npoc_lsb_lt

      public static void npoc_lsb_lt(long struct, ByteBuffer value)
      Unsafe version of poc_lsb_lt.
    • npoc_lsb_lt

      public static void npoc_lsb_lt(long struct, int index, byte value)
      Unsafe version of poc_lsb_lt.
    • nused_by_curr_pic_lt_flag

      public static void nused_by_curr_pic_lt_flag(long struct, short value)
      Unsafe version of used_by_curr_pic_lt_flag.
    • ndelta_poc_msb_present_flag

      public static void ndelta_poc_msb_present_flag(long struct, ByteBuffer value)
      Unsafe version of delta_poc_msb_present_flag.
    • ndelta_poc_msb_present_flag

      public static void ndelta_poc_msb_present_flag(long struct, int index, byte value)
      Unsafe version of delta_poc_msb_present_flag.
    • ndelta_poc_msb_cycle_lt

      public static void ndelta_poc_msb_cycle_lt(long struct, ByteBuffer value)
      Unsafe version of delta_poc_msb_cycle_lt.
    • ndelta_poc_msb_cycle_lt

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