1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>SVC_UnpackBits</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">SVC_UnpackBits <IMG src="../image/NTR.gif" align="middle"><IMG src="../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/os/common/systemCall.h></CODE><BR> 20 <BR> 21 <CODE>void SVC_UnpackBits( const void* srcp, void* destp, MIUnpackBitsParam *paramp 22 );</CODE><br> 23 </dd> 24</dl> 25<h2>Arguments</h2> 26<TABLE border="1" width="100%"> 27 <TBODY> 28 <TR> 29 <TD width="13%"><EM><STRONG>srcp</STRONG></EM></TD> 30 <TD width="87%">Source address where compressed data is stored.</TD> 31 </TR> 32 <TR> 33 <TD width="13%"><EM><STRONG>destp</STRONG></EM></TD> 34 <TD width="87%">Destination address for decompression.</TD> 35 </TR> 36 <TR> 37 <TD><EM><STRONG>paramp</STRONG></EM></TD> 38 <TD><CODE>MIUnpackBitsParam</CODE> structure address.</TD> 39 </TR> 40 </TBODY> 41</TABLE> 42 43<h2>Return Values</h2> 44<p>None.</p> 45 46<H2>Description</H2> 47<P>This function decompresses data that was packed as 0 fixed bits. Please match the destination address <em><strong><code>dest</code></strong></em> to the 4-byte boundary.</P> 48<P><B><I>paramp</I></B> is the <CODE>MIUnpackBitsParam</CODE> structure data address for MI. The <CODE>MIUnpackBitsParam</CODE> structure comprises the following:<BR> �Source data byte count (u16) <BR> �Bit count for the "1" source data (u16:8) <BR> �Bit count for the "1" destination data (u16:8) <BR> �The offset to be added to the source data (u32:31) <BR> �Flag to indicate whether to add an offset to the "0" data. (u32:1)</P> 49<h2>See Also</h2> 50<p><code><a href="../mi/uncompress/MI_UnpackBits.html">MI_UnpackBits</a>, <a href="SVC_UncompressLZ.html">SVC_UncompressLZ*</a>, <a href="SVC_UncompressHuffmanFromDevice.html">SVC_UncompressHuffmanFromDevice</a>, <a href="SVC_UncompressRL.html">SVC_UncompressRL*</a></code></p> 51 52<H2>Revision History</H2> 53<P>2004/07/22 Initial version.</P> 54<hr><p>CONFIDENTIAL</p></body> 55</html> 56