#include <revolution/cx/CXStreamingUncompression.h>
void CXInitUncompContextLHFront( CXUncompContextLH *context, void* dest, s32 destSize );
| context | Pointer to the context structure to be used for streaming uncompression of data compressed in LH format. |
|---|---|
| dest | Destination buffer for uncompressed data. |
| destSize | Maximum amount of data to be uncompressed. |
None.
Initializes the context structure for streaming decompression of data compressed in LH format.
Use this interface for uncompressing only the number of bytes of data specified by destSize.
To uncompress all data, use the CXInitUncompContextLH function.
When the CXReadUncompLH 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.
CXGetUncompressedSize
CXUncompressLH
CXSecureUncompressLH
CXReadUncompLH
CXIsFinishedUncompLH
ntrompress
2009/01/28 Initial version.
CONFIDENTIAL