CXInitUncompContextLRCFront

Syntax

#include <revolution/cx/CXStreamingUncompression.h>
void CXInitUncompContextLRCFront( CXUncompContextLRC *context, void* dest, s32 destSize );

Arguments

context Pointer to the context structure to be used for streaming expansion of LRC-compressed data.
dest Destination buffer for uncompressed data.
destSize Maximum amount of data to be uncompressed.

Return Values

None.

Description

Initializes the context structure for streaming decompression of data compressed in LRC format.

Use this interface for uncompressing only the number of bytes of data specified by destSize.
To uncompress all data, use the CXInitUncompContextLRC function.

When the CXReadUncompLRC function is executed using this context, data is uncompressed sequentially in the region passed in the dest argument.

If this context is going to be reused, it needs to be reinitialized after the decompression of each file is completed.

See Also

CXGetUncompressedSize
CXUncompressLRC
CXSecureUncompressLRC
CXReadUncompLRC
CXIsFinishedUncompLRC
ntrompress

Revision History

2009/01/28 Initial version.


CONFIDENTIAL