Record Class StdVideoAV1LoopRestoration

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoAV1LoopRestoration
All Implemented Interfaces:
IPointer, IStdVideoAV1LoopRestoration

@ValueBasedCandidate @UnsafeConstructor public record StdVideoAV1LoopRestoration(@NotNull MemorySegment segment) extends Record implements IStdVideoAV1LoopRestoration

Represents a pointer to a StdVideoAV1LoopRestoration structure in native memory.

Structure

typedef struct StdVideoAV1LoopRestoration {
    StdVideoAV1FrameRestorationType[STD_VIDEO_AV1_MAX_NUM_PLANES] FrameRestorationType;
    uint16_t[STD_VIDEO_AV1_MAX_NUM_PLANES] LoopRestorationSize;
} StdVideoAV1LoopRestoration;

Contracts

The property segment() should always be not-null (segment != NULL && !segment.equals(MemorySegment.NULL)), and properly aligned to LAYOUT.byteAlignment() bytes. To represent null pointer, you may use a Java null instead. See the documentation of IPointer.segment() for more details.

The constructor of this class is marked as UnsafeConstructor, because it does not perform any runtime check. The constructor can be useful for automatic code generators.

  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$FrameRestorationType

      public static final MemoryLayout.PathElement PATH$FrameRestorationType
    • PATH$LoopRestorationSize

      public static final MemoryLayout.PathElement PATH$LoopRestorationSize
    • LAYOUT$FrameRestorationType

      public static final SequenceLayout LAYOUT$FrameRestorationType
    • LAYOUT$LoopRestorationSize

      public static final SequenceLayout LAYOUT$LoopRestorationSize
    • SIZE$FrameRestorationType

      public static final long SIZE$FrameRestorationType
    • SIZE$LoopRestorationSize

      public static final long SIZE$LoopRestorationSize
    • OFFSET$FrameRestorationType

      public static final long OFFSET$FrameRestorationType
    • OFFSET$LoopRestorationSize

      public static final long OFFSET$LoopRestorationSize
  • Constructor Details

    • StdVideoAV1LoopRestoration

      public StdVideoAV1LoopRestoration(@NotNull @NotNull MemorySegment segment)
      Creates an instance of a StdVideoAV1LoopRestoration record class.
      Parameters:
      segment - the value for the segment record component
  • Method Details