Record Class StdVideoH265ScalingLists

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoH265ScalingLists
All Implemented Interfaces:
IPointer, IStdVideoH265ScalingLists

@ValueBasedCandidate @UnsafeConstructor public record StdVideoH265ScalingLists(@NotNull MemorySegment segment) extends Record implements IStdVideoH265ScalingLists

Represents a pointer to a StdVideoH265ScalingLists structure in native memory.

Structure

typedef struct StdVideoH265ScalingLists {
    uint8_t[STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS][STD_VIDEO_H265_SCALING_LIST_4X4_NUM_LISTS] ScalingList4x4;
    uint8_t[STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS][STD_VIDEO_H265_SCALING_LIST_8X8_NUM_LISTS] ScalingList8x8;
    uint8_t[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS][STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS] ScalingList16x16;
    uint8_t[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS][STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS] ScalingList32x32;
    uint8_t[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS] ScalingListDCCoef16x16;
    uint8_t[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS] ScalingListDCCoef32x32;
} StdVideoH265ScalingLists;

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

      public static final MemoryLayout.PathElement PATH$ScalingList4x4
    • PATH$ScalingList8x8

      public static final MemoryLayout.PathElement PATH$ScalingList8x8
    • PATH$ScalingList16x16

      public static final MemoryLayout.PathElement PATH$ScalingList16x16
    • PATH$ScalingList32x32

      public static final MemoryLayout.PathElement PATH$ScalingList32x32
    • PATH$ScalingListDCCoef16x16

      public static final MemoryLayout.PathElement PATH$ScalingListDCCoef16x16
    • PATH$ScalingListDCCoef32x32

      public static final MemoryLayout.PathElement PATH$ScalingListDCCoef32x32
    • LAYOUT$ScalingList4x4

      public static final SequenceLayout LAYOUT$ScalingList4x4
    • LAYOUT$ScalingList8x8

      public static final SequenceLayout LAYOUT$ScalingList8x8
    • LAYOUT$ScalingList16x16

      public static final SequenceLayout LAYOUT$ScalingList16x16
    • LAYOUT$ScalingList32x32

      public static final SequenceLayout LAYOUT$ScalingList32x32
    • LAYOUT$ScalingListDCCoef16x16

      public static final SequenceLayout LAYOUT$ScalingListDCCoef16x16
    • LAYOUT$ScalingListDCCoef32x32

      public static final SequenceLayout LAYOUT$ScalingListDCCoef32x32
    • SIZE$ScalingList4x4

      public static final long SIZE$ScalingList4x4
    • SIZE$ScalingList8x8

      public static final long SIZE$ScalingList8x8
    • SIZE$ScalingList16x16

      public static final long SIZE$ScalingList16x16
    • SIZE$ScalingList32x32

      public static final long SIZE$ScalingList32x32
    • SIZE$ScalingListDCCoef16x16

      public static final long SIZE$ScalingListDCCoef16x16
    • SIZE$ScalingListDCCoef32x32

      public static final long SIZE$ScalingListDCCoef32x32
    • OFFSET$ScalingList4x4

      public static final long OFFSET$ScalingList4x4
    • OFFSET$ScalingList8x8

      public static final long OFFSET$ScalingList8x8
    • OFFSET$ScalingList16x16

      public static final long OFFSET$ScalingList16x16
    • OFFSET$ScalingList32x32

      public static final long OFFSET$ScalingList32x32
    • OFFSET$ScalingListDCCoef16x16

      public static final long OFFSET$ScalingListDCCoef16x16
    • OFFSET$ScalingListDCCoef32x32

      public static final long OFFSET$ScalingListDCCoef32x32
  • Constructor Details

    • StdVideoH265ScalingLists

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