Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > contrib > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 2617

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::PNGCodec class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>Ogre::PNGCodec  Class Reference</h1><a class="el" href="classOgre_1_1ImageCodec.html">ImageCodec</a> specialized in Portable Network Graphics images. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgrePNGCodec_8h-source.html">OgrePNGCodec.h</a>&gt;</code>
<p>
Inheritance diagram for Ogre::PNGCodec:<p><center><img src="classOgre_1_1PNGCodec__inherit__graph.png" border="0" usemap="#Ogre_1_1PNGCodec__inherit__map" alt="Inheritance graph"></center>
<map name="Ogre_1_1PNGCodec__inherit__map">
<area href="classOgre_1_1ILImageCodec.html" shape="rect" coords="7,174,137,155" alt="">
<area href="classOgre_1_1ImageCodec.html" shape="rect" coords="12,105,132,86" alt="">
<area href="classOgre_1_1Codec.html" shape="rect" coords="29,35,115,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::PNGCodec:<p><center><img src="classOgre_1_1PNGCodec__coll__graph.png" border="0" usemap="#Ogre_1_1PNGCodec__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1PNGCodec__coll__map">
<area href="classOgre_1_1ILImageCodec.html" shape="rect" coords="7,174,137,155" alt="">
<area href="classOgre_1_1ImageCodec.html" shape="rect" coords="12,105,132,86" alt="">
<area href="classOgre_1_1Codec.html" shape="rect" coords="29,35,115,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1PNGCodec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1PNGCodeca0">code</a> (const <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;input, <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> *output,...) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Codes the data in the input chunk and saves the result in the output chunk.</em> <a href="#Ogre_1_1PNGCodeca0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Codec_1_1CodecData.html">Codec::CodecData</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1PNGCodeca1">PNGCodec::decode</a> (const <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;input, <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> *output,...) const</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1String.html">String</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1PNGCodeca2">getType</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the type of the codec as a <a class="el" href="classOgre_1_1String.html">String</a>.</em> <a href="#Ogre_1_1PNGCodeca2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>unsigned int&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1PNGCodeca3">getILType</a> (void) const</td></tr>
<tr><td nowrap align=right valign=top>virtual CodecData *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1PNGCodeca4">decode</a> (const <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;input, <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> *output,...) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Codes the data from the input chunk into the output chunk.</em> <a href="#Ogre_1_1PNGCodeca4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1TGACodeca4">codeToFile</a> (const <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;input, const <a class="el" href="classOgre_1_1String.html">String</a> &amp;outFileName, CodecData *pData) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Encodes data to a file.</em> <a href="#Ogre_1_1TGACodeca4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1TGACodeca5">initialiseIL</a> (void)</td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1TGACodecd0">registerCodec</a> (<a class="el" href="classOgre_1_1Codec.html">Codec</a> *pCodec)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Registers a new codec in the database.</em> <a href="#Ogre_1_1TGACodecd0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Codec.html">Codec</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1TGACodecd1">getCodec</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;extension)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the codec registered for the passed in file extension.</em> <a href="#Ogre_1_1TGACodecd1"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="classOgre_1_1String.html">String</a>,<br>
 <a class="el" href="classOgre_1_1Codec.html">Codec</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1TGACodect0">CodecList</a></td></tr>
<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Codec.html#Ogre_1_1TGACodect0">CodecList</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1PNGCodec.html#Ogre_1_1TGACodecq0">ms_mapCodecs</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>A map that contains all the registered codecs.</em> <a href="#Ogre_1_1TGACodecq0"></a><em></em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classOgre_1_1ImageCodec.html">ImageCodec</a> specialized in Portable Network Graphics images.
<p>

<p>
Definition at line <a class="el" href="OgrePNGCodec_8h-source.html#l00034">34</a> of file <a class="el" href="OgrePNGCodec_8h-source.html">OgrePNGCodec.h</a>.<hr><h2>Member Typedef Documentation</h2>
<a name="Ogre_1_1TGACodect0" doxytag="Ogre::PNGCodec::CodecList"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::map&lt; <a class="el" href="classOgre_1_1String.html">String</a>, <a class="el" href="classOgre_1_1Codec.html">Codec</a>* &gt; Ogre::Codec::CodecList<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreCodec_8h-source.html#l00044">44</a> of file <a class="el" href="OgreCodec_8h-source.html">OgreCodec.h</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1PNGCodeca0" doxytag="Ogre::PNGCodec::code"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::PNGCodec::code </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>input</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>output</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>...&nbsp;</td>
          <td class="mdname" nowrap>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Codes the data in the input chunk and saves the result in the output chunk.
