2020-06-23 15:53:23 +08:00
|
|
|
|
#ifndef _UNPACK_H_
|
2020-06-23 15:27:59 +08:00
|
|
|
|
#define _UNPACK_H_
|
|
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
|
{
|
|
|
|
|
unsigned char id[2];
|
|
|
|
|
unsigned char compressFlag;
|
|
|
|
|
unsigned int width;
|
|
|
|
|
unsigned int height;
|
|
|
|
|
unsigned int size;
|
|
|
|
|
} RD_HEADER;
|
|
|
|
|
|
|
|
|
|
unsigned char *encoder( unsigned char *, unsigned char **,
|
|
|
|
|
unsigned int, unsigned int, unsigned int *, int );
|
|
|
|
|
unsigned char *decoder( unsigned char *, unsigned char **,
|
|
|
|
|
unsigned int *, unsigned int *, unsigned int * );
|
|
|
|
|
#endif
|