Class StdVideoAV1SequenceHeaderFlags

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

public sealed class StdVideoAV1SequenceHeaderFlags extends GroupType permits StdVideoAV1SequenceHeaderFlags.Buffer

Layout

struct StdVideoAV1SequenceHeaderFlags {
    uint32_t still_picture : 1;
    uint32_t reduced_still_picture_header : 1;
    uint32_t use_128x128_superblock : 1;
    uint32_t enable_filter_intra : 1;
    uint32_t enable_intra_edge_filter : 1;
    uint32_t enable_interintra_compound : 1;
    uint32_t enable_masked_compound : 1;
    uint32_t enable_warped_motion : 1;
    uint32_t enable_dual_filter : 1;
    uint32_t enable_order_hint : 1;
    uint32_t enable_jnt_comp : 1;
    uint32_t enable_ref_frame_mvs : 1;
    uint32_t frame_id_numbers_present_flag : 1;
    uint32_t enable_superres : 1;
    uint32_t enable_cdef : 1;
    uint32_t enable_restoration : 1;
    uint32_t film_grain_params_present : 1;
    uint32_t timing_info_present_flag : 1;
    uint32_t initial_display_delay_present_flag : 1;
    uint32_t reserved : 13;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of StdVideoAV1SequenceHeaderFlags.
  • Constructor Details

    • StdVideoAV1SequenceHeaderFlags

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

    • of

      Creates StdVideoAV1SequenceHeaderFlags with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static StdVideoAV1SequenceHeaderFlags ofNative(MemorySegment segment)

      Creates StdVideoAV1SequenceHeaderFlags 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 StdVideoAV1SequenceHeaderFlags.Buffer ofNative(MemorySegment segment, long count)

      Creates StdVideoAV1SequenceHeaderFlags 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 StdVideoAV1SequenceHeaderFlags alloc(SegmentAllocator allocator)
      Allocates a StdVideoAV1SequenceHeaderFlags with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated StdVideoAV1SequenceHeaderFlags
    • alloc

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

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

      Converts this instance to a buffer.
      Returns:
      the buffer