MPI error codes. More...
Macros | |
#define | MPI_ERR_ID (0xE) |
Constant for indicating that some value is an error code. | |
#define | MPI_DEF_ERR(module, level, errid) |
A macro that define error type consist of module, level and error id. More... | |
#define | MPI_ERR_PLAT_INVALID_PARAM MPI_DEF_ERR(PLAT, ERROR, INVALID_PARAM) |
#define | MPI_ERR_PLAT_NULL_POINTER MPI_DEF_ERR(PLAT, ERROR, NULL_POINTER) |
#define | MPI_ERR_PLAT_NOT_CONFIG MPI_DEF_ERR(PLAT, ERROR, NOT_CONFIG) |
#define | MPI_ERR_PLAT_NOT_EXIST MPI_DEF_ERR(PLAT, ERROR, NOT_EXIST) |
#define | MPI_ERR_PLAT_NOT_INIT MPI_DEF_ERR(PLAT, ERROR, NOT_INIT) |
#define | MPI_ERR_PLAT_NOT_PERM MPI_DEF_ERR(PLAT, ERROR, NOT_PERM) |
#define | MPI_ERR_DEV_INVALID_PATH MPI_DEF_ERR(DEV, ERROR, INVALID_PATH) |
#define | MPI_ERR_DEV_INVALID_DEV MPI_DEF_ERR(DEV, ERROR, INVALID_DEV) |
#define | MPI_ERR_DEV_INVALID_CHN MPI_DEF_ERR(DEV, ERROR, INVALID_CHN) |
#define | MPI_ERR_DEV_INVALID_WIN MPI_DEF_ERR(DEV, ERROR, INVALID_WIN) |
#define | MPI_ERR_DEV_INVALID_PARAM MPI_DEF_ERR(DEV, ERROR, INVALID_PARAM) |
#define | MPI_ERR_DEV_NULL_POINTER MPI_DEF_ERR(DEV, ERROR, NULL_POINTER) |
#define | MPI_ERR_DEV_NOT_CONFIG MPI_DEF_ERR(DEV, ERROR, NOT_CONFIG) |
#define | MPI_ERR_DEV_NOT_EXIST MPI_DEF_ERR(DEV, ERROR, NOT_EXIST) |
#define | MPI_ERR_DEV_CONFLICT MPI_DEF_ERR(DEV, ERROR, CONFLICT) |
#define | MPI_ERR_DEV_NOMEM MPI_DEF_ERR(DEV, ERROR, NOMEM) |
#define | MPI_ERR_DEV_NOT_INIT MPI_DEF_ERR(DEV, ERROR, NOT_INIT) |
#define | MPI_ERR_DEV_BAD_ADDR MPI_DEF_ERR(DEV, ERROR, BAD_ADDR) |
#define | MPI_ERR_DEV_BUSY MPI_DEF_ERR(DEV, ERROR, BUSY) |
#define | MPI_ERR_DEV_NOT_PERM MPI_DEF_ERR(DEV, ERROR, NOT_PERM) |
#define | MPI_ERR_ENC_INVALID_CHN MPI_DEF_ERR(ENC, ERROR, INVALID_CHN) |
#define | MPI_ERR_ENC_INVALID_PARAM MPI_DEF_ERR(ENC, ERROR, INVALID_PARAM) |
#define | MPI_ERR_ENC_NULL_POINTER MPI_DEF_ERR(ENC, ERROR, NULL_POINTER) |
#define | MPI_ERR_ENC_NOT_CONFIG MPI_DEF_ERR(ENC, ERROR, NOT_CONFIG) |
#define | MPI_ERR_ENC_NOT_EXIST MPI_DEF_ERR(ENC, ERROR, NOT_EXIST) |
#define | MPI_ERR_ENC_CONFLICT MPI_DEF_ERR(ENC, ERROR, CONFLICT) |
#define | MPI_ERR_ENC_NOMEM MPI_DEF_ERR(ENC, ERROR, NOMEM) |
#define | MPI_ERR_ENC_NOT_INIT MPI_DEF_ERR(ENC, ERROR, NOT_INIT) |
#define | MPI_ERR_ENC_BAD_ADDR MPI_DEF_ERR(ENC, ERROR, BAD_ADDR) |
#define | MPI_ERR_ENC_BUSY MPI_DEF_ERR(ENC, ERROR, BUSY) |
#define | MPI_ERR_ENC_NOT_PERM MPI_DEF_ERR(ENC, ERROR, NOT_PERM) |
Enumerations | |
enum | MPI_MOD_E { MPI_MOD_PLAT, MPI_MOD_DEV, MPI_MOD_ENC, MPI_MOD_NUM } |
Enumeration of MPI module. More... | |
enum | MPI_ERR_LEVEL_E { MPI_ERR_LEVEL_DEBUG = 0, MPI_ERR_LEVEL_INFO, MPI_ERR_LEVEL_WARNING, MPI_ERR_LEVEL_ERROR, MPI_ERR_LEVEL_FATAL, MPI_ERR_LEVEL_NUM } |
Enumeration of error level. More... | |
enum | MPI_ERR_CODE_E { MPI_ERR_NONE = 0, MPI_ERR_INVALID_PATH, MPI_ERR_INVALID_DEV, MPI_ERR_INVALID_CHN, MPI_ERR_INVALID_WIN, MPI_ERR_INVALID_PARAM, MPI_ERR_NULL_POINTER, MPI_ERR_NOT_CONFIG, MPI_ERR_NOT_EXIST, MPI_ERR_CONFLICT, MPI_ERR_NOMEM, MPI_ERR_NOT_INIT, MPI_ERR_BAD_ADDR, MPI_ERR_BUSY, MPI_ERR_NOT_PERM, MPI_ERR_NUM } |
Enumeration of error id. More... | |
MPI error codes.
#define MPI_DEF_ERR | ( | module, | |
level, | |||
errid | |||
) |
A macro that define error type consist of module, level and error id.
#define MPI_ERR_DEV_BAD_ADDR MPI_DEF_ERR(DEV, ERROR, BAD_ADDR) |
Bad address.
#define MPI_ERR_DEV_BUSY MPI_DEF_ERR(DEV, ERROR, BUSY) |
Disable before stopping system.
#define MPI_ERR_DEV_CONFLICT MPI_DEF_ERR(DEV, ERROR, CONFLICT) |
Enable same resource more than once.
#define MPI_ERR_DEV_INVALID_CHN MPI_DEF_ERR(DEV, ERROR, INVALID_CHN) |
Invalid video channel index.
#define MPI_ERR_DEV_INVALID_DEV MPI_DEF_ERR(DEV, ERROR, INVALID_DEV) |
Invalid video device index.
#define MPI_ERR_DEV_INVALID_PARAM MPI_DEF_ERR(DEV, ERROR, INVALID_PARAM) |
Invalid parameters.
#define MPI_ERR_DEV_INVALID_PATH MPI_DEF_ERR(DEV, ERROR, INVALID_PATH) |
Invalid input path index.
#define MPI_ERR_DEV_INVALID_WIN MPI_DEF_ERR(DEV, ERROR, INVALID_WIN) |
Invalid video window index.
#define MPI_ERR_DEV_NOMEM MPI_DEF_ERR(DEV, ERROR, NOMEM) |
No memory.
#define MPI_ERR_DEV_NOT_CONFIG MPI_DEF_ERR(DEV, ERROR, NOT_CONFIG) |
Enable before setting it.
#define MPI_ERR_DEV_NOT_EXIST MPI_DEF_ERR(DEV, ERROR, NOT_EXIST) |
Query before creating it.
#define MPI_ERR_DEV_NOT_INIT MPI_DEF_ERR(DEV, ERROR, NOT_INIT) |
Initialization failed.
#define MPI_ERR_DEV_NOT_PERM MPI_DEF_ERR(DEV, ERROR, NOT_PERM) |
Not permit operations.
#define MPI_ERR_DEV_NULL_POINTER MPI_DEF_ERR(DEV, ERROR, NULL_POINTER) |
NULL pointer.
#define MPI_ERR_ENC_BAD_ADDR MPI_DEF_ERR(ENC, ERROR, BAD_ADDR) |
Bad address.
#define MPI_ERR_ENC_BUSY MPI_DEF_ERR(ENC, ERROR, BUSY) |
Disable before stopping system.
#define MPI_ERR_ENC_CONFLICT MPI_DEF_ERR(ENC, ERROR, CONFLICT) |
Enable same resource more than once.
#define MPI_ERR_ENC_INVALID_CHN MPI_DEF_ERR(ENC, ERROR, INVALID_CHN) |
Invalid encoder channel index.
#define MPI_ERR_ENC_INVALID_PARAM MPI_DEF_ERR(ENC, ERROR, INVALID_PARAM) |
Invalid parameters.
#define MPI_ERR_ENC_NOMEM MPI_DEF_ERR(ENC, ERROR, NOMEM) |
No memory.
#define MPI_ERR_ENC_NOT_CONFIG MPI_DEF_ERR(ENC, ERROR, NOT_CONFIG) |
Enable before setting it.
#define MPI_ERR_ENC_NOT_EXIST MPI_DEF_ERR(ENC, ERROR, NOT_EXIST) |
Query before creating it.
#define MPI_ERR_ENC_NOT_INIT MPI_DEF_ERR(ENC, ERROR, NOT_INIT) |
Initialization failed.
#define MPI_ERR_ENC_NOT_PERM MPI_DEF_ERR(ENC, ERROR, NOT_PERM) |
Not permit operations.
#define MPI_ERR_ENC_NULL_POINTER MPI_DEF_ERR(ENC, ERROR, NULL_POINTER) |
NULL pointer.
#define MPI_ERR_PLAT_INVALID_PARAM MPI_DEF_ERR(PLAT, ERROR, INVALID_PARAM) |
Invalid parameters
#define MPI_ERR_PLAT_NOT_CONFIG MPI_DEF_ERR(PLAT, ERROR, NOT_CONFIG) |
Enable before setting it.
#define MPI_ERR_PLAT_NOT_EXIST MPI_DEF_ERR(PLAT, ERROR, NOT_EXIST) |
Query before setting it.
#define MPI_ERR_PLAT_NOT_INIT MPI_DEF_ERR(PLAT, ERROR, NOT_INIT) |
Initialization failed.
#define MPI_ERR_PLAT_NOT_PERM MPI_DEF_ERR(PLAT, ERROR, NOT_PERM) |
Not permit operation.
#define MPI_ERR_PLAT_NULL_POINTER MPI_DEF_ERR(PLAT, ERROR, NULL_POINTER) |
NULL pointer
enum MPI_ERR_CODE_E |
Enumeration of error id.
enum MPI_ERR_LEVEL_E |
enum MPI_MOD_E |