Class StdVideoDecodeVP9PictureInfoFlags

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.video.StdVideoDecodeVP9PictureInfoFlags
All Implemented Interfaces:
Addressable

public final class StdVideoDecodeVP9PictureInfoFlags extends GroupType

Layout

struct StdVideoDecodeVP9PictureInfoFlags {
    uint32_t error_resilient_mode : 1;
    uint32_t intra_only : 1;
    uint32_t allow_high_precision_mv : 1;
    uint32_t refresh_frame_context : 1;
    uint32_t frame_parallel_decoding_mode : 1;
    uint32_t segmentation_enabled : 1;
    uint32_t show_frame : 1;
    uint32_t UsePrevFrameMvs : 1;
    uint32_t reserved : 24;
};
  • Field Details

    • LAYOUT

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

    • StdVideoDecodeVP9PictureInfoFlags

      public StdVideoDecodeVP9PictureInfoFlags(MemorySegment segment, long elementCount)
      Creates StdVideoDecodeVP9PictureInfoFlags with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count of this struct buffer
  • Method Details

    • of

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

      public static StdVideoDecodeVP9PictureInfoFlags ofNative(MemorySegment segment)

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

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

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

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

      public StdVideoDecodeVP9PictureInfoFlags reinterpret(long count)
      Reinterprets this buffer with the given count.
      Parameters:
      count - the new count
      Returns:
      the reinterpreted buffer
    • asSlice

      public StdVideoDecodeVP9PictureInfoFlags asSlice(long index)
      Creates a slice of StdVideoDecodeVP9PictureInfoFlags.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of StdVideoDecodeVP9PictureInfoFlags
    • asSlice

      public StdVideoDecodeVP9PictureInfoFlags asSlice(long index, long count)
      Creates a slice of StdVideoDecodeVP9PictureInfoFlags.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of StdVideoDecodeVP9PictureInfoFlags
    • at

      Visits StdVideoDecodeVP9PictureInfoFlags buffer at the given index.
      Parameters:
      index - the index of this buffer
      func - the function to run with the slice of this buffer
      Returns:
      this