Record Class StdVideoEncodeH265WeightTableFlags

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH265WeightTableFlags
All Implemented Interfaces:
IPointer, IStdVideoEncodeH265WeightTableFlags

@ValueBasedCandidate @UnsafeConstructor public record StdVideoEncodeH265WeightTableFlags(@NotNull MemorySegment segment) extends Record implements IStdVideoEncodeH265WeightTableFlags

Represents a pointer to a StdVideoEncodeH265WeightTableFlags structure in native memory.

Structure

typedef struct StdVideoEncodeH265WeightTableFlags {
    uint16_t luma_weight_l0_flag;
    uint16_t chroma_weight_l0_flag;
    uint16_t luma_weight_l1_flag;
    uint16_t chroma_weight_l1_flag;
} StdVideoEncodeH265WeightTableFlags;

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

      public static final MemoryLayout.PathElement PATH$luma_weight_l0_flag
    • PATH$chroma_weight_l0_flag

      public static final MemoryLayout.PathElement PATH$chroma_weight_l0_flag
    • PATH$luma_weight_l1_flag

      public static final MemoryLayout.PathElement PATH$luma_weight_l1_flag
    • PATH$chroma_weight_l1_flag

      public static final MemoryLayout.PathElement PATH$chroma_weight_l1_flag
    • LAYOUT$luma_weight_l0_flag

      public static final ValueLayout.OfShort LAYOUT$luma_weight_l0_flag
    • LAYOUT$chroma_weight_l0_flag

      public static final ValueLayout.OfShort LAYOUT$chroma_weight_l0_flag
    • LAYOUT$luma_weight_l1_flag

      public static final ValueLayout.OfShort LAYOUT$luma_weight_l1_flag
    • LAYOUT$chroma_weight_l1_flag

      public static final ValueLayout.OfShort LAYOUT$chroma_weight_l1_flag
    • SIZE$luma_weight_l0_flag

      public static final long SIZE$luma_weight_l0_flag
    • SIZE$chroma_weight_l0_flag

      public static final long SIZE$chroma_weight_l0_flag
    • SIZE$luma_weight_l1_flag

      public static final long SIZE$luma_weight_l1_flag
    • SIZE$chroma_weight_l1_flag

      public static final long SIZE$chroma_weight_l1_flag
    • OFFSET$luma_weight_l0_flag

      public static final long OFFSET$luma_weight_l0_flag
    • OFFSET$chroma_weight_l0_flag

      public static final long OFFSET$chroma_weight_l0_flag
    • OFFSET$luma_weight_l1_flag

      public static final long OFFSET$luma_weight_l1_flag
    • OFFSET$chroma_weight_l1_flag

      public static final long OFFSET$chroma_weight_l1_flag
  • Constructor Details

    • StdVideoEncodeH265WeightTableFlags

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