MloResults.h File Reference

Results and Error codes. More...

Go to the source code of this file.

Defines

#define MLO_SUCCESS   0
 Result code indicating that a call was successful.
#define MLO_FAILURE   (-1)
 Error: an unspecififed error has occurred.
#define MLO_FAILED(result)   ((result) != MLO_SUCCESS)
#define MLO_SUCCEEDED(result)   ((result) == MLO_SUCCESS)
#define MLO_ERROR_BASE_GENERIC   (-20000)
#define MLO_ERROR_INVALID_PARAMETERS   (MLO_ERROR_BASE_GENERIC-0)
#define MLO_ERROR_OUT_OF_MEMORY   (MLO_ERROR_BASE_GENERIC-1)
#define MLO_ERROR_OUT_OF_RANGE   (MLO_ERROR_BASE_GENERIC-2)
#define MLO_ERROR_INVALID_DATA   (MLO_ERROR_BASE_GENERIC-3)
#define MLO_ERROR_BASE_DECODER   (-20100)
#define MLO_ERROR_BASE_BITSTREAM   (-20200)
#define MLO_ERROR_BASE_ICS_INFO   (-20300)
#define MLO_ERROR_BASE_INDIV_CHN_POOL   (-20400)
#define MLO_ERROR_BASE_INDIV_CHN_STREAM   (-20500)
#define MLO_ERROR_BASE_HUFFMAN   (-20600)
#define MLO_ERROR_BASE_ELEMENT_FIL   (-20700)
#define MLO_ERROR_BASE_SCALE_FACTOR   (-20800)
#define MLO_ERROR_BASE_SYNTACTIC_ELEMENTS   (-20900)
#define MLO_CHECK_ARGS(_x)   if (!(_x)) return MLO_ERROR_INVALID_PARAMETERS
#define MLO_CHECK_DATA(_x)   if (!(_x)) return MLO_ERROR_INVALID_DATA


Detailed Description

Results and Error codes.


Define Documentation

#define MLO_FAILURE   (-1)

Error: an unspecififed error has occurred.