public class CLMotionEstimationDescINTEL
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
mb_block_type – describes the size of the blocks described by the motion estimatorsubpixel_mode – defines the search precision (and hence, the precision of the returned motion vectors)sad_adjust_mode – specifies distortion measure adjustment used for the motion search SAD comparisonsearch_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)
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;
}| Modifier and Type | Class and Description |
|---|---|
static class |
CLMotionEstimationDescINTEL.Buffer
An array of
CLMotionEstimationDescINTEL structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MB_BLOCK_TYPE
The struct member offsets.
|
static int |
SAD_ADJUST_MODE
The struct member offsets.
|
static int |
SEARCH_PATH_TYPE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SUBPIXEL_MODE
The struct member offsets.
|
| Constructor and Description |
|---|
CLMotionEstimationDescINTEL(java.nio.ByteBuffer container)
Creates a
CLMotionEstimationDescINTEL instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static CLMotionEstimationDescINTEL |
calloc()
Returns a new
CLMotionEstimationDescINTEL instance allocated with memCalloc. |
static CLMotionEstimationDescINTEL.Buffer |
calloc(int capacity)
Returns a new
CLMotionEstimationDescINTEL.Buffer instance allocated with memCalloc. |
static CLMotionEstimationDescINTEL |
callocStack()
Returns a new
CLMotionEstimationDescINTEL instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CLMotionEstimationDescINTEL.Buffer |
callocStack(int capacity)
Returns a new
CLMotionEstimationDescINTEL.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CLMotionEstimationDescINTEL.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CLMotionEstimationDescINTEL.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CLMotionEstimationDescINTEL |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CLMotionEstimationDescINTEL instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CLMotionEstimationDescINTEL |
create()
Returns a new
CLMotionEstimationDescINTEL instance allocated with BufferUtils. |
static CLMotionEstimationDescINTEL.Buffer |
create(int capacity)
Returns a new
CLMotionEstimationDescINTEL.Buffer instance allocated with BufferUtils. |
static CLMotionEstimationDescINTEL |
create(long address)
Returns a new
CLMotionEstimationDescINTEL instance for the specified memory address. |
static CLMotionEstimationDescINTEL.Buffer |
create(long address,
int capacity)
Create a
CLMotionEstimationDescINTEL.Buffer instance at the specified memory. |
static CLMotionEstimationDescINTEL |
createSafe(long address)
|
static CLMotionEstimationDescINTEL.Buffer |
createSafe(long address,
int capacity)
|
static CLMotionEstimationDescINTEL |
malloc()
Returns a new
CLMotionEstimationDescINTEL instance allocated with memAlloc. |
static CLMotionEstimationDescINTEL.Buffer |
malloc(int capacity)
Returns a new
CLMotionEstimationDescINTEL.Buffer instance allocated with memAlloc. |
static CLMotionEstimationDescINTEL |
mallocStack()
Returns a new
CLMotionEstimationDescINTEL instance allocated on the thread-local MemoryStack. |
static CLMotionEstimationDescINTEL.Buffer |
mallocStack(int capacity)
Returns a new
CLMotionEstimationDescINTEL.Buffer instance allocated on the thread-local MemoryStack. |
static CLMotionEstimationDescINTEL.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CLMotionEstimationDescINTEL.Buffer instance allocated on the specified MemoryStack. |
static CLMotionEstimationDescINTEL |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CLMotionEstimationDescINTEL instance allocated on the specified MemoryStack. |
int |
mb_block_type()
Returns the value of the
mb_block_type field. |
CLMotionEstimationDescINTEL |
mb_block_type(int value)
Sets the specified value to the
mb_block_type field. |
static int |
nmb_block_type(long struct)
Unsafe version of
mb_block_type(). |
static void |
nmb_block_type(long struct,
int value)
Unsafe version of
mb_block_type. |
static int |
nsad_adjust_mode(long struct)
Unsafe version of
sad_adjust_mode(). |
static void |
nsad_adjust_mode(long struct,
int value)
Unsafe version of
sad_adjust_mode. |
static int |
nsearch_path_type(long struct)
Unsafe version of
search_path_type(). |
static void |
nsearch_path_type(long struct,
int value)
Unsafe version of
search_path_type. |
static int |
nsubpixel_mode(long struct)
Unsafe version of
subpixel_mode(). |
static void |
nsubpixel_mode(long struct,
int value)
Unsafe version of
subpixel_mode. |
int |
sad_adjust_mode()
Returns the value of the
sad_adjust_mode field. |
CLMotionEstimationDescINTEL |
sad_adjust_mode(int value)
Sets the specified value to the
sad_adjust_mode field. |
int |
search_path_type()
Returns the value of the
search_path_type field. |
CLMotionEstimationDescINTEL |
search_path_type(int value)
Sets the specified value to the
search_path_type field. |
CLMotionEstimationDescINTEL |
set(CLMotionEstimationDescINTEL src)
Copies the specified struct data to this struct.
|
CLMotionEstimationDescINTEL |
set(int mb_block_type,
int subpixel_mode,
int sad_adjust_mode,
int search_path_type)
Initializes this struct with the specified values.
|
int |
sizeof() |
int |
subpixel_mode()
Returns the value of the
subpixel_mode field. |
CLMotionEstimationDescINTEL |
subpixel_mode(int value)
Sets the specified value to the
subpixel_mode field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int MB_BLOCK_TYPE
public static final int SUBPIXEL_MODE
public static final int SAD_ADJUST_MODE
public static final int SEARCH_PATH_TYPE
public CLMotionEstimationDescINTEL(java.nio.ByteBuffer container)
CLMotionEstimationDescINTEL instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int mb_block_type()
mb_block_type field.public int subpixel_mode()
subpixel_mode field.public int sad_adjust_mode()
sad_adjust_mode field.public int search_path_type()
search_path_type field.public CLMotionEstimationDescINTEL mb_block_type(int value)
mb_block_type field.public CLMotionEstimationDescINTEL subpixel_mode(int value)
subpixel_mode field.public CLMotionEstimationDescINTEL sad_adjust_mode(int value)
sad_adjust_mode field.public CLMotionEstimationDescINTEL search_path_type(int value)
search_path_type field.public CLMotionEstimationDescINTEL set(int mb_block_type, int subpixel_mode, int sad_adjust_mode, int search_path_type)
public CLMotionEstimationDescINTEL set(CLMotionEstimationDescINTEL src)
src - the source structpublic static CLMotionEstimationDescINTEL malloc()
CLMotionEstimationDescINTEL instance allocated with memAlloc. The instance must be explicitly freed.public static CLMotionEstimationDescINTEL calloc()
CLMotionEstimationDescINTEL instance allocated with memCalloc. The instance must be explicitly freed.public static CLMotionEstimationDescINTEL create()
CLMotionEstimationDescINTEL instance allocated with BufferUtils.public static CLMotionEstimationDescINTEL create(long address)
CLMotionEstimationDescINTEL instance for the specified memory address.@Nullable public static CLMotionEstimationDescINTEL createSafe(long address)
public static CLMotionEstimationDescINTEL.Buffer malloc(int capacity)
CLMotionEstimationDescINTEL.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CLMotionEstimationDescINTEL.Buffer calloc(int capacity)
CLMotionEstimationDescINTEL.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CLMotionEstimationDescINTEL.Buffer create(int capacity)
CLMotionEstimationDescINTEL.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static CLMotionEstimationDescINTEL.Buffer create(long address, int capacity)
CLMotionEstimationDescINTEL.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static CLMotionEstimationDescINTEL.Buffer createSafe(long address, int capacity)
public static CLMotionEstimationDescINTEL mallocStack()
CLMotionEstimationDescINTEL instance allocated on the thread-local MemoryStack.public static CLMotionEstimationDescINTEL callocStack()
CLMotionEstimationDescINTEL instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static CLMotionEstimationDescINTEL mallocStack(org.lwjgl.system.MemoryStack stack)
CLMotionEstimationDescINTEL instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static CLMotionEstimationDescINTEL callocStack(org.lwjgl.system.MemoryStack stack)
CLMotionEstimationDescINTEL instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static CLMotionEstimationDescINTEL.Buffer mallocStack(int capacity)
CLMotionEstimationDescINTEL.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static CLMotionEstimationDescINTEL.Buffer callocStack(int capacity)
CLMotionEstimationDescINTEL.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static CLMotionEstimationDescINTEL.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CLMotionEstimationDescINTEL.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static CLMotionEstimationDescINTEL.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CLMotionEstimationDescINTEL.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nmb_block_type(long struct)
mb_block_type().public static int nsubpixel_mode(long struct)
subpixel_mode().public static int nsad_adjust_mode(long struct)
sad_adjust_mode().public static int nsearch_path_type(long struct)
search_path_type().public static void nmb_block_type(long struct,
int value)
mb_block_type.public static void nsubpixel_mode(long struct,
int value)
subpixel_mode.public static void nsad_adjust_mode(long struct,
int value)
sad_adjust_mode.public static void nsearch_path_type(long struct,
int value)
search_path_type.Copyright LWJGL. All Rights Reserved. License terms.