MI_UncompressRL*

C Specification

#include <nitro/mi.h>

void MI_UncompressRL8( const void* srcp, void* destp );
void MI_UncompressRL16( const void* srcp, void* destp );

Arguments

srcp The source address where run length compressed data is stored.
destp Destination address for decompression.

Return Values

None.

Description

This function decompresses run length compressed data and writes the data to the specified region of memory. The source address must be aligned to a 4-byte boundary.

MI_UncompressRL8 writes in 8-bit units. You cannot decompress directly to VRAM().
MI_UncompressRL16 writes in 16-bit units. Although you can expand directly in VRAM, this function is slower than MI_UncompressRL8.

Internal Operation

Processing only takes place on the CPU, without the use of a system call or DMA.

See Also

MI_UncompressLZ*, MI_UncompressHuffman, MI_UnfilterDiff*,SVC_UncompressRL*, MI_ReadUncompRL, MI_CompressRL

Revision History

03/02/2005 Deleted recommendation to align data size to a multiple of 4 bytes.
05/28/2004 Fixed the Internal Operation description.
01/30/2004 Initial version.