MPI common header. More...
Data Structures | |
union | MPI_PATH_BMP_U |
Union for the sensor path bitmap. More... | |
struct | MPI_RANGE_S |
Struct for a range. More... | |
struct | MPI_POINT_S |
Struct for a pixel position. More... | |
struct | MPI_SHIFT_S |
Struct for a pixel shift from a reference point. More... | |
struct | MPI_PORCH_S |
Struct for a porch. More... | |
struct | MPI_SIZE_S |
Struct for an image size. More... | |
struct | MPI_RECT_S |
Struct for an rectangle. More... | |
struct | MPI_RECT_POINT_S |
Struct for a rectangle start and end point. More... | |
struct | MPI_MOTION_VEC_S |
Struct for a motion vector. More... | |
Macros | |
#define | MPI_BLOCKING_TIMEOUT_VALUE (-1) |
#define | MPI_STATE_NONE 0x0000 |
#define | MPI_STATE_STOP 0x0001 |
#define | MPI_STATE_RUN 0x0002 |
#define | MPI_STATE_SUSPEND 0x0003 |
#define | MPI_STATE_IS_STOP(s) ((s) == MPI_STATE_STOP) |
#define | MPI_STATE_IS_RUN(s) ((s) == MPI_STATE_RUN) |
#define | MPI_STATE_IS_SUSPEND(s) ((s) == MPI_STATE_SUSPEND) |
#define | MPI_STATE_IS_ADDED(s) ((s) > MPI_STATE_NONE) |
#define | MPI_STATE_IS_ACTIVE(s) ((s) == MPI_STATE_RUN || (s) == MPI_STATE_SUSPEND) |
#define | MPI_STATE_IS_INACTIVE(s) ((s) == MPI_STATE_NONE || (s) == MPI_STATE_STOP) |
Enumerations | |
enum | MPI_BAYER_E { MPI_BAYER_PHASE_G0, MPI_BAYER_PHASE_R, MPI_BAYER_PHASE_B, MPI_BAYER_PHASE_G1, MPI_BAYER_PHASE_NUM } |
Enumeration of Bayer phase. More... | |
enum | MPI_POS_E { MPI_POS_NONE, MPI_POS_UP, MPI_POS_DOWN, MPI_POS_LEFT, MPI_POS_RIGHT, MPI_POS_NUM } |
Enumeration of position. More... | |
enum | MPI_ROTATE_TYPE_E { MPI_ROTATE_0 = 0, MPI_ROTATE_90, MPI_ROTATE_180, MPI_ROTATE_270, MPI_ROTATE_TYPE_NUM } |
Enumeration of rotation type. More... | |
enum | MPI_MODE_E { MPI_MODE_ONLINE, MPI_MODE_OFFLINE, MPI_MODE_NUM } |
Enumeration of device/channel mode. More... | |
MPI common header.
#define MPI_BLOCKING_TIMEOUT_VALUE (-1) |
Definition of blocking timeout value.
#define MPI_STATE_IS_ACTIVE | ( | s | ) | ((s) == MPI_STATE_RUN || (s) == MPI_STATE_SUSPEND) |
To check whether state is active.
#define MPI_STATE_IS_ADDED | ( | s | ) | ((s) > MPI_STATE_NONE) |
To check whether state is added.
#define MPI_STATE_IS_INACTIVE | ( | s | ) | ((s) == MPI_STATE_NONE || (s) == MPI_STATE_STOP) |
To check whether state is inactive.
#define MPI_STATE_IS_RUN | ( | s | ) | ((s) == MPI_STATE_RUN) |
To check whether state is run.
#define MPI_STATE_IS_STOP | ( | s | ) | ((s) == MPI_STATE_STOP) |
To check whether state is stop.
#define MPI_STATE_IS_SUSPEND | ( | s | ) | ((s) == MPI_STATE_SUSPEND) |
To check whether state is suspend.
#define MPI_STATE_NONE 0x0000 |
Definition of none state.
#define MPI_STATE_RUN 0x0002 |
Definition of run state.
#define MPI_STATE_STOP 0x0001 |
Definition of stop state.
#define MPI_STATE_SUSPEND 0x0003 |
Definition of suspend state.
enum MPI_BAYER_E |
enum MPI_MODE_E |
enum MPI_POS_E |
enum MPI_ROTATE_TYPE_E |