diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CFastHLSModifier.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CFastHLSModifier.html | 660 |
1 files changed, 660 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CFastHLSModifier.html b/docs/doxygen/nel/classNL3D_1_1CFastHLSModifier.html new file mode 100644 index 00000000..98a1be51 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CFastHLSModifier.html @@ -0,0 +1,660 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CFastHLSModifier Class Reference</h1>Singleton. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="fasthls__modifier_8h-source.html">fasthls_modifier.h</a>></code> +<p> +<a href="classNL3D_1_1CFastHLSModifier-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>CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#a0">convert</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> H, <a class="el" href="memory__common_8h.html#a15">uint</a> L, <a class="el" href="memory__common_8h.html#a15">uint</a> S)</td></tr> +<tr><td> </td><td><font size=-1><em>convert a HLS (0..255) to a RGBA.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#a1">convertRGBABitmap</a> (<a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> &dst, const <a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="memory__common_8h.html#a7">uint8</a> dh, <a class="el" href="memory__common_8h.html#a14">sint</a> dl, <a class="el" href="memory__common_8h.html#a14">sint</a> ds)</td></tr> +<tr><td> </td><td><font size=-1><em>convert a RGBA bitmap into another RGBA, with HLS decal (0..255, -255..+255, -255..+255).</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#a2">convertDDSBitmap</a> (<a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> &dst, const <a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="memory__common_8h.html#a7">uint8</a> dh, <a class="el" href="memory__common_8h.html#a14">sint</a> dl, <a class="el" href="memory__common_8h.html#a14">sint</a> ds)</td></tr> +<tr><td> </td><td><font size=-1><em>convert a DDS bitmap into another DDS, with HLS decal (0..255, -255..+255, -255..+255).</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#a3">applyHLSMod</a> (<a class="el" href="memory__common_8h.html#a9">uint16</a> colorIn, <a class="el" href="memory__common_8h.html#a7">uint8</a> dHue, <a class="el" href="memory__common_8h.html#a15">uint</a> dLum, <a class="el" href="memory__common_8h.html#a15">uint</a> dSat)</td></tr> +<tr><td> </td><td><font size=-1><em>convert a uint16 color into the uint16 with HLS decal.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>CFastHLSModifier & </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#d0">getInstance</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>get the singleton.</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom>{ <a class="el" href="classNL3D_1_1CFastHLSModifier.html#u1u0">HueTableSize</a> = 256 + }</td></tr> +<tr><td colspan=2><br><h2>Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#c0">CFastHLSModifier</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#c0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#c1">convertDDSBitmapDXTC1Or1A</a> (<a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> &dst, const <a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="memory__common_8h.html#a7">uint8</a> dh, <a class="el" href="memory__common_8h.html#a15">uint</a> dLum, <a class="el" href="memory__common_8h.html#a15">uint</a> dSat)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#c2">convertDDSBitmapDXTC3Or5</a> (<a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> &dst, const <a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="memory__common_8h.html#a7">uint8</a> dh, <a class="el" href="memory__common_8h.html#a15">uint</a> dLum, <a class="el" href="memory__common_8h.html#a15">uint</a> dSat)</td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#o0">_HueTable</a> [HueTableSize]</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="structNL3D_1_1CFastHLSModifier_1_1CHLSA.html">CHLSA</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#o1">_Color16ToHLS</a> [65536]</td></tr> +<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>CFastHLSModifier * </td><td valign=bottom><a class="el" href="classNL3D_1_1CFastHLSModifier.html#r0">_Instance</a> = NULL</td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Singleton. +<p> +allow to apply HLS coloring as fast as possible (MMX...). <dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2002 </dl> +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8h-source.html#l00049">49</a> of file <a class="el" href="fasthls__modifier_8h-source.html">fasthls_modifier.h</a>.<hr><h2>Member Enumeration Documentation</h2> +<a name="u1" doxytag="NL3D::CFastHLSModifier::@33"></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"> anonymous enum<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b> +Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a name="u1u0" doxytag="HueTableSize"></a><em>HueTableSize</em></em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8h-source.html#l00078">78</a> of file <a class="el" href="fasthls__modifier_8h-source.html">fasthls_modifier.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="c0" doxytag="NL3D::CFastHLSModifier::CFastHLSModifier"></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"> NL3D::CFastHLSModifier::CFastHLSModifier </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8cpp-source.html#l00047">47</a> of file <a class="el" href="fasthls__modifier_8cpp-source.html">fasthls_modifier.cpp</a>. +<p> +References <a class="el" href="fasthls__modifier_8h-source.html#l00085">_Color16ToHLS</a>, <a class="el" href="fasthls__modifier_8h-source.html#l00084">_HueTable</a>, <a class="el" href="fasthls__modifier_8h-source.html#l00081">NL3D::CFastHLSModifier::CHLSA::A</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="fasthls__modifier_8h-source.html#l00081">NL3D::CFastHLSModifier::CHLSA::H</a>, <a class="el" href="classNL3D_1_1CFastHLSModifier.html#u1u0">HueTableSize</a>, <a class="el" href="fasthls__modifier_8h-source.html#l00081">NL3D::CFastHLSModifier::CHLSA::L</a>, <a class="el" href="opcode__register_8cpp-source.html#l00036">NLAISCRIPT::l</a>, <a class="el" href="fasthls__modifier_8h-source.html#l00081">NL3D::CFastHLSModifier::CHLSA::S</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>. +<p> +Referenced by <a class="el" href="fasthls__modifier_8cpp-source.html#l00077">getInstance</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a3" doxytag="NL3D::CFastHLSModifier::applyHLSMod"></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="memory__common_8h.html#a9">uint16</a> NL3D::CFastHLSModifier::applyHLSMod </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>colorIn</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>dHue</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>dLum</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>dSat</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +convert a uint16 color into the uint16 with HLS decal. +<p> +WARNING: this code use MMX when possible, but doesn't call emms!!! It is User job to do it. dLum must be actually 0xFFFFFF00 + realDLum (where realDLum== -255..+255) dSat must be actually 0xFFFFFF00 + realDSat (where realDSat== -255..+255) +<p> +Definition at line <a class="el" href="fasthls__modifier_8cpp-source.html#l00110">110</a> of file <a class="el" href="fasthls__modifier_8cpp-source.html">fasthls_modifier.cpp</a>. +<p> +References <a class="el" href="fasthls__modifier_8h-source.html#l00085">_Color16ToHLS</a>, <a class="el" href="fasthls__modifier_8cpp-source.html#l00086">convert</a>, <a class="el" href="fasthls__modifier_8h-source.html#l00081">NL3D::CFastHLSModifier::CHLSA::H</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00611">offset</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. +<p> +Referenced by <a class="el" href="fasthls__modifier_8cpp-source.html#l00252">convertDDSBitmapDXTC1Or1A</a>, and <a class="el" href="fasthls__modifier_8cpp-source.html#l00354">convertDDSBitmapDXTC3Or5</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NL3D::CFastHLSModifier::convert"></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"> CRGBA NL3D::CFastHLSModifier::convert </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>H</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>L</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>S</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +convert a HLS (0..255) to a RGBA. +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8cpp-source.html#l00086">86</a> of file <a class="el" href="fasthls__modifier_8cpp-source.html">fasthls_modifier.cpp</a>. +<p> +References <a class="el" href="fasthls__modifier_8h-source.html#l00084">_HueTable</a>. +<p> +Referenced by <a class="el" href="fasthls__modifier_8cpp-source.html#l00110">applyHLSMod</a>, and <a class="el" href="fasthls__modifier_8cpp-source.html#l00414">convertRGBABitmap</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CFastHLSModifier::convertDDSBitmap"></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 NL3D::CFastHLSModifier::convertDDSBitmap </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> & </td> + <td class="mdname" nowrap> <em>dst</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> & </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>dh</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname" nowrap> <em>dl</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname" nowrap> <em>ds</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +convert a DDS bitmap into another DDS, with HLS decal (0..255, -255..+255, -255..+255). +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8cpp-source.html#l00393">393</a> of file <a class="el" href="fasthls__modifier_8cpp-source.html">fasthls_modifier.cpp</a>. +<p> +References <a class="el" href="fasthls__modifier_8cpp-source.html#l00252">convertDDSBitmapDXTC1Or1A</a>, <a class="el" href="fasthls__modifier_8cpp-source.html#l00354">convertDDSBitmapDXTC3Or5</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>. </td> + </tr> +</table> +<a name="c1" doxytag="NL3D::CFastHLSModifier::convertDDSBitmapDXTC1Or1A"></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 NL3D::CFastHLSModifier::convertDDSBitmapDXTC1Or1A </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> & </td> + <td class="mdname" nowrap> <em>dst</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> & </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>dh</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>dLum</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>dSat</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8cpp-source.html#l00252">252</a> of file <a class="el" href="fasthls__modifier_8cpp-source.html">fasthls_modifier.cpp</a>. +<p> +References <a class="el" href="fasthls__modifier_8cpp-source.html#l00110">applyHLSMod</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>. +<p> +Referenced by <a class="el" href="fasthls__modifier_8cpp-source.html#l00393">convertDDSBitmap</a>. </td> + </tr> +</table> +<a name="c2" doxytag="NL3D::CFastHLSModifier::convertDDSBitmapDXTC3Or5"></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 NL3D::CFastHLSModifier::convertDDSBitmapDXTC3Or5 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> & </td> + <td class="mdname" nowrap> <em>dst</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> & </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>dh</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>dLum</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>dSat</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8cpp-source.html#l00354">354</a> of file <a class="el" href="fasthls__modifier_8cpp-source.html">fasthls_modifier.cpp</a>. +<p> +References <a class="el" href="fasthls__modifier_8cpp-source.html#l00110">applyHLSMod</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>. +<p> +Referenced by <a class="el" href="fasthls__modifier_8cpp-source.html#l00393">convertDDSBitmap</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CFastHLSModifier::convertRGBABitmap"></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 NL3D::CFastHLSModifier::convertRGBABitmap </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> & </td> + <td class="mdname" nowrap> <em>dst</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CBitmap.html">NLMISC::CBitmap</a> & </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>dh</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname" nowrap> <em>dl</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname" nowrap> <em>ds</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +convert a RGBA bitmap into another RGBA, with HLS decal (0..255, -255..+255, -255..+255). +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8cpp-source.html#l00414">414</a> of file <a class="el" href="fasthls__modifier_8cpp-source.html">fasthls_modifier.cpp</a>. +<p> +References <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="fasthls__modifier_8cpp-source.html#l00086">convert</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="fast__floor_8h-source.html#l00125">NL3D::OptFastFloor</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>. </td> + </tr> +</table> +<a name="d0" doxytag="NL3D::CFastHLSModifier::getInstance"></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"> CFastHLSModifier & NL3D::CFastHLSModifier::getInstance </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the singleton. +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8cpp-source.html#l00077">77</a> of file <a class="el" href="fasthls__modifier_8cpp-source.html">fasthls_modifier.cpp</a>. +<p> +References <a class="el" href="fasthls__modifier_8cpp-source.html#l00043">_Instance</a>, and <a class="el" href="fasthls__modifier_8cpp-source.html#l00047">CFastHLSModifier</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o1" doxytag="NL3D::CFastHLSModifier::_Color16ToHLS"></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="structNL3D_1_1CFastHLSModifier_1_1CHLSA.html">CHLSA</a> NL3D::CFastHLSModifier::_Color16ToHLS[65536]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8h-source.html#l00085">85</a> of file <a class="el" href="fasthls__modifier_8h-source.html">fasthls_modifier.h</a>. +<p> +Referenced by <a class="el" href="fasthls__modifier_8cpp-source.html#l00110">applyHLSMod</a>, and <a class="el" href="fasthls__modifier_8cpp-source.html#l00047">CFastHLSModifier</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NL3D::CFastHLSModifier::_HueTable"></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"> CRGBA NL3D::CFastHLSModifier::_HueTable[HueTableSize]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8h-source.html#l00084">84</a> of file <a class="el" href="fasthls__modifier_8h-source.html">fasthls_modifier.h</a>. +<p> +Referenced by <a class="el" href="fasthls__modifier_8cpp-source.html#l00047">CFastHLSModifier</a>, and <a class="el" href="fasthls__modifier_8cpp-source.html#l00086">convert</a>. </td> + </tr> +</table> +<a name="r0" doxytag="NL3D::CFastHLSModifier::_Instance"></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"> CFastHLSModifier * NL3D::CFastHLSModifier::_Instance = NULL<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="fasthls__modifier_8cpp-source.html#l00043">43</a> of file <a class="el" href="fasthls__modifier_8cpp-source.html">fasthls_modifier.cpp</a>. +<p> +Referenced by <a class="el" href="fasthls__modifier_8cpp-source.html#l00077">getInstance</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="fasthls__modifier_8h-source.html">fasthls_modifier.h</a><li><a class="el" href="fasthls__modifier_8cpp-source.html">fasthls_modifier.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |