CXUncompContextRL

Definitions

#include <revolution/cx/CXStreamingUncompression.h>

typedef struct
{
    u8* destp;          // 4B
    s32 destCount;      // 4B
    s32 forceDestCount; // 4B
    u16 length;         // 2B
    u8  flags;          // 1B
    u8  headerSize;     // 1B
                 // Total 16B
} CXUncompContextRL;

Description

This is the context structure for saving the state of data uncompression when run-length compressed data is being read from the Card and undergoing streaming uncompression. The context is initialized by the CXInitUncompContextRL function and used by the CXReadUncompRL function to save the uncompression state.

destp Pointer to the destination region where uncompressed data will be written.
destCount Remaining write size.
forceDestCount Uncompression destination size that is forcibly set.
length For storing the size of continuous write.
flags For storing compression flag data.
headerSize For storing the compressed header size while reading.

See Also

CXInitUncompContextRL, CXReadUncompRL, CXUncompContextLZ, CXUncompContextHuffman

Revision History

2006/09/03 Reflected changes to the structure definition.
2006/07/06 Initial version.


CONFIDENTIAL