MI_InitUncompContextHuffman

Syntax

#include <nitro/mi/uncomp_stream.h>
void MI_InitUncompContextHuffman( MIUncompContextHuffman *context, u8* dest, const MICompressionHeader* header );

Arguments

context   Pointer to the context structure to be used for streaming uncompression of Huffman-compressed data.
dest Specifies the destination buffer for uncompressed data.
header Passes the previously obtained header of the compressed data and passes it as the argument.

Return Values

None.

Description

Initializes the context structure for streaming uncompression of Huffman-compressed data The 4-byte header portion of the compressed data must be loaded in advance. When the MI_ReadUncompHuffman() function is called using this context, the next set of data gets uncompressed in the region passed by the dest argument.

See Also

MI_UncompressHuffman*, MI_ReadUncompHuffman*, MIUncompContextHuffman, MICompressionHeader, MI_InitUncompContextLZ, MI_InitUncompContextRL

Revision History

2004/11/30 Initial version.


CONFIDENTIAL