Class StdVideoAV1SequenceHeader

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.video.StdVideoAV1SequenceHeader
All Implemented Interfaces:
Addressable
Direct Known Subclasses:
StdVideoAV1SequenceHeader.Buffer

public sealed class StdVideoAV1SequenceHeader extends GroupType permits StdVideoAV1SequenceHeader.Buffer

Layout

struct StdVideoAV1SequenceHeader {
    (struct StdVideoAV1SequenceHeaderFlags) StdVideoAV1SequenceHeaderFlags flags;
    (int) 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];
    const StdVideoAV1ColorConfig* pColorConfig;
    const StdVideoAV1TimingInfo* pTimingInfo;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of StdVideoAV1SequenceHeader.
    • OFFSET_flags

      public static final long OFFSET_flags
      The byte offset of flags.
    • LAYOUT_flags

      public static final MemoryLayout LAYOUT_flags
      The memory layout of flags.
    • OFFSET_seq_profile

      public static final long OFFSET_seq_profile
      The byte offset of seq_profile.
    • LAYOUT_seq_profile

      public static final MemoryLayout LAYOUT_seq_profile
      The memory layout of seq_profile.
    • VH_seq_profile

      public static final VarHandle VH_seq_profile
      The VarHandle of seq_profile of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_frame_width_bits_minus_1

      public static final long OFFSET_frame_width_bits_minus_1
      The byte offset of frame_width_bits_minus_1.
    • LAYOUT_frame_width_bits_minus_1

      public static final MemoryLayout LAYOUT_frame_width_bits_minus_1
      The memory layout of frame_width_bits_minus_1.
    • VH_frame_width_bits_minus_1

      public static final VarHandle VH_frame_width_bits_minus_1
      The VarHandle of frame_width_bits_minus_1 of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_frame_height_bits_minus_1

      public static final long OFFSET_frame_height_bits_minus_1
      The byte offset of frame_height_bits_minus_1.
    • LAYOUT_frame_height_bits_minus_1

      public static final MemoryLayout LAYOUT_frame_height_bits_minus_1
      The memory layout of frame_height_bits_minus_1.
    • VH_frame_height_bits_minus_1

      public static final VarHandle VH_frame_height_bits_minus_1
      The VarHandle of frame_height_bits_minus_1 of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_max_frame_width_minus_1

      public static final long OFFSET_max_frame_width_minus_1
      The byte offset of max_frame_width_minus_1.
    • LAYOUT_max_frame_width_minus_1

      public static final MemoryLayout LAYOUT_max_frame_width_minus_1
      The memory layout of max_frame_width_minus_1.
    • VH_max_frame_width_minus_1

      public static final VarHandle VH_max_frame_width_minus_1
      The VarHandle of max_frame_width_minus_1 of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_max_frame_height_minus_1

      public static final long OFFSET_max_frame_height_minus_1
      The byte offset of max_frame_height_minus_1.
    • LAYOUT_max_frame_height_minus_1

      public static final MemoryLayout LAYOUT_max_frame_height_minus_1
      The memory layout of max_frame_height_minus_1.
    • VH_max_frame_height_minus_1

      public static final VarHandle VH_max_frame_height_minus_1
      The VarHandle of max_frame_height_minus_1 of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_delta_frame_id_length_minus_2

      public static final long OFFSET_delta_frame_id_length_minus_2
      The byte offset of delta_frame_id_length_minus_2.
    • LAYOUT_delta_frame_id_length_minus_2

      public static final MemoryLayout LAYOUT_delta_frame_id_length_minus_2
      The memory layout of delta_frame_id_length_minus_2.
    • VH_delta_frame_id_length_minus_2

      public static final VarHandle VH_delta_frame_id_length_minus_2
      The VarHandle of delta_frame_id_length_minus_2 of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_additional_frame_id_length_minus_1

      public static final long OFFSET_additional_frame_id_length_minus_1
      The byte offset of additional_frame_id_length_minus_1.
    • LAYOUT_additional_frame_id_length_minus_1

      public static final MemoryLayout LAYOUT_additional_frame_id_length_minus_1
      The memory layout of additional_frame_id_length_minus_1.
    • VH_additional_frame_id_length_minus_1

      public static final VarHandle VH_additional_frame_id_length_minus_1
      The VarHandle of additional_frame_id_length_minus_1 of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_order_hint_bits_minus_1

      public static final long OFFSET_order_hint_bits_minus_1
      The byte offset of order_hint_bits_minus_1.
    • LAYOUT_order_hint_bits_minus_1

      public static final MemoryLayout LAYOUT_order_hint_bits_minus_1
      The memory layout of order_hint_bits_minus_1.
    • VH_order_hint_bits_minus_1

      public static final VarHandle VH_order_hint_bits_minus_1
      The VarHandle of order_hint_bits_minus_1 of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_seq_force_integer_mv

      public static final long OFFSET_seq_force_integer_mv
      The byte offset of seq_force_integer_mv.
    • LAYOUT_seq_force_integer_mv

      public static final MemoryLayout LAYOUT_seq_force_integer_mv
      The memory layout of seq_force_integer_mv.
    • VH_seq_force_integer_mv

      public static final VarHandle VH_seq_force_integer_mv
      The VarHandle of seq_force_integer_mv of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_seq_force_screen_content_tools

      public static final long OFFSET_seq_force_screen_content_tools
      The byte offset of seq_force_screen_content_tools.
    • LAYOUT_seq_force_screen_content_tools

      public static final MemoryLayout LAYOUT_seq_force_screen_content_tools
      The memory layout of seq_force_screen_content_tools.
    • VH_seq_force_screen_content_tools

      public static final VarHandle VH_seq_force_screen_content_tools
      The VarHandle of seq_force_screen_content_tools of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_reserved1

      public static final long OFFSET_reserved1
      The byte offset of reserved1.
    • LAYOUT_reserved1

      public static final MemoryLayout LAYOUT_reserved1
      The memory layout of reserved1.
    • VH_reserved1

      public static final VarHandle VH_reserved1
      The VarHandle of reserved1 of type (MemorySegment base, long baseOffset, long index, long index0)MemorySegment.
    • OFFSET_pColorConfig

      public static final long OFFSET_pColorConfig
      The byte offset of pColorConfig.
    • LAYOUT_pColorConfig

      public static final MemoryLayout LAYOUT_pColorConfig
      The memory layout of pColorConfig.
    • VH_pColorConfig

      public static final VarHandle VH_pColorConfig
      The VarHandle of pColorConfig of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pTimingInfo

      public static final long OFFSET_pTimingInfo
      The byte offset of pTimingInfo.
    • LAYOUT_pTimingInfo

      public static final MemoryLayout LAYOUT_pTimingInfo
      The memory layout of pTimingInfo.
    • VH_pTimingInfo

      public static final VarHandle VH_pTimingInfo
      The VarHandle of pTimingInfo of type (MemorySegment base, long baseOffset, long index)MemorySegment.
  • Constructor Details

    • StdVideoAV1SequenceHeader

      public StdVideoAV1SequenceHeader(MemorySegment segment)
      Creates StdVideoAV1SequenceHeader with the given segment.
      Parameters:
      segment - the memory segment
  • Method Details

    • of

      public static StdVideoAV1SequenceHeader.Buffer of(MemorySegment segment)
      Creates StdVideoAV1SequenceHeader with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static StdVideoAV1SequenceHeader ofNative(MemorySegment segment)

      Creates StdVideoAV1SequenceHeader with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static StdVideoAV1SequenceHeader.Buffer ofNative(MemorySegment segment, long count)

      Creates StdVideoAV1SequenceHeader with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      count - the count of the buffer
      Returns:
      the created instance or null if the segment is NULL
    • alloc

      public static StdVideoAV1SequenceHeader alloc(SegmentAllocator allocator)
      Allocates a StdVideoAV1SequenceHeader with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated StdVideoAV1SequenceHeader
    • alloc

      public static StdVideoAV1SequenceHeader.Buffer alloc(SegmentAllocator allocator, long count)
      Allocates a StdVideoAV1SequenceHeader with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated StdVideoAV1SequenceHeader
    • copyFrom

      Copies from the given source.
      Parameters:
      src - the source
      Returns:
      this
    • asBuffer

      Converts this instance to a buffer.
      Returns:
      the buffer
    • flags

      public static MemorySegment flags(MemorySegment segment, long index)
      Returns flags at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      flags at the given index
    • flags

      public MemorySegment flags()
      Returns flags.
      Returns:
      flags
    • flags

      public static void flags(MemorySegment segment, long index, MemorySegment value)
      Sets flags with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • flags

      Sets flags with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • seq_profile

      public static int seq_profile(MemorySegment segment, long index)
      Returns seq_profile at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      seq_profile at the given index
    • seq_profile

      public int seq_profile()
      Returns seq_profile.
      Returns:
      seq_profile
    • seq_profile

      public static void seq_profile(MemorySegment segment, long index, int value)
      Sets seq_profile with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • seq_profile

      public StdVideoAV1SequenceHeader seq_profile(int value)
      Sets seq_profile with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • frame_width_bits_minus_1

      public static byte frame_width_bits_minus_1(MemorySegment segment, long index)
      Returns frame_width_bits_minus_1 at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      frame_width_bits_minus_1 at the given index
    • frame_width_bits_minus_1

      public byte frame_width_bits_minus_1()
      Returns frame_width_bits_minus_1.
      Returns:
      frame_width_bits_minus_1
    • frame_width_bits_minus_1

      public static void frame_width_bits_minus_1(MemorySegment segment, long index, byte value)
      Sets frame_width_bits_minus_1 with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • frame_width_bits_minus_1

      public StdVideoAV1SequenceHeader frame_width_bits_minus_1(byte value)
      Sets frame_width_bits_minus_1 with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • frame_height_bits_minus_1

      public static byte frame_height_bits_minus_1(MemorySegment segment, long index)
      Returns frame_height_bits_minus_1 at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      frame_height_bits_minus_1 at the given index
    • frame_height_bits_minus_1

      public byte frame_height_bits_minus_1()
      Returns frame_height_bits_minus_1.
      Returns:
      frame_height_bits_minus_1
    • frame_height_bits_minus_1

      public static void frame_height_bits_minus_1(MemorySegment segment, long index, byte value)
      Sets frame_height_bits_minus_1 with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • frame_height_bits_minus_1

      public StdVideoAV1SequenceHeader frame_height_bits_minus_1(byte value)
      Sets frame_height_bits_minus_1 with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • max_frame_width_minus_1

      public static short max_frame_width_minus_1(MemorySegment segment, long index)
      Returns max_frame_width_minus_1 at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      max_frame_width_minus_1 at the given index
    • max_frame_width_minus_1

      public short max_frame_width_minus_1()
      Returns max_frame_width_minus_1.
      Returns:
      max_frame_width_minus_1
    • max_frame_width_minus_1

      public static void max_frame_width_minus_1(MemorySegment segment, long index, short value)
      Sets max_frame_width_minus_1 with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • max_frame_width_minus_1

      public StdVideoAV1SequenceHeader max_frame_width_minus_1(short value)
      Sets max_frame_width_minus_1 with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • max_frame_height_minus_1

      public static short max_frame_height_minus_1(MemorySegment segment, long index)
      Returns max_frame_height_minus_1 at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      max_frame_height_minus_1 at the given index
    • max_frame_height_minus_1

      public short max_frame_height_minus_1()
      Returns max_frame_height_minus_1.
      Returns:
      max_frame_height_minus_1
    • max_frame_height_minus_1

      public static void max_frame_height_minus_1(MemorySegment segment, long index, short value)
      Sets max_frame_height_minus_1 with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • max_frame_height_minus_1

      public StdVideoAV1SequenceHeader max_frame_height_minus_1(short value)
      Sets max_frame_height_minus_1 with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • delta_frame_id_length_minus_2

      public static byte delta_frame_id_length_minus_2(MemorySegment segment, long index)
      Returns delta_frame_id_length_minus_2 at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      delta_frame_id_length_minus_2 at the given index
    • delta_frame_id_length_minus_2

      public byte delta_frame_id_length_minus_2()
      Returns delta_frame_id_length_minus_2.
      Returns:
      delta_frame_id_length_minus_2
    • delta_frame_id_length_minus_2

      public static void delta_frame_id_length_minus_2(MemorySegment segment, long index, byte value)
      Sets delta_frame_id_length_minus_2 with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • delta_frame_id_length_minus_2

      public StdVideoAV1SequenceHeader delta_frame_id_length_minus_2(byte value)
      Sets delta_frame_id_length_minus_2 with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • additional_frame_id_length_minus_1

      public static byte additional_frame_id_length_minus_1(MemorySegment segment, long index)
      Returns additional_frame_id_length_minus_1 at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      additional_frame_id_length_minus_1 at the given index
    • additional_frame_id_length_minus_1

      public byte additional_frame_id_length_minus_1()
      Returns additional_frame_id_length_minus_1.
      Returns:
      additional_frame_id_length_minus_1
    • additional_frame_id_length_minus_1

      public static void additional_frame_id_length_minus_1(MemorySegment segment, long index, byte value)
      Sets additional_frame_id_length_minus_1 with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • additional_frame_id_length_minus_1

      public StdVideoAV1SequenceHeader additional_frame_id_length_minus_1(byte value)
      Sets additional_frame_id_length_minus_1 with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • order_hint_bits_minus_1

      public static byte order_hint_bits_minus_1(MemorySegment segment, long index)
      Returns order_hint_bits_minus_1 at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      order_hint_bits_minus_1 at the given index
    • order_hint_bits_minus_1

      public byte order_hint_bits_minus_1()
      Returns order_hint_bits_minus_1.
      Returns:
      order_hint_bits_minus_1
    • order_hint_bits_minus_1

      public static void order_hint_bits_minus_1(MemorySegment segment, long index, byte value)
      Sets order_hint_bits_minus_1 with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • order_hint_bits_minus_1

      public StdVideoAV1SequenceHeader order_hint_bits_minus_1(byte value)
      Sets order_hint_bits_minus_1 with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • seq_force_integer_mv

      public static byte seq_force_integer_mv(MemorySegment segment, long index)
      Returns seq_force_integer_mv at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      seq_force_integer_mv at the given index
    • seq_force_integer_mv

      public byte seq_force_integer_mv()
      Returns seq_force_integer_mv.
      Returns:
      seq_force_integer_mv
    • seq_force_integer_mv

      public static void seq_force_integer_mv(MemorySegment segment, long index, byte value)
      Sets seq_force_integer_mv with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • seq_force_integer_mv

      public StdVideoAV1SequenceHeader seq_force_integer_mv(byte value)
      Sets seq_force_integer_mv with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • seq_force_screen_content_tools

      public static byte seq_force_screen_content_tools(MemorySegment segment, long index)
      Returns seq_force_screen_content_tools at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      seq_force_screen_content_tools at the given index
    • seq_force_screen_content_tools

      public byte seq_force_screen_content_tools()
      Returns seq_force_screen_content_tools.
      Returns:
      seq_force_screen_content_tools
    • seq_force_screen_content_tools

      public static void seq_force_screen_content_tools(MemorySegment segment, long index, byte value)
      Sets seq_force_screen_content_tools with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • seq_force_screen_content_tools

      public StdVideoAV1SequenceHeader seq_force_screen_content_tools(byte value)
      Sets seq_force_screen_content_tools with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • reserved1

      public static MemorySegment reserved1(MemorySegment segment, long index)
      Returns reserved1 at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      reserved1 at the given index
    • reserved1

      public static byte reserved1(MemorySegment segment, long index, long index0)
      Returns reserved1 at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      reserved1 at the given index
    • reserved1

      public MemorySegment reserved1()
      Returns reserved1.
      Returns:
      reserved1
    • reserved1

      public byte reserved1(long index0)
      Returns reserved1.
      Parameters:
      index0 - the Index 0 of the array
      Returns:
      reserved1
    • reserved1

      public static void reserved1(MemorySegment segment, long index, MemorySegment value)
      Sets reserved1 with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • reserved1

      public static void reserved1(MemorySegment segment, long index, long index0, byte value)
      Sets reserved1 with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
    • reserved1

      public StdVideoAV1SequenceHeader reserved1(MemorySegment value)
      Sets reserved1 with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • reserved1

      public StdVideoAV1SequenceHeader reserved1(long index0, byte value)
      Sets reserved1 with the given value.
      Parameters:
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • pColorConfig

      public static MemorySegment pColorConfig(MemorySegment segment, long index)
      Returns pColorConfig at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pColorConfig at the given index
    • pColorConfig

      public MemorySegment pColorConfig()
      Returns pColorConfig.
      Returns:
      pColorConfig
    • pColorConfig

      public static void pColorConfig(MemorySegment segment, long index, MemorySegment value)
      Sets pColorConfig with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pColorConfig

      public StdVideoAV1SequenceHeader pColorConfig(MemorySegment value)
      Sets pColorConfig with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pTimingInfo

      public static MemorySegment pTimingInfo(MemorySegment segment, long index)
      Returns pTimingInfo at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pTimingInfo at the given index
    • pTimingInfo

      public MemorySegment pTimingInfo()
      Returns pTimingInfo.
      Returns:
      pTimingInfo
    • pTimingInfo

      public static void pTimingInfo(MemorySegment segment, long index, MemorySegment value)
      Sets pTimingInfo with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pTimingInfo

      public StdVideoAV1SequenceHeader pTimingInfo(MemorySegment value)
      Sets pTimingInfo with the given value.
      Parameters:
      value - the value
      Returns:
      this