Package org.lwjgl.opencl
Class CLMotionEstimationDescINTEL
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class CLMotionEstimationDescINTEL
extends Struct<CLMotionEstimationDescINTEL>
implements NativeResource
struct cl_motion_estimation_desc_intel {
cl_uint mb_block_type;
cl_uint subpixel_mode;
cl_uint sad_adjust_mode;
cl_uint search_path_type;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCLMotionEstimationDescINTEL(ByteBuffer container) Creates aCLMotionEstimationDescINTELinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic CLMotionEstimationDescINTELcalloc()Returns a newCLMotionEstimationDescINTELinstance allocated withmemCalloc.calloc(int capacity) Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CLMotionEstimationDescINTELcalloc(MemoryStack stack) Returns a newCLMotionEstimationDescINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CLMotionEstimationDescINTELcreate()Returns a newCLMotionEstimationDescINTELinstance allocated withBufferUtils.create(int capacity) Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated withBufferUtils.static CLMotionEstimationDescINTELcreate(long address) Returns a newCLMotionEstimationDescINTELinstance for the specified memory address.create(long address, int capacity) Create aCLMotionEstimationDescINTEL.Bufferinstance at the specified memory.static @Nullable CLMotionEstimationDescINTELcreateSafe(long address) static @Nullable CLMotionEstimationDescINTEL.BuffercreateSafe(long address, int capacity) static CLMotionEstimationDescINTELmalloc()Returns a newCLMotionEstimationDescINTELinstance allocated withmemAlloc.malloc(int capacity) Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated on the specifiedMemoryStack.static CLMotionEstimationDescINTELmalloc(MemoryStack stack) Returns a newCLMotionEstimationDescINTELinstance allocated on the specifiedMemoryStack.intmb_block_type(int value) Sets the specified value to themb_block_typefield.static intnmb_block_type(long struct) Unsafe version ofmb_block_type().static voidnmb_block_type(long struct, int value) Unsafe version ofmb_block_type.static intnsad_adjust_mode(long struct) Unsafe version ofsad_adjust_mode().static voidnsad_adjust_mode(long struct, int value) Unsafe version ofsad_adjust_mode.static intnsearch_path_type(long struct) Unsafe version ofsearch_path_type().static voidnsearch_path_type(long struct, int value) Unsafe version ofsearch_path_type.static intnsubpixel_mode(long struct) Unsafe version ofsubpixel_mode().static voidnsubpixel_mode(long struct, int value) Unsafe version ofsubpixel_mode.intsad_adjust_mode(int value) Sets the specified value to thesad_adjust_modefield.intsearch_path_type(int value) Sets the specified value to thesearch_path_typefield.set(int mb_block_type, int subpixel_mode, int sad_adjust_mode, int search_path_type) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).intsubpixel_mode(int value) Sets the specified value to thesubpixel_modefield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
MB_BLOCK_TYPE
public static final int MB_BLOCK_TYPEThe struct member offsets. -
SUBPIXEL_MODE
public static final int SUBPIXEL_MODEThe struct member offsets. -
SAD_ADJUST_MODE
public static final int SAD_ADJUST_MODEThe struct member offsets. -
SEARCH_PATH_TYPE
public static final int SEARCH_PATH_TYPEThe struct member offsets.
-
-
Constructor Details
-
CLMotionEstimationDescINTEL
Creates aCLMotionEstimationDescINTELinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<CLMotionEstimationDescINTEL>
-
mb_block_type
public int mb_block_type()- Returns:
- the value of the
mb_block_typefield.
-
subpixel_mode
public int subpixel_mode()- Returns:
- the value of the
subpixel_modefield.
-
sad_adjust_mode
public int sad_adjust_mode()- Returns:
- the value of the
sad_adjust_modefield.
-
search_path_type
public int search_path_type()- Returns:
- the value of the
search_path_typefield.
-
mb_block_type
Sets the specified value to themb_block_typefield. -
subpixel_mode
Sets the specified value to thesubpixel_modefield. -
sad_adjust_mode
Sets the specified value to thesad_adjust_modefield. -
search_path_type
Sets the specified value to thesearch_path_typefield. -
set
public CLMotionEstimationDescINTEL set(int mb_block_type, int subpixel_mode, int sad_adjust_mode, int search_path_type) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newCLMotionEstimationDescINTELinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newCLMotionEstimationDescINTELinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newCLMotionEstimationDescINTELinstance allocated withBufferUtils. -
create
Returns a newCLMotionEstimationDescINTELinstance for the specified memory address. -
createSafe
-
malloc
Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aCLMotionEstimationDescINTEL.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newCLMotionEstimationDescINTELinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newCLMotionEstimationDescINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nmb_block_type
public static int nmb_block_type(long struct) Unsafe version ofmb_block_type(). -
nsubpixel_mode
public static int nsubpixel_mode(long struct) Unsafe version ofsubpixel_mode(). -
nsad_adjust_mode
public static int nsad_adjust_mode(long struct) Unsafe version ofsad_adjust_mode(). -
nsearch_path_type
public static int nsearch_path_type(long struct) Unsafe version ofsearch_path_type(). -
nmb_block_type
public static void nmb_block_type(long struct, int value) Unsafe version ofmb_block_type. -
nsubpixel_mode
public static void nsubpixel_mode(long struct, int value) Unsafe version ofsubpixel_mode. -
nsad_adjust_mode
public static void nsad_adjust_mode(long struct, int value) Unsafe version ofsad_adjust_mode. -
nsearch_path_type
public static void nsearch_path_type(long struct, int value) Unsafe version ofsearch_path_type.
-