#include <revolution/cx.h>
typedef struct {
u8 compType;
u8 compParam;
u8 padding_[2];
u32 destSize;
} CXCompressionHeader;
This is the compressed data's header structure. It can be obtained from the first 8 bytes of the compressed data, using the CXGetCompressionHeader function.
| compType | The compression type. For details about types, see CXGetCompressionType. |
|---|---|
| compParam | Stores the compression parameters for the given compression format. |
| destSize | Data size after decompression. This is the same value as obtained by CXGetUncompressedSize. |
CXGetCompressionType, CXGetUncompressedSize
2006/09/03 Changed the structure definition. Corrected error in Description.
2006/07/06 Initial version.
CONFIDENTIAL