Record Class StdVideoEncodeH264WeightTableFlags

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH264WeightTableFlags
All Implemented Interfaces:
IPointer, IStdVideoEncodeH264WeightTableFlags

@ValueBasedCandidate @UnsafeConstructor public record StdVideoEncodeH264WeightTableFlags(@NotNull MemorySegment segment) extends Record implements IStdVideoEncodeH264WeightTableFlags

Represents a pointer to a StdVideoEncodeH264WeightTableFlags structure in native memory.

Structure

typedef struct StdVideoEncodeH264WeightTableFlags {
    uint32_t luma_weight_l0_flag;
    uint32_t chroma_weight_l0_flag;
    uint32_t luma_weight_l1_flag;
    uint32_t chroma_weight_l1_flag;
} StdVideoEncodeH264WeightTableFlags;

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.OfInt LAYOUT$luma_weight_l0_flag
    • LAYOUT$chroma_weight_l0_flag

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

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

      public static final ValueLayout.OfInt 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

    • StdVideoEncodeH264WeightTableFlags

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