Return to previous page Return to menu Go to next page

2. Reference

2.1 Data specifications

The following table shows the basic types used in this library.

Table 2.1 Basic types
 Type name 
 Description 
 Uint8 
 Unsigned 1-byte integer. 
 Sint8 
 Signed 1 byte integer. 
 Uint16 
 Unsigned 2-byte integer. 
 Sint16 
 Signed 2-byte integer. 
 Uint32 
 Unsigned 4-byte integer. 
 Sint32 
 Signed 4-byte integer. 
 Bool 
 Logical type. Takes the following values: 
FALSE false
TRUE true

The following table shows the constant macros defined in this library.

Table 2.2 Constant macros
 macro name 
 value 
 Description 
 CMP_DEC_OK 
 0 
 Expansion function return value. Successful completion. 
 CMP_DEC_STOP 
 1 
 Expansion function return value. Successful completion. Suspend decompression processing. 
 CMP_DEC_ERR 
 -1 
 Expansion function return value. Abnormal termination. Input data 
is abnormal.
 CMP_DEC_ERR_H_ALGO 
 -2 
 Return function return value. Abnormal termination. Unsupported AL 
 CMP_DEC_ERR_H_UNIT 
 -3 
 Expansion function return value. Abnormal termination. Unsupported processing unit. 


Return to previous page Return to menu Go to next page