#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 | Destination address for decompression. |
| CX_ERR_SUCCESS | Function completes successfully. |
| CX_ERR_UNSUPPORTED | Unsupported compression data type |
| CX_ERR_SRC_SHORTAGE | The source data size is too small |
| CX_ERR_SRC_REMAINDER | The source data size is too large |
| CX_ERR_ILLEGAL_TABLE | There is an error in the Huffman table |
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, ntrompress
2007/05/24 Initial version.