Record Class StdVideoAV1Quantization

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoAV1Quantization
All Implemented Interfaces:
IPointer, IStdVideoAV1Quantization

@ValueBasedCandidate @UnsafeConstructor public record StdVideoAV1Quantization(@NotNull MemorySegment segment) extends Record implements IStdVideoAV1Quantization

Represents a pointer to a StdVideoAV1Quantization structure in native memory.

Structure

typedef struct StdVideoAV1Quantization {
    StdVideoAV1QuantizationFlags flags;
    uint8_t base_q_idx;
    int8_t DeltaQYDc;
    int8_t DeltaQUDc;
    int8_t DeltaQUAc;
    int8_t DeltaQVDc;
    int8_t DeltaQVAc;
    uint8_t qm_y;
    uint8_t qm_u;
    uint8_t qm_v;
} StdVideoAV1Quantization;

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$flags

      public static final MemoryLayout.PathElement PATH$flags
    • PATH$base_q_idx

      public static final MemoryLayout.PathElement PATH$base_q_idx
    • PATH$DeltaQYDc

      public static final MemoryLayout.PathElement PATH$DeltaQYDc
    • PATH$DeltaQUDc

      public static final MemoryLayout.PathElement PATH$DeltaQUDc
    • PATH$DeltaQUAc

      public static final MemoryLayout.PathElement PATH$DeltaQUAc
    • PATH$DeltaQVDc

      public static final MemoryLayout.PathElement PATH$DeltaQVDc
    • PATH$DeltaQVAc

      public static final MemoryLayout.PathElement PATH$DeltaQVAc
    • PATH$qm_y

      public static final MemoryLayout.PathElement PATH$qm_y
    • PATH$qm_u

      public static final MemoryLayout.PathElement PATH$qm_u
    • PATH$qm_v

      public static final MemoryLayout.PathElement PATH$qm_v
    • LAYOUT$flags

      public static final StructLayout LAYOUT$flags
    • LAYOUT$base_q_idx

      public static final ValueLayout.OfByte LAYOUT$base_q_idx
    • LAYOUT$DeltaQYDc

      public static final ValueLayout.OfByte LAYOUT$DeltaQYDc
    • LAYOUT$DeltaQUDc

      public static final ValueLayout.OfByte LAYOUT$DeltaQUDc
    • LAYOUT$DeltaQUAc

      public static final ValueLayout.OfByte LAYOUT$DeltaQUAc
    • LAYOUT$DeltaQVDc

      public static final ValueLayout.OfByte LAYOUT$DeltaQVDc
    • LAYOUT$DeltaQVAc

      public static final ValueLayout.OfByte LAYOUT$DeltaQVAc
    • LAYOUT$qm_y

      public static final ValueLayout.OfByte LAYOUT$qm_y
    • LAYOUT$qm_u

      public static final ValueLayout.OfByte LAYOUT$qm_u
    • LAYOUT$qm_v

      public static final ValueLayout.OfByte LAYOUT$qm_v
    • SIZE$flags

      public static final long SIZE$flags
    • SIZE$base_q_idx

      public static final long SIZE$base_q_idx
    • SIZE$DeltaQYDc

      public static final long SIZE$DeltaQYDc
    • SIZE$DeltaQUDc

      public static final long SIZE$DeltaQUDc
    • SIZE$DeltaQUAc

      public static final long SIZE$DeltaQUAc
    • SIZE$DeltaQVDc

      public static final long SIZE$DeltaQVDc
    • SIZE$DeltaQVAc

      public static final long SIZE$DeltaQVAc
    • SIZE$qm_y

      public static final long SIZE$qm_y
    • SIZE$qm_u

      public static final long SIZE$qm_u
    • SIZE$qm_v

      public static final long SIZE$qm_v
    • OFFSET$flags

      public static final long OFFSET$flags
    • OFFSET$base_q_idx

      public static final long OFFSET$base_q_idx
    • OFFSET$DeltaQYDc

      public static final long OFFSET$DeltaQYDc
    • OFFSET$DeltaQUDc

      public static final long OFFSET$DeltaQUDc
    • OFFSET$DeltaQUAc

      public static final long OFFSET$DeltaQUAc
    • OFFSET$DeltaQVDc

      public static final long OFFSET$DeltaQVDc
    • OFFSET$DeltaQVAc

      public static final long OFFSET$DeltaQVAc
    • OFFSET$qm_y

      public static final long OFFSET$qm_y
    • OFFSET$qm_u

      public static final long OFFSET$qm_u
    • OFFSET$qm_v

      public static final long OFFSET$qm_v
  • Constructor Details

    • StdVideoAV1Quantization

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