Class StdVideoAV1SequenceHeader

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

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

Layout


 struct StdVideoAV1SequenceHeader {
     StdVideoAV1SequenceHeaderFlags flags;
     StdVideoAV1Profile seq_profile;
     uint8_t frame_width_bits_minus_1;
     uint8_t frame_height_bits_minus_1;
     uint16_t max_frame_width_minus_1;
     uint16_t max_frame_height_minus_1;
     uint8_t delta_frame_id_length_minus_2;
     uint8_t additional_frame_id_length_minus_1;
     uint8_t order_hint_bits_minus_1;
     uint8_t seq_force_integer_mv;
     uint8_t seq_force_screen_content_tools;
     uint8_t reserved1[5];
     StdVideoAV1ColorConfig const * pColorConfig;
     StdVideoAV1TimingInfo const * pTimingInfo;
 }
  • 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.
    • SEQ_PROFILE

      public static final int SEQ_PROFILE
      The struct member offsets.
    • FRAME_WIDTH_BITS_MINUS_1

      public static final int FRAME_WIDTH_BITS_MINUS_1
      The struct member offsets.
    • FRAME_HEIGHT_BITS_MINUS_1

      public static final int FRAME_HEIGHT_BITS_MINUS_1
      The struct member offsets.
    • MAX_FRAME_WIDTH_MINUS_1

      public static final int MAX_FRAME_WIDTH_MINUS_1
      The struct member offsets.
    • MAX_FRAME_HEIGHT_MINUS_1

      public static final int MAX_FRAME_HEIGHT_MINUS_1
      The struct member offsets.
    • DELTA_FRAME_ID_LENGTH_MINUS_2

      public static final int DELTA_FRAME_ID_LENGTH_MINUS_2
      The struct member offsets.
    • ADDITIONAL_FRAME_ID_LENGTH_MINUS_1

      public static final int ADDITIONAL_FRAME_ID_LENGTH_MINUS_1
      The struct member offsets.
    • ORDER_HINT_BITS_MINUS_1

      public static final int ORDER_HINT_BITS_MINUS_1
      The struct member offsets.
    • SEQ_FORCE_INTEGER_MV

      public static final int SEQ_FORCE_INTEGER_MV
      The struct member offsets.
    • SEQ_FORCE_SCREEN_CONTENT_TOOLS

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

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

      public static final int PCOLORCONFIG
      The struct member offsets.
    • PTIMINGINFO

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

    • StdVideoAV1SequenceHeader

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

      Returns:
      a StdVideoAV1SequenceHeaderFlags view of the flags field.
    • seq_profile

      public int seq_profile()
      Returns:
      the value of the seq_profile field.
    • frame_width_bits_minus_1

      public byte frame_width_bits_minus_1()
      Returns:
      the value of the frame_width_bits_minus_1 field.
    • frame_height_bits_minus_1

      public byte frame_height_bits_minus_1()
      Returns:
      the value of the frame_height_bits_minus_1 field.
    • max_frame_width_minus_1

      public short max_frame_width_minus_1()
      Returns:
      the value of the max_frame_width_minus_1 field.
    • max_frame_height_minus_1

      public short max_frame_height_minus_1()
      Returns:
      the value of the max_frame_height_minus_1 field.
    • delta_frame_id_length_minus_2

      public byte delta_frame_id_length_minus_2()
      Returns:
      the value of the delta_frame_id_length_minus_2 field.
    • additional_frame_id_length_minus_1

      public byte additional_frame_id_length_minus_1()
      Returns:
      the value of the additional_frame_id_length_minus_1 field.
    • order_hint_bits_minus_1

      public byte order_hint_bits_minus_1()
      Returns:
      the value of the order_hint_bits_minus_1 field.
    • seq_force_integer_mv

      public byte seq_force_integer_mv()
      Returns:
      the value of the seq_force_integer_mv field.
    • seq_force_screen_content_tools

      public byte seq_force_screen_content_tools()
      Returns:
      the value of the seq_force_screen_content_tools field.
    • pColorConfig

      public StdVideoAV1ColorConfig pColorConfig()
      Returns:
      a StdVideoAV1ColorConfig view of the struct pointed to by the pColorConfig field.
    • pTimingInfo

      public StdVideoAV1TimingInfo pTimingInfo()
      Returns:
      a StdVideoAV1TimingInfo view of the struct pointed to by the pTimingInfo field.
    • flags

      Copies the specified StdVideoAV1SequenceHeaderFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • seq_profile

      public StdVideoAV1SequenceHeader seq_profile(int value)
      Sets the specified value to the seq_profile field.
    • frame_width_bits_minus_1

      public StdVideoAV1SequenceHeader frame_width_bits_minus_1(byte value)
      Sets the specified value to the frame_width_bits_minus_1 field.
    • frame_height_bits_minus_1

      public StdVideoAV1SequenceHeader frame_height_bits_minus_1(byte value)
      Sets the specified value to the frame_height_bits_minus_1 field.
    • max_frame_width_minus_1

      public StdVideoAV1SequenceHeader max_frame_width_minus_1(short value)
      Sets the specified value to the max_frame_width_minus_1 field.
    • max_frame_height_minus_1

      public StdVideoAV1SequenceHeader max_frame_height_minus_1(short value)
      Sets the specified value to the max_frame_height_minus_1 field.
    • delta_frame_id_length_minus_2

      public StdVideoAV1SequenceHeader delta_frame_id_length_minus_2(byte value)
      Sets the specified value to the delta_frame_id_length_minus_2 field.
    • additional_frame_id_length_minus_1

      public StdVideoAV1SequenceHeader additional_frame_id_length_minus_1(byte value)
      Sets the specified value to the additional_frame_id_length_minus_1 field.
    • order_hint_bits_minus_1

      public StdVideoAV1SequenceHeader order_hint_bits_minus_1(byte value)
      Sets the specified value to the order_hint_bits_minus_1 field.
    • seq_force_integer_mv

      public StdVideoAV1SequenceHeader seq_force_integer_mv(byte value)
      Sets the specified value to the seq_force_integer_mv field.
    • seq_force_screen_content_tools

      public StdVideoAV1SequenceHeader seq_force_screen_content_tools(byte value)
      Sets the specified value to the seq_force_screen_content_tools field.
    • pColorConfig

      Sets the address of the specified StdVideoAV1ColorConfig to the pColorConfig field.
    • pTimingInfo

      Sets the address of the specified StdVideoAV1TimingInfo to the pTimingInfo field.
    • set

      public StdVideoAV1SequenceHeader set(StdVideoAV1SequenceHeaderFlags flags, int seq_profile, byte frame_width_bits_minus_1, byte frame_height_bits_minus_1, short max_frame_width_minus_1, short max_frame_height_minus_1, byte delta_frame_id_length_minus_2, byte additional_frame_id_length_minus_1, byte order_hint_bits_minus_1, byte seq_force_integer_mv, byte seq_force_screen_content_tools, StdVideoAV1ColorConfig pColorConfig, StdVideoAV1TimingInfo pTimingInfo)
      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 StdVideoAV1SequenceHeader malloc()
      Returns a new StdVideoAV1SequenceHeader instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int nseq_profile(long struct)
      Unsafe version of seq_profile().
    • nframe_width_bits_minus_1

      public static byte nframe_width_bits_minus_1(long struct)
      Unsafe version of frame_width_bits_minus_1().
    • nframe_height_bits_minus_1

      public static byte nframe_height_bits_minus_1(long struct)
      Unsafe version of frame_height_bits_minus_1().
    • nmax_frame_width_minus_1

      public static short nmax_frame_width_minus_1(long struct)
      Unsafe version of max_frame_width_minus_1().
    • nmax_frame_height_minus_1

      public static short nmax_frame_height_minus_1(long struct)
      Unsafe version of max_frame_height_minus_1().
    • ndelta_frame_id_length_minus_2

      public static byte ndelta_frame_id_length_minus_2(long struct)
    • nadditional_frame_id_length_minus_1

      public static byte nadditional_frame_id_length_minus_1(long struct)
    • norder_hint_bits_minus_1

      public static byte norder_hint_bits_minus_1(long struct)
      Unsafe version of order_hint_bits_minus_1().
    • nseq_force_integer_mv

      public static byte nseq_force_integer_mv(long struct)
      Unsafe version of seq_force_integer_mv().
    • nseq_force_screen_content_tools

      public static byte nseq_force_screen_content_tools(long struct)
    • nreserved1

      public static ByteBuffer nreserved1(long struct)
    • nreserved1

      public static byte nreserved1(long struct, int index)
    • npColorConfig

      public static StdVideoAV1ColorConfig npColorConfig(long struct)
      Unsafe version of pColorConfig().
    • npTimingInfo

      public static StdVideoAV1TimingInfo npTimingInfo(long struct)
      Unsafe version of pTimingInfo().
    • nflags

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

      public static void nseq_profile(long struct, int value)
      Unsafe version of seq_profile.
    • nframe_width_bits_minus_1

      public static void nframe_width_bits_minus_1(long struct, byte value)
      Unsafe version of frame_width_bits_minus_1.
    • nframe_height_bits_minus_1

      public static void nframe_height_bits_minus_1(long struct, byte value)
      Unsafe version of frame_height_bits_minus_1.
    • nmax_frame_width_minus_1

      public static void nmax_frame_width_minus_1(long struct, short value)
      Unsafe version of max_frame_width_minus_1.
    • nmax_frame_height_minus_1

      public static void nmax_frame_height_minus_1(long struct, short value)
      Unsafe version of max_frame_height_minus_1.
    • ndelta_frame_id_length_minus_2

      public static void ndelta_frame_id_length_minus_2(long struct, byte value)
    • nadditional_frame_id_length_minus_1

      public static void nadditional_frame_id_length_minus_1(long struct, byte value)
    • norder_hint_bits_minus_1

      public static void norder_hint_bits_minus_1(long struct, byte value)
      Unsafe version of order_hint_bits_minus_1.
    • nseq_force_integer_mv

      public static void nseq_force_integer_mv(long struct, byte value)
      Unsafe version of seq_force_integer_mv.
    • nseq_force_screen_content_tools

      public static void nseq_force_screen_content_tools(long struct, byte value)
    • nreserved1

      public static void nreserved1(long struct, ByteBuffer value)
    • nreserved1

      public static void nreserved1(long struct, int index, byte value)
    • npColorConfig

      public static void npColorConfig(long struct, StdVideoAV1ColorConfig value)
      Unsafe version of pColorConfig.
    • npTimingInfo

      public static void npTimingInfo(long struct, StdVideoAV1TimingInfo value)
      Unsafe version of pTimingInfo.
    • validate

      public static void validate(long struct)
      Validates pointer members that should not be NULL.
      Parameters:
      struct - the struct to validate