Class CLMotionEstimationDescINTEL.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<CLMotionEstimationDescINTEL>, NativeResource, Pointer
Enclosing class:
CLMotionEstimationDescINTEL

public static class CLMotionEstimationDescINTEL.Buffer extends StructBuffer<CLMotionEstimationDescINTEL,CLMotionEstimationDescINTEL.Buffer> implements NativeResource
An array of CLMotionEstimationDescINTEL structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new CLMotionEstimationDescINTEL.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by CLMotionEstimationDescINTEL.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • mb_block_type

      public int mb_block_type()
      Returns:
      the value of the mb_block_type field.
    • subpixel_mode

      public int subpixel_mode()
      Returns:
      the value of the subpixel_mode field.
    • sad_adjust_mode

      public int sad_adjust_mode()
      Returns:
      the value of the sad_adjust_mode field.
    • search_path_type

      public int search_path_type()
      Returns:
      the value of the search_path_type field.
    • mb_block_type

      public CLMotionEstimationDescINTEL.Buffer mb_block_type(int value)
      Sets the specified value to the mb_block_type field.
    • subpixel_mode

      public CLMotionEstimationDescINTEL.Buffer subpixel_mode(int value)
      Sets the specified value to the subpixel_mode field.
    • sad_adjust_mode

      public CLMotionEstimationDescINTEL.Buffer sad_adjust_mode(int value)
      Sets the specified value to the sad_adjust_mode field.
    • search_path_type

      public CLMotionEstimationDescINTEL.Buffer search_path_type(int value)
      Sets the specified value to the search_path_type field.