N64FlashcartMenu/png__decoder_8h_source.html
2025-01-16 21:50:40 +00:00

131 lines
14 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>N64FlashcartMenu: png_decoder.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">N64FlashcartMenu
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_1a56cc8cdc1689899910be5fa4716ee4.html">menu</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">png_decoder.h</div></div>
</div><!--header-->
<div class="contents">
<a href="png__decoder_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#ifndef PNG_DECODER_H__</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#define PNG_DECODER_H__</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &lt;surface.h&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="foldopen" id="foldopen00017" data-start="{" data-end="};">
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4"> 17</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4a4dd699113fbe010c8db17e53d985ee36"> 18</a></span> <a class="code hl_enumvalue" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4a4dd699113fbe010c8db17e53d985ee36">PNG_OK</a>, </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4ab7dfe97b20a5d315ec4e50b34213b708"> 19</a></span> <a class="code hl_enumvalue" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4ab7dfe97b20a5d315ec4e50b34213b708">PNG_ERR_INT</a>, </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4a78dfb25c1a327500e83544d2b60d80ff"> 20</a></span> <a class="code hl_enumvalue" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4a78dfb25c1a327500e83544d2b60d80ff">PNG_ERR_BUSY</a>, </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4ad5fedd800328fc1e25145b1f3a08b4a9"> 21</a></span> <a class="code hl_enumvalue" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4ad5fedd800328fc1e25145b1f3a08b4a9">PNG_ERR_OUT_OF_MEM</a>, </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4aa42dd20b6f2645d36a992e02f791f2d6"> 22</a></span> <a class="code hl_enumvalue" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4aa42dd20b6f2645d36a992e02f791f2d6">PNG_ERR_NO_FILE</a>, </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4a096ebce23ce7b7e81e5bae7d218c36b1"> 23</a></span> <a class="code hl_enumvalue" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4a096ebce23ce7b7e81e5bae7d218c36b1">PNG_ERR_BAD_FILE</a>, </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span>} <a class="code hl_enumeration" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4">png_err_t</a>;</div>
</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="png__decoder_8h.html#a85923de55a2f9fb330741fee267bb57b"> 35</a></span><span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code hl_typedef" href="png__decoder_8h.html#a85923de55a2f9fb330741fee267bb57b">png_callback_t</a> (<a class="code hl_enumeration" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4">png_err_t</a> err, surface_t *decoded_image, <span class="keywordtype">void</span> *callback_data);</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><a class="code hl_enumeration" href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4">png_err_t</a> <a class="code hl_function" href="png__decoder_8h.html#a91b64bacdbc4945af5e10bc2171e95ed">png_decoder_start</a> (<span class="keywordtype">char</span> *path, <span class="keywordtype">int</span> max_width, <span class="keywordtype">int</span> max_height, <a class="code hl_typedef" href="png__decoder_8h.html#a85923de55a2f9fb330741fee267bb57b">png_callback_t</a> *callback, <span class="keywordtype">void</span> *callback_data);</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="keywordtype">void</span> <a class="code hl_function" href="png__decoder_8h.html#ac38ee3f3c0d1efba8b698e52d3ed203f">png_decoder_abort</a> (<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="keywordtype">float</span> <a class="code hl_function" href="png__decoder_8h.html#a6b2ba820e7e2d9b49ba727b78beb6ac8">png_decoder_get_progress</a> (<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><span class="keywordtype">void</span> <a class="code hl_function" href="png__decoder_8h.html#a7e7514f26e11a67484fe42009bf58ced">png_decoder_poll</a> (<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="preprocessor">#endif </span><span class="comment">/* PNG_DECODER_H__ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="apng__decoder_8h_html_a6b2ba820e7e2d9b49ba727b78beb6ac8"><div class="ttname"><a href="png__decoder_8h.html#a6b2ba820e7e2d9b49ba727b78beb6ac8">png_decoder_get_progress</a></div><div class="ttdeci">float png_decoder_get_progress(void)</div><div class="ttdoc">Get the progress of the PNG decoding process.</div><div class="ttdef"><b>Definition</b> png_decoder.c:129</div></div>
<div class="ttc" id="apng__decoder_8h_html_a7e7514f26e11a67484fe42009bf58ced"><div class="ttname"><a href="png__decoder_8h.html#a7e7514f26e11a67484fe42009bf58ced">png_decoder_poll</a></div><div class="ttdeci">void png_decoder_poll(void)</div><div class="ttdoc">Poll the PNG decoder.</div><div class="ttdef"><b>Definition</b> png_decoder.c:137</div></div>
<div class="ttc" id="apng__decoder_8h_html_a85923de55a2f9fb330741fee267bb57b"><div class="ttname"><a href="png__decoder_8h.html#a85923de55a2f9fb330741fee267bb57b">png_callback_t</a></div><div class="ttdeci">void png_callback_t(png_err_t err, surface_t *decoded_image, void *callback_data)</div><div class="ttdoc">PNG decoder callback type.</div><div class="ttdef"><b>Definition</b> png_decoder.h:35</div></div>
<div class="ttc" id="apng__decoder_8h_html_a91b64bacdbc4945af5e10bc2171e95ed"><div class="ttname"><a href="png__decoder_8h.html#a91b64bacdbc4945af5e10bc2171e95ed">png_decoder_start</a></div><div class="ttdeci">png_err_t png_decoder_start(char *path, int max_width, int max_height, png_callback_t *callback, void *callback_data)</div><div class="ttdoc">Start the PNG decoding process.</div><div class="ttdef"><b>Definition</b> png_decoder.c:46</div></div>
<div class="ttc" id="apng__decoder_8h_html_ac38ee3f3c0d1efba8b698e52d3ed203f"><div class="ttname"><a href="png__decoder_8h.html#ac38ee3f3c0d1efba8b698e52d3ed203f">png_decoder_abort</a></div><div class="ttdeci">void png_decoder_abort(void)</div><div class="ttdoc">Abort the PNG decoding process.</div><div class="ttdef"><b>Definition</b> png_decoder.c:125</div></div>
<div class="ttc" id="apng__decoder_8h_html_ac5fcb9a8ef757c913a1529c94c7436d4"><div class="ttname"><a href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4">png_err_t</a></div><div class="ttdeci">png_err_t</div><div class="ttdoc">PNG decoder errors.</div><div class="ttdef"><b>Definition</b> png_decoder.h:17</div></div>
<div class="ttc" id="apng__decoder_8h_html_ac5fcb9a8ef757c913a1529c94c7436d4a096ebce23ce7b7e81e5bae7d218c36b1"><div class="ttname"><a href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4a096ebce23ce7b7e81e5bae7d218c36b1">PNG_ERR_BAD_FILE</a></div><div class="ttdeci">@ PNG_ERR_BAD_FILE</div><div class="ttdef"><b>Definition</b> png_decoder.h:23</div></div>
<div class="ttc" id="apng__decoder_8h_html_ac5fcb9a8ef757c913a1529c94c7436d4a4dd699113fbe010c8db17e53d985ee36"><div class="ttname"><a href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4a4dd699113fbe010c8db17e53d985ee36">PNG_OK</a></div><div class="ttdeci">@ PNG_OK</div><div class="ttdef"><b>Definition</b> png_decoder.h:18</div></div>
<div class="ttc" id="apng__decoder_8h_html_ac5fcb9a8ef757c913a1529c94c7436d4a78dfb25c1a327500e83544d2b60d80ff"><div class="ttname"><a href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4a78dfb25c1a327500e83544d2b60d80ff">PNG_ERR_BUSY</a></div><div class="ttdeci">@ PNG_ERR_BUSY</div><div class="ttdef"><b>Definition</b> png_decoder.h:20</div></div>
<div class="ttc" id="apng__decoder_8h_html_ac5fcb9a8ef757c913a1529c94c7436d4aa42dd20b6f2645d36a992e02f791f2d6"><div class="ttname"><a href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4aa42dd20b6f2645d36a992e02f791f2d6">PNG_ERR_NO_FILE</a></div><div class="ttdeci">@ PNG_ERR_NO_FILE</div><div class="ttdef"><b>Definition</b> png_decoder.h:22</div></div>
<div class="ttc" id="apng__decoder_8h_html_ac5fcb9a8ef757c913a1529c94c7436d4ab7dfe97b20a5d315ec4e50b34213b708"><div class="ttname"><a href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4ab7dfe97b20a5d315ec4e50b34213b708">PNG_ERR_INT</a></div><div class="ttdeci">@ PNG_ERR_INT</div><div class="ttdef"><b>Definition</b> png_decoder.h:19</div></div>
<div class="ttc" id="apng__decoder_8h_html_ac5fcb9a8ef757c913a1529c94c7436d4ad5fedd800328fc1e25145b1f3a08b4a9"><div class="ttname"><a href="png__decoder_8h.html#ac5fcb9a8ef757c913a1529c94c7436d4ad5fedd800328fc1e25145b1f3a08b4a9">PNG_ERR_OUT_OF_MEM</a></div><div class="ttdeci">@ PNG_ERR_OUT_OF_MEM</div><div class="ttdef"><b>Definition</b> png_decoder.h:21</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 16 2025 21:50:39 for N64FlashcartMenu by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>