<p>
<dl compact><dt><b>
Note: </b><dd>
 Has a variable number of arguments, which depend on the codec type. </dl>
<p>
Implements <a class="el" href="classOgre_1_1ILImageCodec.html#Ogre_1_1ILImageCodeca2">Ogre::ILImageCodec</a>.
<p>
Definition at line <a class="el" href="OgrePNGCodec_8cpp-source.html#l00037">37</a> of file <a class="el" href="OgrePNGCodec_8cpp-source.html">OgrePNGCodec.cpp</a>.
<p>
References <a class="el" href="OgreException_8h-source.html#l00033">Except</a>, <a class="el" href="OgreException_8h-source.html#l00039">OgreGuard</a>, and <a class="el" href="OgreException_8h-source.html#l00044">OgreUnguard</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1TGACodeca4" doxytag="Ogre::PNGCodec::codeToFile"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ILImageCodec::codeToFile </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>input</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>outFileName</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>CodecData *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>pData</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Encodes data to a file.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>input</em>&nbsp;</td><td>
Chunk containing data to write </td></tr>
<tr><td valign=top><em>outFileName</em>&nbsp;</td><td>
Filename to output to (extension implies type) </td></tr>
<tr><td valign=top><em>pData</em>&nbsp;</td><td>
ImageData pointer </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classOgre_1_1ImageCodec.html#Ogre_1_1ImageCodeca2">Ogre::ImageCodec</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1PNGCodeca4" doxytag="Ogre::PNGCodec::decode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Codec_1_1CodecData.html">Codec::CodecData</a> * Ogre::ILImageCodec::decode </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>input</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>output</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>...&nbsp;</td>
          <td class="mdname" nowrap>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Codes the data from the input chunk into the output chunk.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 The returned CodecData pointer is a pointer to a class that holds information about the decoded buffer. For an image, this would be  the size, the bitdepht, etc. </dl><dl compact><dt><b>
Note: </b><dd>
 Has a variable number of arguments, which depend on the codec type. </dl>
<p>
Implements <a class="el" href="classOgre_1_1ImageCodec.html#Ogre_1_1ImageCodeca1">Ogre::ImageCodec</a>.
<p>
Reimplemented in <a class="el" href="classOgre_1_1BMPCodec.html#Ogre_1_1BMPCodeca1">Ogre::BMPCodec</a>, <a class="el" href="classOgre_1_1DDSCodec.html#Ogre_1_1DDSCodeca1">Ogre::DDSCodec</a>, <a class="el" href="classOgre_1_1JPEGCodec.html#Ogre_1_1JPGCodeca2">Ogre::JPEGCodec</a>, and <a class="el" href="classOgre_1_1TGACodec.html#Ogre_1_1TGACodeca1">Ogre::TGACodec</a>.
<p>
Definition at line <a class="el" href="OgreILImageCodec_8cpp-source.html#l00064">64</a> of file <a class="el" href="OgreILImageCodec_8cpp-source.html">OgreILImageCodec.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8cpp-source.html#l00046">Ogre::DataChunk::allocate</a>(), <a class="el" href="OgreException_8h-source.html#l00033">Except</a>, <a class="el" href="classOgre_1_1ILImageCodec.html#Ogre_1_1ILImageCodeca6">Ogre::ILImageCodec::getILType</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00083">Ogre::DataChunk::getPtr</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00077">Ogre::DataChunk::getSize</a>(), <a class="el" href="OgreCommon_8cpp-source.html#l00033">Ogre::ilFormat2OgreFormat</a>(), <a class="el" href="OgreException_8h-source.html#l00039">OgreGuard</a>, <a class="el" href="OgreException_8h-source.html#l00045">OgreUnguardRet</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00116">Ogre::uint</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1TGACodecd1" doxytag="Ogre::PNGCodec::getCodec"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Codec.html">Codec</a> * Ogre::Codec::getCodec </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>extension</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [static, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the codec registered for the passed in file extension.
<p>

