MI_SecureUnfilterDiff

Syntax

#include <nitro/mi.h>

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

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.
dstSize Destination size for decompression.

Return Values

MI_ERR_SUCCESS Function completed successfully.
MI_ERR_UNSUPPORTED Unsupported compression data type.
MI_ERR_SRC_SHORTAGE Source data size is too small.
MI_ERR_SRC_REMAINDER 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

MI_SecureUncompressHuffman, MI_SecureUncompressRL, MI_SecureUncompressLZ

Revision History

2008/05/22 Initial version.


CONFIDENTIAL