#include <revolution/cx.h> s32 CXSecureUncompressRL( const void *srcp, u32 srcSize, void *destp );
| srcp | Source address where run length compressed data is stored |
|---|---|
| srcSize | Source data size |
| destp | Destination address where 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_DEST_OVERRUN | The decompression destination buffer will be exceeded (buffer overrun). |
This function decompresses run length compressed data and writes the data to the specified region of memory. Align the source address to a 4-byte boundary.
To perform streaming expansion of data, use the CXReadUncompRL function.
CXGetUncompressedSize, CXUncompressRL, CXInitUncompContextRL, CXReadUncompRL, CXIsFinishedUncompRL, CXCompressRL, ntcompress
2007/09/03 Corrected error in the See Also section.
2007/05/24 Initial version.
CONFIDENTIAL