<p>
Definition at line <a class="el" href="OgreCodec_8cpp-source.html#l00035">35</a> of file <a class="el" href="OgreCodec_8cpp-source.html">OgreCodec.cpp</a>.
<p>
References <a class="el" href="OgreException_8h-source.html#l00033">Except</a>, <a class="el" href="OgreCodec_8cpp-source.html#l00032">Ogre::Codec::ms_mapCodecs</a>, and <a class="el" href="OgreString_8cpp-source.html#l00101">Ogre::String::toLowerCase</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1PNGCodeca3" doxytag="Ogre::PNGCodec::getILType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned int Ogre::PNGCodec::getILType </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Implements <a class="el" href="classOgre_1_1ILImageCodec.html#Ogre_1_1ILImageCodeca6">Ogre::ILImageCodec</a>.
<p>
Definition at line <a class="el" href="OgrePNGCodec_8cpp-source.html#l00055">55</a> of file <a class="el" href="OgrePNGCodec_8cpp-source.html">OgrePNGCodec.cpp</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1PNGCodeca2" doxytag="Ogre::PNGCodec::getType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1String.html">String</a> Ogre::PNGCodec::getType </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the type of the codec as a <a class="el" href="classOgre_1_1String.html">String</a>.
<p>

<p>
Implements <a class="el" href="classOgre_1_1ILImageCodec.html#Ogre_1_1ILImageCodeca5">Ogre::ILImageCodec</a>.
<p>
Definition at line <a class="el" href="OgrePNGCodec_8h-source.html#l00041">41</a> of file <a class="el" href="OgrePNGCodec_8h-source.html">OgrePNGCodec.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1TGACodeca5" doxytag="Ogre::PNGCodec::initialiseIL"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::ILImageCodec::initialiseIL </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreILImageCodec_8cpp-source.html#l00114">114</a> of file <a class="el" href="OgreILImageCodec_8cpp-source.html">OgreILImageCodec.cpp</a>.
<p>
References <a class="el" href="OgreILImageCodec_8cpp-source.html#l00037">Ogre::ILImageCodec::_is_initialised</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1PNGCodeca1" doxytag="Ogre::PNGCodec::PNGCodec::decode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Codec_1_1CodecData.html">Codec::CodecData</a>* Ogre::PNGCodec::PNGCodec::decode </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>input</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>output</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>...&nbsp;</td>
          <td class="mdname" nowrap>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="Ogre_1_1TGACodecd0" doxytag="Ogre::PNGCodec::registerCodec"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Codec::registerCodec </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Codec.html">Codec</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>pCodec</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [static, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Registers a new codec in the database.
<p>

<p>
Definition at line <a class="el" href="OgreCodec_8h-source.html#l00063">63</a> of file <a class="el" href="OgreCodec_8h-source.html">OgreCodec.h</a>.
<p>
References <a class="el" href="classOgre_1_1Codec.html#Ogre_1_1Codeca3">Ogre::Codec::getType</a>().    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1TGACodecq0" doxytag="Ogre::PNGCodec::ms_mapCodecs"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::map&lt; <a class="el" href="classOgre_1_1String.html">String</a>, <a class="el" href="classOgre_1_1Codec.html">Codec</a> * &gt; Ogre::Codec::ms_mapCodecs<code> [static, protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A map that contains all the registered codecs.
<p>

<p>
Definition at line <a class="el" href="OgreCodec_8cpp-source.html#l00032">32</a> of file <a class="el" href="OgreCodec_8cpp-source.html">OgreCodec.cpp</a>.
<p>
Referenced by <a class="el" href="OgreCodec_8cpp-source.html#l00035">Ogre::Codec::getCodec</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="OgrePNGCodec_8h-source.html">OgrePNGCodec.h</a><li><a class="el" href="OgrePNGCodec_8cpp-source.html">OgrePNGCodec.cpp</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:19:10 2004
</p>
</body>
</html>