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 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>CXCompressionHeader</title>
9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">CXCompressionHeader</h1>
15<h2>Definitions</h2>
16
17<dl>
18  <dd>
19<PRE><CODE>#include &lt;revolution/cx.h&gt;</CODE><BR>
20typedef struct {
21u32 compParam :4;
22u32 compType  :4;
23u32 destSize  :24;
24
25} CXCompressionHeader;
26</PRE>
27  </dd>
28</dl>
29<h2>Description</h2>
30<P>This is the compressed data's header structure. It can be obtained from the first 4 bytes of the compressed data using the <A href="CXGetCompressionHeader.html">CXGetCompressionHeader</A> function.<BR> <BR>
31</P>
32<TABLE border="1" width="100%">
33  <TBODY>
34    <TR>
35<TD width="13%"><EM><STRONG>compParam</STRONG></EM></TD>
36<TD width="87%">Stores the compression parameters for the given compression format.</TD>
37    </TR>
38    <TR>
39<TD><B><I>compType</I></B></TD>
40<TD>The compression type.<br />For details about types, see <A href="CXGetCompressionType.html">CXGetCompressionType.html</A>.</TD>
41    </TR>
42    <TR>
43<TD><EM><STRONG>destSize</STRONG></EM></TD>
44<TD>The data size after uncompression. This is the same value obtained by <A href="CXGetUncompressedSize.html"> CXGetUncompressedSize</A>.</TD>
45    </TR>
46  </TBODY>
47</TABLE>
48<h2>See Also</h2>
49<p><A href="CXGetCompressionType.html">CXGetCompressionType</A>, <A href="CXGetUncompressedSize.html">CXGetUncompressedSize</A><CODE><br></CODE></p>
50
51<H2>Revision History</H2>
52<P>07/06/2006 Initial version.</P>
53<hr>
54<P>CONFIDENTIAL</p>
55</BODY>
56</HTML>
57