#include <revolution/cx.h> s32 CXSecureUnfilterDiff( register const void *srcp, u32 srcSize, register void *destp );
| srcp | Source address where difference-filtered data is stored. |
|---|---|
| srcSize | Source data size. |
| destp | The destination address where the data is expanded. Can be the same region as the source address. |
| 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. |
This function expands the data to which the difference filter was applied and writes it to the specified memory region. The source address must be aligned to a 4-byte boundary. The pointers to the source and destination addresses may point to the same region.
CXSecureUncompressHuffman, CXSecureUncompressRL, CXSecureUncompressLZ
2007/05/24 Initial version.
CONFIDENTIAL