Class StdVideoH265ShortTermRefPicSet

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

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

Layout


 struct StdVideoH265ShortTermRefPicSet {
     StdVideoH265ShortTermRefPicSetFlags flags;
     uint32_t delta_idx_minus1;
     uint16_t use_delta_flag;
     uint16_t abs_delta_rps_minus1;
     uint16_t used_by_curr_pic_flag;
     uint16_t used_by_curr_pic_s0_flag;
     uint16_t used_by_curr_pic_s1_flag;
     uint16_t reserved1;
     uint8_t reserved2;
     uint8_t reserved3;
     uint8_t num_negative_pics;
     uint8_t num_positive_pics;
     uint16_t delta_poc_s0_minus1[STD_VIDEO_H265_MAX_DPB_SIZE];
     uint16_t delta_poc_s1_minus1[STD_VIDEO_H265_MAX_DPB_SIZE];
 }
  • 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.
    • DELTA_IDX_MINUS1

      public static final int DELTA_IDX_MINUS1
      The struct member offsets.
    • USE_DELTA_FLAG

      public static final int USE_DELTA_FLAG
      The struct member offsets.
    • ABS_DELTA_RPS_MINUS1

      public static final int ABS_DELTA_RPS_MINUS1
      The struct member offsets.
    • USED_BY_CURR_PIC_FLAG

      public static final int USED_BY_CURR_PIC_FLAG
      The struct member offsets.
    • USED_BY_CURR_PIC_S0_FLAG

      public static final int USED_BY_CURR_PIC_S0_FLAG
      The struct member offsets.
    • USED_BY_CURR_PIC_S1_FLAG

      public static final int USED_BY_CURR_PIC_S1_FLAG
      The struct member offsets.
    • RESERVED1

      public static final int RESERVED1
      The struct member offsets.
    • RESERVED2

      public static final int RESERVED2
      The struct member offsets.
    • RESERVED3

      public static final int RESERVED3
      The struct member offsets.
    • NUM_NEGATIVE_PICS

      public static final int NUM_NEGATIVE_PICS
      The struct member offsets.
    • NUM_POSITIVE_PICS

      public static final int NUM_POSITIVE_PICS
      The struct member offsets.
    • DELTA_POC_S0_MINUS1

      public static final int DELTA_POC_S0_MINUS1
      The struct member offsets.
    • DELTA_POC_S1_MINUS1

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

    • StdVideoH265ShortTermRefPicSet

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

      Returns:
      a StdVideoH265ShortTermRefPicSetFlags view of the flags field.
    • delta_idx_minus1

      public int delta_idx_minus1()
      Returns:
      the value of the delta_idx_minus1 field.
    • use_delta_flag

      public short use_delta_flag()
      Returns:
      the value of the use_delta_flag field.
    • abs_delta_rps_minus1

      public short abs_delta_rps_minus1()
      Returns:
      the value of the abs_delta_rps_minus1 field.
    • used_by_curr_pic_flag

      public short used_by_curr_pic_flag()
      Returns:
      the value of the used_by_curr_pic_flag field.
    • used_by_curr_pic_s0_flag

      public short used_by_curr_pic_s0_flag()
      Returns:
      the value of the used_by_curr_pic_s0_flag field.
    • used_by_curr_pic_s1_flag

      public short used_by_curr_pic_s1_flag()
      Returns:
      the value of the used_by_curr_pic_s1_flag field.
    • num_negative_pics

      public byte num_negative_pics()
      Returns:
      the value of the num_negative_pics field.
    • num_positive_pics

      public byte num_positive_pics()
      Returns:
      the value of the num_positive_pics field.
    • delta_poc_s0_minus1

      public ShortBuffer delta_poc_s0_minus1()
      Returns:
      a ShortBuffer view of the delta_poc_s0_minus1 field.
    • delta_poc_s0_minus1

      public short delta_poc_s0_minus1(int index)
      Returns:
      the value at the specified index of the delta_poc_s0_minus1 field.
    • delta_poc_s1_minus1

      public ShortBuffer delta_poc_s1_minus1()
      Returns:
      a ShortBuffer view of the delta_poc_s1_minus1 field.
    • delta_poc_s1_minus1

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

      Copies the specified StdVideoH265ShortTermRefPicSetFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • delta_idx_minus1

      public StdVideoH265ShortTermRefPicSet delta_idx_minus1(int value)
      Sets the specified value to the delta_idx_minus1 field.
    • use_delta_flag

      public StdVideoH265ShortTermRefPicSet use_delta_flag(short value)
      Sets the specified value to the use_delta_flag field.
    • abs_delta_rps_minus1

      public StdVideoH265ShortTermRefPicSet abs_delta_rps_minus1(short value)
      Sets the specified value to the abs_delta_rps_minus1 field.
    • used_by_curr_pic_flag

      public StdVideoH265ShortTermRefPicSet used_by_curr_pic_flag(short value)
      Sets the specified value to the used_by_curr_pic_flag field.
    • used_by_curr_pic_s0_flag

      public StdVideoH265ShortTermRefPicSet used_by_curr_pic_s0_flag(short value)
      Sets the specified value to the used_by_curr_pic_s0_flag field.
    • used_by_curr_pic_s1_flag

      public StdVideoH265ShortTermRefPicSet used_by_curr_pic_s1_flag(short value)
      Sets the specified value to the used_by_curr_pic_s1_flag field.
    • num_negative_pics

      public StdVideoH265ShortTermRefPicSet num_negative_pics(byte value)
      Sets the specified value to the num_negative_pics field.
    • num_positive_pics

      public StdVideoH265ShortTermRefPicSet num_positive_pics(byte value)
      Sets the specified value to the num_positive_pics field.
    • delta_poc_s0_minus1

      public StdVideoH265ShortTermRefPicSet delta_poc_s0_minus1(ShortBuffer value)
      Copies the specified ShortBuffer to the delta_poc_s0_minus1 field.
    • delta_poc_s0_minus1

      public StdVideoH265ShortTermRefPicSet delta_poc_s0_minus1(int index, short value)
      Sets the specified value at the specified index of the delta_poc_s0_minus1 field.
    • delta_poc_s1_minus1

      public StdVideoH265ShortTermRefPicSet delta_poc_s1_minus1(ShortBuffer value)
      Copies the specified ShortBuffer to the delta_poc_s1_minus1 field.
    • delta_poc_s1_minus1

      public StdVideoH265ShortTermRefPicSet delta_poc_s1_minus1(int index, short value)
      Sets the specified value at the specified index of the delta_poc_s1_minus1 field.
    • set

      public StdVideoH265ShortTermRefPicSet set(StdVideoH265ShortTermRefPicSetFlags flags, int delta_idx_minus1, short use_delta_flag, short abs_delta_rps_minus1, short used_by_curr_pic_flag, short used_by_curr_pic_s0_flag, short used_by_curr_pic_s1_flag, byte num_negative_pics, byte num_positive_pics, ShortBuffer delta_poc_s0_minus1, ShortBuffer delta_poc_s1_minus1)
      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 StdVideoH265ShortTermRefPicSet malloc()
      Returns a new StdVideoH265ShortTermRefPicSet instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int ndelta_idx_minus1(long struct)
      Unsafe version of delta_idx_minus1().
    • nuse_delta_flag

      public static short nuse_delta_flag(long struct)
      Unsafe version of use_delta_flag().
    • nabs_delta_rps_minus1

      public static short nabs_delta_rps_minus1(long struct)
      Unsafe version of abs_delta_rps_minus1().
    • nused_by_curr_pic_flag

      public static short nused_by_curr_pic_flag(long struct)
      Unsafe version of used_by_curr_pic_flag().
    • nused_by_curr_pic_s0_flag

      public static short nused_by_curr_pic_s0_flag(long struct)
      Unsafe version of used_by_curr_pic_s0_flag().
    • nused_by_curr_pic_s1_flag

      public static short nused_by_curr_pic_s1_flag(long struct)
      Unsafe version of used_by_curr_pic_s1_flag().
    • nreserved1

      public static short nreserved1(long struct)
    • nreserved2

      public static byte nreserved2(long struct)
    • nreserved3

      public static byte nreserved3(long struct)
    • nnum_negative_pics

      public static byte nnum_negative_pics(long struct)
      Unsafe version of num_negative_pics().
    • nnum_positive_pics

      public static byte nnum_positive_pics(long struct)
      Unsafe version of num_positive_pics().
    • ndelta_poc_s0_minus1

      public static ShortBuffer ndelta_poc_s0_minus1(long struct)
      Unsafe version of delta_poc_s0_minus1().
    • ndelta_poc_s0_minus1

      public static short ndelta_poc_s0_minus1(long struct, int index)
      Unsafe version of delta_poc_s0_minus1.
    • ndelta_poc_s1_minus1

      public static ShortBuffer ndelta_poc_s1_minus1(long struct)
      Unsafe version of delta_poc_s1_minus1().
    • ndelta_poc_s1_minus1

      public static short ndelta_poc_s1_minus1(long struct, int index)
      Unsafe version of delta_poc_s1_minus1.
    • nflags

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

      public static void ndelta_idx_minus1(long struct, int value)
      Unsafe version of delta_idx_minus1.
    • nuse_delta_flag

      public static void nuse_delta_flag(long struct, short value)
      Unsafe version of use_delta_flag.
    • nabs_delta_rps_minus1

      public static void nabs_delta_rps_minus1(long struct, short value)
      Unsafe version of abs_delta_rps_minus1.
    • nused_by_curr_pic_flag

      public static void nused_by_curr_pic_flag(long struct, short value)
      Unsafe version of used_by_curr_pic_flag.
    • nused_by_curr_pic_s0_flag

      public static void nused_by_curr_pic_s0_flag(long struct, short value)
      Unsafe version of used_by_curr_pic_s0_flag.
    • nused_by_curr_pic_s1_flag

      public static void nused_by_curr_pic_s1_flag(long struct, short value)
      Unsafe version of used_by_curr_pic_s1_flag.
    • nreserved1

      public static void nreserved1(long struct, short value)
    • nreserved2

      public static void nreserved2(long struct, byte value)
    • nreserved3

      public static void nreserved3(long struct, byte value)
    • nnum_negative_pics

      public static void nnum_negative_pics(long struct, byte value)
      Unsafe version of num_negative_pics.
    • nnum_positive_pics

      public static void nnum_positive_pics(long struct, byte value)
      Unsafe version of num_positive_pics.
    • ndelta_poc_s0_minus1

      public static void ndelta_poc_s0_minus1(long struct, ShortBuffer value)
      Unsafe version of delta_poc_s0_minus1.
    • ndelta_poc_s0_minus1

      public static void ndelta_poc_s0_minus1(long struct, int index, short value)
      Unsafe version of delta_poc_s0_minus1.
    • ndelta_poc_s1_minus1

      public static void ndelta_poc_s1_minus1(long struct, ShortBuffer value)
      Unsafe version of delta_poc_s1_minus1.
    • ndelta_poc_s1_minus1

      public static void ndelta_poc_s1_minus1(long struct, int index, short value)
      Unsafe version of delta_poc_s1_minus1.