MIUncompContextRL

Definition

#include <nitro/mi/uncomp_stream.h>
typedef struct { u8* destp; // 4B s32 destCount; // 4B u16 destTmp ; // 2B u8 destTmpCnt; // 1B u8 flags ; // 1B u16 length ; // 2B u8 _padding[2] ; // 2B // Total 16B } MIUncompContextRL;

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 MI_InitUncompContextRL function and used by the MI_ReadUncompRL function to save the uncompressed state.

destp Pointer to region where uncompressed data will be written
destCount Remaining write size
destTmp For storing data while writing
destTmpCnt For storing data size while writing
flags For storing compression flag data
length For storing the size of the continuous write

See Also

MI_InitUncompContextRL, MI_ReadUncompRL*, MIUncompContextLZ, MIUncompContextHuffman

Revision History

2004/11/30 Initial version.


CONFIDENTIAL