mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
127 lines
15 KiB
HTML
127 lines
15 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">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: /home/ash/Code/wut2/include/gx2/utils.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 style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">wut
|
|
 <span id="projectnumber">1.0.0-beta9</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- 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">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_64fe89c4a61f5742775721f1d8222d0c.html">gx2</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">utils.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="utils_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include <<a class="code" href="wut_8h.html">wut.h</a>></span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#ga356d41555b40daf83705653d7dda0fa1"> 14</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group__gx2__utils.html#ga356d41555b40daf83705653d7dda0fa1">GX2_SQ_SEL</a></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a5dbd384bcb03e7c333ef95d607439c24"> 16</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a5dbd384bcb03e7c333ef95d607439c24">GX2_SQ_SEL_X</a> = 0,</div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a2baed60eda3523c151dd8651872f14a0"> 17</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a2baed60eda3523c151dd8651872f14a0">GX2_SQ_SEL_Y</a> = 1,</div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ad88c6d7e7d24ef52a80e07c2201f0a7c"> 18</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ad88c6d7e7d24ef52a80e07c2201f0a7c">GX2_SQ_SEL_Z</a> = 2,</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a4369980a1d776f6fb603f285b67dbe70"> 19</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a4369980a1d776f6fb603f285b67dbe70">GX2_SQ_SEL_W</a> = 3,</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ac7335aeef243c7474c244c915f6669a7"> 21</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ac7335aeef243c7474c244c915f6669a7">GX2_SQ_SEL_R</a> = 0,</div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a8bfdb036bcc56dd6b27085b47ce8a45d"> 22</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a8bfdb036bcc56dd6b27085b47ce8a45d">GX2_SQ_SEL_G</a> = 1,</div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a208f91b95f4a8fbd06245da6af61c869"> 23</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a208f91b95f4a8fbd06245da6af61c869">GX2_SQ_SEL_B</a> = 2,</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ac449b54bd0f44d55a31d940b4c113775"> 24</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ac449b54bd0f44d55a31d940b4c113775">GX2_SQ_SEL_A</a> = 3,</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a989667fce7a799cf7f92647c0c0dd385"> 26</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a989667fce7a799cf7f92647c0c0dd385">GX2_SQ_SEL_0</a> = 4,</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a5c49a9a9665ddfdfb7500bd88087c2d2"> 27</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a5c49a9a9665ddfdfb7500bd88087c2d2">GX2_SQ_SEL_1</a> = 5,</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ad1877073396f38e681588d90b9c13ff7"> 28</a></span>  <a class="code" href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ad1877073396f38e681588d90b9c13ff7">GX2_SQ_SEL_MASK</a> = 7,</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> } <a class="code" href="group__gx2__utils.html#ga356d41555b40daf83705653d7dda0fa1">GX2_SQ_SEL</a>;</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#ga5d4b87b9395370ef8d7653bbc9eb3da5"> 31</a></span> <span class="preprocessor">#define GX2_SEL_MASK(x, y, z, w) (((x) << 24) | ((y) << 16) | ((z) << 8) | (w))</span></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="group__gx2__utils.html#ga4f3edc8f72a298d8abe5874137aa7d1a"> 32</a></span> <span class="preprocessor">#define GX2_COMP_MAP(x, y, z, w) (((x) << 24) | ((y) << 16) | ((z) << 8) | (w))</span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> }</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1a5dbd384bcb03e7c333ef95d607439c24"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a5dbd384bcb03e7c333ef95d607439c24">GX2_SQ_SEL_X</a></div><div class="ttdeci">@ GX2_SQ_SEL_X</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00016">utils.h:16</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1a8bfdb036bcc56dd6b27085b47ce8a45d"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a8bfdb036bcc56dd6b27085b47ce8a45d">GX2_SQ_SEL_G</a></div><div class="ttdeci">@ GX2_SQ_SEL_G</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00022">utils.h:22</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1ad88c6d7e7d24ef52a80e07c2201f0a7c"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ad88c6d7e7d24ef52a80e07c2201f0a7c">GX2_SQ_SEL_Z</a></div><div class="ttdeci">@ GX2_SQ_SEL_Z</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00018">utils.h:18</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1ac449b54bd0f44d55a31d940b4c113775"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ac449b54bd0f44d55a31d940b4c113775">GX2_SQ_SEL_A</a></div><div class="ttdeci">@ GX2_SQ_SEL_A</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00024">utils.h:24</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1a2baed60eda3523c151dd8651872f14a0"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a2baed60eda3523c151dd8651872f14a0">GX2_SQ_SEL_Y</a></div><div class="ttdeci">@ GX2_SQ_SEL_Y</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00017">utils.h:17</a></div></div>
|
|
<div class="ttc" id="awut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1a4369980a1d776f6fb603f285b67dbe70"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a4369980a1d776f6fb603f285b67dbe70">GX2_SQ_SEL_W</a></div><div class="ttdeci">@ GX2_SQ_SEL_W</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00019">utils.h:19</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1ad1877073396f38e681588d90b9c13ff7"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ad1877073396f38e681588d90b9c13ff7">GX2_SQ_SEL_MASK</a></div><div class="ttdeci">@ GX2_SQ_SEL_MASK</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00028">utils.h:28</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1a989667fce7a799cf7f92647c0c0dd385"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a989667fce7a799cf7f92647c0c0dd385">GX2_SQ_SEL_0</a></div><div class="ttdeci">@ GX2_SQ_SEL_0</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00026">utils.h:26</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1a208f91b95f4a8fbd06245da6af61c869"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a208f91b95f4a8fbd06245da6af61c869">GX2_SQ_SEL_B</a></div><div class="ttdeci">@ GX2_SQ_SEL_B</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00023">utils.h:23</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_ga356d41555b40daf83705653d7dda0fa1"><div class="ttname"><a href="group__gx2__utils.html#ga356d41555b40daf83705653d7dda0fa1">GX2_SQ_SEL</a></div><div class="ttdeci">GX2_SQ_SEL</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00014">utils.h:14</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1ac7335aeef243c7474c244c915f6669a7"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1ac7335aeef243c7474c244c915f6669a7">GX2_SQ_SEL_R</a></div><div class="ttdeci">@ GX2_SQ_SEL_R</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00021">utils.h:21</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__utils_html_gga356d41555b40daf83705653d7dda0fa1a5c49a9a9665ddfdfb7500bd88087c2d2"><div class="ttname"><a href="group__gx2__utils.html#gga356d41555b40daf83705653d7dda0fa1a5c49a9a9665ddfdfb7500bd88087c2d2">GX2_SQ_SEL_1</a></div><div class="ttdeci">@ GX2_SQ_SEL_1</div><div class="ttdef"><b>Definition:</b> <a href="utils_8h_source.html#l00027">utils.h:27</a></div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|