#include <revolution/cx.h> s32 CXSecureUncompressHuffman( const void *srcp, u32 srcSize, void *destp );
| srcp | Source address of Huffman compression data |
|---|---|
| srcSize | Source data size. |
| destp | The destination address where the data is expanded. |
| CX_ERR_SUCCESS | Successful end. |
|---|---|
| CX_ERR_UNSUPPORTED | Unsupported compression data type. |
| CX_ERR_SRC_SHORTAGE | Source data size is too small. |
| CX_ERR_SRC_REMAINDER | Source data size is too large. |
| CX_ERR_ILLEGAL_TABLE | The Huffman table contains mistakes. |
Decompresses Huffman compression data and writes it in 32-bit units to the specified memory. The source address must be aligned to a 4-byte boundary.
To perform streaming uncompression of data, use the CXReadUncompHuffman function.
CXGetUncompressedSize, CXUncompressHuffman, CXInitUncompContextHuffman, CXReadUncompHuffman, CXIsFinishedUncompHuffman, CXCompressHuffman, ntcompress
2007/09/03 Corrected error in the See Also section.
2007/05/24 Initial version.
CONFIDENTIAL