CXSecureUnfilterDiff

C Specification

#include <revolution/cx.h>

s32 CXSecureUnfilterDiff( register const void *srcp, u32 srcSize, register void *destp );

Arguments

srcp The 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.

Return Values

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

Description

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.

See Also

CXSecureUncompressHuffman, CXSecureUncompressRL, CXSecureUncompressLZ

Revision History

2007/05/24 Initial version.