#include <nitro/os/common/systemCall.h>
s32 SVC_UncompressHuffmanFromDevice( const void* srcp,
void* destp, u8* tableBufp, const MIReadStreamCallbacks *callbackes );| srcp | Source address of Huffman Compression data |
| destp | Destination address for decompression. |
| tableBufp | Tree table storage buffer (maximum of 512 bytes). When you want to hand off a parameter to the initStream function of a MIReadStreamCallbacks socket, you can do it through this buffer. Note, however, that the initStream function call trace will be written over by the tree table. |
| callbacks | Address of the MIReadStreamCallbacks socket. |
A value that is more than 0 denotes the decompressed size. A value that is less than 0 denotes an error.
Decompresses Huffman compression data and writes it in 32-bit units to the specified memory. Match the source address src to the 4-byte boundary. When the size of the compressed data is not a multiple of 4, adjust by paring it back using zeros. Compressed data on devices that are not memory mapped can be decompressed directly without using a temporary buffer.
MI_UncompressHuffman, SVC_UncompressLZ*, SVC_UncompressRL*
07/22/2004 Initial Version
CONFIDENTIAL