| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
- <title>DevIL: /home/dwoods/DevIL/src-IL/include/il_dcx.h Source File</title>
- <link href="doxygen.css" rel="stylesheet" type="text/css">
- <link href="tabs.css" rel="stylesheet" type="text/css">
- </head><body>
- <!-- Generated by Doxygen 1.5.6 -->
- <div class="navigation" id="top">
- <div class="tabs">
- <ul>
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="annotated.html"><span>Data Structures</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- </ul>
- </div>
- <h1>/home/dwoods/DevIL/src-IL/include/il_dcx.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
- <a name="l00002"></a>00002 <span class="comment">//</span>
- <a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
- <a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
- <a name="l00005"></a>00005 <span class="comment">// Last modified: 02/26/2009</span>
- <a name="l00006"></a>00006 <span class="comment">//</span>
- <a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_dcx.h</span>
- <a name="l00008"></a>00008 <span class="comment">//</span>
- <a name="l00009"></a>00009 <span class="comment">// Description: Reads from a .dcx file.</span>
- <a name="l00010"></a>00010 <span class="comment">//</span>
- <a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
- <a name="l00012"></a>00012
- <a name="l00013"></a>00013
- <a name="l00014"></a>00014 <span class="preprocessor">#ifndef DCX_H</span>
- <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define DCX_H</span>
- <a name="l00016"></a>00016 <span class="preprocessor"></span>
- <a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
- <a name="l00018"></a>00018
- <a name="l00019"></a>00019
- <a name="l00020"></a>00020 <span class="preprocessor">#ifdef _WIN32</span>
- <a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(push, packed_struct, 1)</span>
- <a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
- <a name="l00023"></a>00023 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>DCXHEAD
- <a name="l00024"></a>00024 {
- <a name="l00025"></a>00025 ILubyte Manufacturer;
- <a name="l00026"></a>00026 ILubyte Version;
- <a name="l00027"></a>00027 ILubyte Encoding;
- <a name="l00028"></a>00028 ILubyte Bpp;
- <a name="l00029"></a>00029 ILushort Xmin, Ymin, Xmax, Ymax;
- <a name="l00030"></a>00030 ILushort HDpi;
- <a name="l00031"></a>00031 ILushort VDpi;
- <a name="l00032"></a>00032 ILubyte ColMap[48];
- <a name="l00033"></a>00033 ILubyte Reserved;
- <a name="l00034"></a>00034 ILubyte NumPlanes;
- <a name="l00035"></a>00035 ILushort Bps;
- <a name="l00036"></a>00036 ILushort PaletteInfo;
- <a name="l00037"></a>00037 ILushort HScreenSize;
- <a name="l00038"></a>00038 ILushort VScreenSize;
- <a name="l00039"></a>00039 ILubyte Filler[54];
- <a name="l00040"></a>00040 } IL_PACKSTRUCT DCXHEAD;
- <a name="l00041"></a>00041 <span class="preprocessor">#ifdef _WIN32</span>
- <a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(pop, packed_struct)</span>
- <a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
- <a name="l00044"></a>00044 <span class="preprocessor"></span>
- <a name="l00045"></a>00045 <span class="comment">// For checking and reading</span>
- <a name="l00046"></a>00046 ILboolean iIsValidDcx(<span class="keywordtype">void</span>);
- <a name="l00047"></a>00047 ILboolean iCheckDcx(DCXHEAD *Header);
- <a name="l00048"></a>00048 ILboolean iLoadDcxInternal(<span class="keywordtype">void</span>);
- <a name="l00049"></a>00049 <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* iUncompressDcx(DCXHEAD *Header);
- <a name="l00050"></a>00050 <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* iUncompressDcxSmall(DCXHEAD *Header);
- <a name="l00051"></a>00051
- <a name="l00052"></a>00052 <span class="preprocessor">#endif//PCX_H</span>
- </pre></div></div>
- <hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
- <a href="http://www.doxygen.org/index.html">
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
- </body>
- </html>
|