Package org.lwjgl.opencl
Class CLMotionEstimationDescINTEL
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<CLMotionEstimationDescINTEL>
org.lwjgl.opencl.CLMotionEstimationDescINTEL
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class CLMotionEstimationDescINTEL
extends org.lwjgl.system.Struct<CLMotionEstimationDescINTEL>
implements org.lwjgl.system.NativeResource
Describes the configuration of the motion estimation algorithm.
Layout
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
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.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, org.lwjgl.system.MemoryStack stack) Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CLMotionEstimationDescINTELcalloc(org.lwjgl.system.MemoryStack stack) Returns a newCLMotionEstimationDescINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CLMotionEstimationDescINTELDeprecated.callocStack(int capacity) Deprecated.callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static CLMotionEstimationDescINTELcallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.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, org.lwjgl.system.MemoryStack stack) Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated on the specifiedMemoryStack.static CLMotionEstimationDescINTELmalloc(org.lwjgl.system.MemoryStack stack) Returns a newCLMotionEstimationDescINTELinstance allocated on the specifiedMemoryStack.static CLMotionEstimationDescINTELDeprecated.mallocStack(int capacity) Deprecated.mallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static CLMotionEstimationDescINTELmallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.intdescribes the size of the blocks described by the motion estimatormb_block_type(int value) Sets the specified value to themb_block_type()field.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.intspecifies distortion measure adjustment used for the motion search SAD comparisonsad_adjust_mode(int value) Sets the specified value to thesad_adjust_mode()field.intspecifies the search path and search radius when matching blocks in the neighborhood of each pixel block (optionally offset by the predicted motion vector).search_path_type(int value) Sets the specified value to thesearch_path_type()field.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()intdefines the search precision (and hence, the precision of the returned motion vectors)subpixel_mode(int value) Sets the specified value to thesubpixel_mode()field.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods 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()- Specified by:
sizeofin classorg.lwjgl.system.Struct<CLMotionEstimationDescINTEL>
-
mb_block_type
public int mb_block_type()describes the size of the blocks described by the motion estimator -
subpixel_mode
public int subpixel_mode()defines the search precision (and hence, the precision of the returned motion vectors) -
sad_adjust_mode
public int sad_adjust_mode()specifies distortion measure adjustment used for the motion search SAD comparison -
search_path_type
public int search_path_type()specifies the search path and search radius when matching blocks in the neighborhood of each pixel block (optionally offset by the predicted motion vector). Currently, all search algorithms match the source block with pixel blocks in the reference area exhaustively within a[Rx, Ry]radius from the current source pixel block location (optionally offset by the predicted motion vector) -
mb_block_type
Sets the specified value to themb_block_type()field. -
subpixel_mode
Sets the specified value to thesubpixel_mode()field. -
sad_adjust_mode
Sets the specified value to thesad_adjust_mode()field. -
search_path_type
Sets the specified value to thesearch_path_type()field. -
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
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
@Deprecated public static CLMotionEstimationDescINTEL mallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
@Deprecated public static CLMotionEstimationDescINTEL callocStack(org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
@Deprecated public static CLMotionEstimationDescINTEL.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
@Deprecated public static CLMotionEstimationDescINTEL.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
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
public static CLMotionEstimationDescINTEL.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newCLMotionEstimationDescINTEL.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static CLMotionEstimationDescINTEL.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) 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.
-