#include <revolution/cx.h>s32 CXSecureUncompressLRC( const void* srcp, u32 srcSize, void* dest, void* work );| srcp | Source address where data compressed in LRC format is stored. |
|---|---|
| srcSize | Source data size. |
| destp | Destination address where the data is expanded. |
| work | Work buffer required for data decompression. The size given by CX_UNCOMPRESS_LRC_WORK_SIZE is required. |
| 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 | Overrun in the decompression buffer. |
Decompresses LRC-format-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 CXReadUncompLRC function.
CXGetUncompressedSize
CXUncompressLRC
CXInitUncompContextLRC
CXReadUncompLRC
CXIsFinishedUncompLRC
ntrompress
2009/01/28 Added a description of parameters.
2007/11/01 Initial version.
CONFIDENTIAL