Record Class CLMotionEstimationDescIntel

java.lang.Object
java.lang.Record
club.doki7.opencl.datatype.CLMotionEstimationDescIntel
All Implemented Interfaces:
IPointer, ICLMotionEstimationDescIntel

@ValueBasedCandidate @UnsafeConstructor public record CLMotionEstimationDescIntel(@NotNull MemorySegment segment) extends Record implements ICLMotionEstimationDescIntel

Represents a pointer to a cl_motion_estimation_desc_intel structure in native memory.

Structure

typedef struct cl_motion_estimation_desc_intel {
    cl_uint mbBlockType;
    cl_uint subpixelMode;
    cl_uint sadAdjustMode;
    cl_uint searchPathType;
} cl_motion_estimation_desc_intel;

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.

See Also:
  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$mbBlockType

      public static final MemoryLayout.PathElement PATH$mbBlockType
    • PATH$subpixelMode

      public static final MemoryLayout.PathElement PATH$subpixelMode
    • PATH$sadAdjustMode

      public static final MemoryLayout.PathElement PATH$sadAdjustMode
    • PATH$searchPathType

      public static final MemoryLayout.PathElement PATH$searchPathType
    • LAYOUT$mbBlockType

      public static final ValueLayout.OfInt LAYOUT$mbBlockType
    • LAYOUT$subpixelMode

      public static final ValueLayout.OfInt LAYOUT$subpixelMode
    • LAYOUT$sadAdjustMode

      public static final ValueLayout.OfInt LAYOUT$sadAdjustMode
    • LAYOUT$searchPathType

      public static final ValueLayout.OfInt LAYOUT$searchPathType
    • SIZE$mbBlockType

      public static final long SIZE$mbBlockType
    • SIZE$subpixelMode

      public static final long SIZE$subpixelMode
    • SIZE$sadAdjustMode

      public static final long SIZE$sadAdjustMode
    • SIZE$searchPathType

      public static final long SIZE$searchPathType
    • OFFSET$mbBlockType

      public static final long OFFSET$mbBlockType
    • OFFSET$subpixelMode

      public static final long OFFSET$subpixelMode
    • OFFSET$sadAdjustMode

      public static final long OFFSET$sadAdjustMode
    • OFFSET$searchPathType

      public static final long OFFSET$searchPathType
  • Constructor Details

    • CLMotionEstimationDescIntel

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