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 16<h2>Definition</h2> 17<DL><DD><PRE class="construction"> 18#include <revolution/cx.h> 19 20typedef struct { 21 u8 compType; 22 u8 compParam; 23 u8 padding_[2]; 24 u32 destSize; 25} CXCompressionHeader; 26</PRE></dd></dl> 27 28<h2>Description</h2> 29<P>This is the compressed data's header structure. It can be obtained from the first 8 bytes of the compressed data, using the <A href="CXGetCompressionHeader.html"><CODE>CXGetCompressionHeader</CODE></A> function.<BR> <BR> 30</P> 31<TABLE class="arguments" border="1"> 32 <TBODY> 33 <TR> 34<TH>compType</TH> 35<TD>The compression type. For details about types, see <A href="CXGetCompressionType.html"><CODE>CXGetCompressionType</CODE></A>.</TD> 36 </TR> 37 <TR> 38<TH>compParam</TH> 39<TD>Stores the compression parameters for the given compression format.</TD> 40 </TR> 41 <TR> 42<TH>destSize</TH> 43<TD>Data size after decompression. This is the same value as obtained by <A href="CXGetUncompressedSize.html"> CXGetUncompressedSize</CODE></A>.</TD> 44 </TR> 45 </TBODY> 46</TABLE> 47 48<h2>See Also</h2> 49<P class="reference"> 50<A href="CXGetCompressionType.html">CXGetCompressionType</A>, 51<A href="CXGetUncompressedSize.html">CXGetUncompressedSize</A> 52</P> 53 54<H2>Revision History</H2> 55<P> 562006/09/03 Changed the structure definition. Corrected error in <B>Description</B>.<BR>2006/07/06 Initial version.<BR> 57</P> 58 59<hr><p>CONFIDENTIAL</p></body> 60</html> 61