1 | <html> |
---|
2 | <head> |
---|
3 | <title>OgrePixelConversions.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><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">Class 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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>OgrePixelConversions.h</h1><a href="OgrePixelConversions_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span> |
---|
11 | 00002 <span class="comment">-----------------------------------------------------------------------------</span> |
---|
12 | 00003 <span class="comment">This source file is part of OGRE</span> |
---|
13 | 00004 <span class="comment"> (Object-oriented Graphics Rendering Engine)</span> |
---|
14 | 00005 <span class="comment">For the latest info, see http://www.ogre3d.org/</span> |
---|
15 | 00006 <span class="comment"></span> |
---|
16 | 00007 <span class="comment">Copyright (c) 2000-2005 The OGRE Team</span> |
---|
17 | 00008 <span class="comment">Also see acknowledgements in Readme.html</span> |
---|
18 | 00009 <span class="comment"></span> |
---|
19 | 00010 <span class="comment">This program is free software; you can redistribute it and/or modify it under</span> |
---|
20 | 00011 <span class="comment">the terms of the GNU Lesser General Public License as published by the Free Software</span> |
---|
21 | 00012 <span class="comment">Foundation; either version 2 of the License, or (at your option) any later</span> |
---|
22 | 00013 <span class="comment">version.</span> |
---|
23 | 00014 <span class="comment"></span> |
---|
24 | 00015 <span class="comment">This program is distributed in the hope that it will be useful, but WITHOUT</span> |
---|
25 | 00016 <span class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</span> |
---|
26 | 00017 <span class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span> |
---|
27 | 00018 <span class="comment"></span> |
---|
28 | 00019 <span class="comment">You should have received a copy of the GNU Lesser General Public License along with</span> |
---|
29 | 00020 <span class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple</span> |
---|
30 | 00021 <span class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to</span> |
---|
31 | 00022 <span class="comment">http://www.gnu.org/copyleft/lesser.txt.</span> |
---|
32 | 00023 <span class="comment">-----------------------------------------------------------------------------</span> |
---|
33 | 00024 <span class="comment">*/</span> |
---|
34 | 00026 <span class="keyword">using</span> <span class="keyword">namespace </span>Ogre; |
---|
35 | 00027 |
---|
36 | 00028 <span class="comment">// NB VC6 can't handle these templates</span> |
---|
37 | 00029 <span class="preprocessor">#if OGRE_COMPILER != OGRE_COMPILER_MSVC || OGRE_COMP_VER >= 1300</span> |
---|
38 | 00030 <span class="preprocessor"></span> |
---|
39 | 00031 <span class="preprocessor">#define FMTCONVERTERID(from,to) (((from)<<8)|(to))</span> |
---|
40 | 00032 <span class="preprocessor"></span> |
---|
41 | 00043 <span class="keyword">template</span> <<span class="keyword">class</span> U> <span class="keyword">struct </span>PixelBoxConverter |
---|
42 | 00044 { |
---|
43 | 00045 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> ID = U::ID; |
---|
44 | 00046 <span class="keyword">static</span> <span class="keywordtype">void</span> conversion(<span class="keyword">const</span> <a class="code" href="classOgre_1_1PixelBox.html">PixelBox</a> &src, <span class="keyword">const</span> <a class="code" href="classOgre_1_1PixelBox.html">PixelBox</a> &dst) |
---|
45 | 00047 { |
---|
46 | 00048 <span class="keyword">typename</span> U::SrcType *srcptr = static_cast<typename U::SrcType*>(src.<a class="code" href="classOgre_1_1PixelBox.html#Ogre_1_1PixelBoxo0">data</a>); |
---|
47 | 00049 <span class="keyword">typename</span> U::DstType *dstptr = static_cast<typename U::DstType*>(dst.<a class="code" href="classOgre_1_1PixelBox.html#Ogre_1_1PixelBoxo0">data</a>); |
---|
48 | 00050 <span class="keyword">const</span> size_t srcSliceSkip = src.<a class="code" href="classOgre_1_1PixelBox.html#Ogre_1_1PixelBoxa5">getSliceSkip</a>(); |
---|
49 | 00051 <span class="keyword">const</span> size_t dstSliceSkip = dst.<a class="code" href="classOgre_1_1PixelBox.html#Ogre_1_1PixelBoxa5">getSliceSkip</a>(); |
---|
50 | 00052 <span class="keyword">const</span> size_t k = src.<a class="code" href="structOgre_1_1Box.html#Ogre_1_1PixelBoxo6">right</a> - src.<a class="code" href="structOgre_1_1Box.html#Ogre_1_1PixelBoxo4">left</a>; |
---|
51 | 00053 <span class="keywordflow">for</span>(size_t z=src.<a class="code" href="structOgre_1_1Box.html#Ogre_1_1PixelBoxo8">front</a>; z<src.<a class="code" href="structOgre_1_1Box.html#Ogre_1_1PixelBoxo9">back</a>; z++) |
---|
52 | 00054 { |
---|
53 | 00055 <span class="keywordflow">for</span>(size_t y=src.<a class="code" href="structOgre_1_1Box.html#Ogre_1_1PixelBoxo5">top</a>; y<src.<a class="code" href="structOgre_1_1Box.html#Ogre_1_1PixelBoxo7">bottom</a>; y++) |
---|
54 | 00056 { |
---|
55 | 00057 <span class="keywordflow">for</span>(size_t x=0; x<k; x++) |
---|
56 | 00058 { |
---|
57 | 00059 dstptr[x] = U::pixelConvert(srcptr[x]); |
---|
58 | 00060 } |
---|
59 | 00061 srcptr += src.<a class="code" href="classOgre_1_1PixelBox.html#Ogre_1_1PixelBoxo2">rowPitch</a>; |
---|
60 | 00062 dstptr += dst.<a class="code" href="classOgre_1_1PixelBox.html#Ogre_1_1PixelBoxo2">rowPitch</a>; |
---|
61 | 00063 } |
---|
62 | 00064 srcptr += srcSliceSkip; |
---|
63 | 00065 dstptr += dstSliceSkip; |
---|
64 | 00066 } |
---|
65 | 00067 } |
---|
66 | 00068 }; |
---|
67 | 00069 |
---|
68 | 00070 <span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> U, <span class="keywordtype">int</span> <span class="keywordtype">id</span>> <span class="keyword">struct </span>PixelConverter { |
---|
69 | 00071 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> ID = <span class="keywordtype">id</span>; |
---|
70 | 00072 <span class="keyword">typedef</span> T SrcType; |
---|
71 | 00073 <span class="keyword">typedef</span> U DstType; |
---|
72 | 00074 |
---|
73 | 00075 <span class="comment">//inline static DstType pixelConvert(const SrcType &inp);</span> |
---|
74 | 00076 }; |
---|
75 | 00077 |
---|
76 | 00078 |
---|
77 | 00080 <span class="keyword">struct </span>Col3b { |
---|
78 | 00081 <a class="code" href="classCol3b.html">Col3b</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> a, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> b, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c): |
---|
79 | 00082 x((<a class="code" href="namespaceOgre.html#a414">uint8</a>)a), y((<a class="code" href="namespaceOgre.html#a414">uint8</a>)b), z((<a class="code" href="namespaceOgre.html#a414">uint8</a>)c) { } |
---|
80 | 00083 <a class="code" href="namespaceOgre.html#a414">uint8</a> x,y,z; |
---|
81 | 00084 }; |
---|
82 | 00086 <span class="keyword">struct </span>Col3f { |
---|
83 | 00087 <a class="code" href="classCol3f.html">Col3f</a>(<span class="keywordtype">float</span> r, <span class="keywordtype">float</span> g, <span class="keywordtype">float</span> b): |
---|
84 | 00088 r(r), g(g), b(b) { } |
---|
85 | 00089 <span class="keywordtype">float</span> r,g,b; |
---|
86 | 00090 }; |
---|
87 | 00092 <span class="keyword">struct </span>Col4f { |
---|
88 | 00093 <a class="code" href="classCol4f.html">Col4f</a>(<span class="keywordtype">float</span> r, <span class="keywordtype">float</span> g, <span class="keywordtype">float</span> b, <span class="keywordtype">float</span> a): |
---|
89 | 00094 r(r), g(g), b(b), a(a) { } |
---|
90 | 00095 <span class="keywordtype">float</span> r,g,b,a; |
---|
91 | 00096 }; |
---|
92 | 00097 |
---|
93 | 00098 <span class="keyword">struct </span>A8R8G8B8toA8B8G8R8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_A8R8G8B8, PF_A8B8G8R8)> |
---|
94 | 00099 { |
---|
95 | 00100 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
96 | 00101 { |
---|
97 | 00102 <span class="keywordflow">return</span> ((inp&0x000000FF)<<16)|(inp&0xFF00FF00)|((inp&0x00FF0000)>>16); |
---|
98 | 00103 } |
---|
99 | 00104 }; |
---|
100 | 00105 |
---|
101 | 00106 <span class="keyword">struct </span>A8R8G8B8toB8G8R8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_A8R8G8B8, PF_B8G8R8A8)> |
---|
102 | 00107 { |
---|
103 | 00108 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
104 | 00109 { |
---|
105 | 00110 <span class="keywordflow">return</span> ((inp&0x000000FF)<<24)|((inp&0x0000FF00)<<8)|((inp&0x00FF0000)>>8)|((inp&0xFF000000)>>24); |
---|
106 | 00111 } |
---|
107 | 00112 }; |
---|
108 | 00113 |
---|
109 | 00114 <span class="keyword">struct </span>A8R8G8B8toR8G8B8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_A8R8G8B8, PF_R8G8B8A8)> |
---|
110 | 00115 { |
---|
111 | 00116 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
112 | 00117 { |
---|
113 | 00118 <span class="keywordflow">return</span> ((inp&0x00FFFFFF)<<8)|((inp&0xFF000000)>>24); |
---|
114 | 00119 } |
---|
115 | 00120 }; |
---|
116 | 00121 |
---|
117 | 00122 <span class="keyword">struct </span>A8B8G8R8toA8R8G8B8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_A8B8G8R8, PF_A8R8G8B8)> |
---|
118 | 00123 { |
---|
119 | 00124 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
120 | 00125 { |
---|
121 | 00126 <span class="keywordflow">return</span> ((inp&0x000000FF)<<16)|(inp&0xFF00FF00)|((inp&0x00FF0000)>>16); |
---|
122 | 00127 } |
---|
123 | 00128 }; |
---|
124 | 00129 |
---|
125 | 00130 <span class="keyword">struct </span>A8B8G8R8toB8G8R8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_A8B8G8R8, PF_B8G8R8A8)> |
---|
126 | 00131 { |
---|
127 | 00132 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
128 | 00133 { |
---|
129 | 00134 <span class="keywordflow">return</span> ((inp&0x00FFFFFF)<<8)|((inp&0xFF000000)>>24); |
---|
130 | 00135 } |
---|
131 | 00136 }; |
---|
132 | 00137 |
---|
133 | 00138 <span class="keyword">struct </span>A8B8G8R8toR8G8B8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_A8B8G8R8, PF_R8G8B8A8)> |
---|
134 | 00139 { |
---|
135 | 00140 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
136 | 00141 { |
---|
137 | 00142 <span class="keywordflow">return</span> ((inp&0x000000FF)<<24)|((inp&0x0000FF00)<<8)|((inp&0x00FF0000)>>8)|((inp&0xFF000000)>>24); |
---|
138 | 00143 } |
---|
139 | 00144 }; |
---|
140 | 00145 |
---|
141 | 00146 <span class="keyword">struct </span>B8G8R8A8toA8R8G8B8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_B8G8R8A8, PF_A8R8G8B8)> |
---|
142 | 00147 { |
---|
143 | 00148 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
144 | 00149 { |
---|
145 | 00150 <span class="keywordflow">return</span> ((inp&0x000000FF)<<24)|((inp&0x0000FF00)<<8)|((inp&0x00FF0000)>>8)|((inp&0xFF000000)>>24); |
---|
146 | 00151 } |
---|
147 | 00152 }; |
---|
148 | 00153 |
---|
149 | 00154 <span class="keyword">struct </span>B8G8R8A8toA8B8G8R8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_B8G8R8A8, PF_A8B8G8R8)> |
---|
150 | 00155 { |
---|
151 | 00156 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
152 | 00157 { |
---|
153 | 00158 <span class="keywordflow">return</span> ((inp&0x000000FF)<<24)|((inp&0xFFFFFF00)>>8); |
---|
154 | 00159 } |
---|
155 | 00160 }; |
---|
156 | 00161 |
---|
157 | 00162 <span class="keyword">struct </span>B8G8R8A8toR8G8B8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_B8G8R8A8, PF_R8G8B8A8)> |
---|
158 | 00163 { |
---|
159 | 00164 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
160 | 00165 { |
---|
161 | 00166 <span class="keywordflow">return</span> ((inp&0x0000FF00)<<16)|(inp&0x00FF00FF)|((inp&0xFF000000)>>16); |
---|
162 | 00167 } |
---|
163 | 00168 }; |
---|
164 | 00169 |
---|
165 | 00170 <span class="keyword">struct </span>R8G8B8A8toA8R8G8B8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_R8G8B8A8, PF_A8R8G8B8)> |
---|
166 | 00171 { |
---|
167 | 00172 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
168 | 00173 { |
---|
169 | 00174 <span class="keywordflow">return</span> ((inp&0x000000FF)<<24)|((inp&0xFFFFFF00)>>8); |
---|
170 | 00175 } |
---|
171 | 00176 }; |
---|
172 | 00177 |
---|
173 | 00178 <span class="keyword">struct </span>R8G8B8A8toA8B8G8R8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_R8G8B8A8, PF_A8B8G8R8)> |
---|
174 | 00179 { |
---|
175 | 00180 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
176 | 00181 { |
---|
177 | 00182 <span class="keywordflow">return</span> ((inp&0x000000FF)<<24)|((inp&0x0000FF00)<<8)|((inp&0x00FF0000)>>8)|((inp&0xFF000000)>>24); |
---|
178 | 00183 } |
---|
179 | 00184 }; |
---|
180 | 00185 |
---|
181 | 00186 <span class="keyword">struct </span>R8G8B8A8toB8G8R8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_R8G8B8A8, PF_B8G8R8A8)> |
---|
182 | 00187 { |
---|
183 | 00188 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
184 | 00189 { |
---|
185 | 00190 <span class="keywordflow">return</span> ((inp&0x0000FF00)<<16)|(inp&0x00FF00FF)|((inp&0xFF000000)>>16); |
---|
186 | 00191 } |
---|
187 | 00192 }; |
---|
188 | 00193 |
---|
189 | 00194 <span class="keyword">struct </span>A8B8G8R8toL8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint8, FMTCONVERTERID(PF_A8B8G8R8, PF_L8)> |
---|
190 | 00195 { |
---|
191 | 00196 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
192 | 00197 { |
---|
193 | 00198 <span class="keywordflow">return</span> (<a class="code" href="namespaceOgre.html#a414">uint8</a>)(inp&0x000000FF); |
---|
194 | 00199 } |
---|
195 | 00200 }; |
---|
196 | 00201 |
---|
197 | 00202 <span class="keyword">struct </span>L8toA8B8G8R8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint8, uint32, FMTCONVERTERID(PF_L8, PF_A8B8G8R8)> |
---|
198 | 00203 { |
---|
199 | 00204 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
200 | 00205 { |
---|
201 | 00206 <span class="keywordflow">return</span> 0xFF000000|(((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp)<<0)|(((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp)<<8)|(((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp)<<16); |
---|
202 | 00207 } |
---|
203 | 00208 }; |
---|
204 | 00209 |
---|
205 | 00210 <span class="keyword">struct </span>A8R8G8B8toL8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint8, FMTCONVERTERID(PF_A8R8G8B8, PF_L8)> |
---|
206 | 00211 { |
---|
207 | 00212 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
208 | 00213 { |
---|
209 | 00214 <span class="keywordflow">return</span> (<a class="code" href="namespaceOgre.html#a414">uint8</a>)((inp&0x00FF0000)>>16); |
---|
210 | 00215 } |
---|
211 | 00216 }; |
---|
212 | 00217 |
---|
213 | 00218 <span class="keyword">struct </span>L8toA8R8G8B8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint8, uint32, FMTCONVERTERID(PF_L8, PF_A8R8G8B8)> |
---|
214 | 00219 { |
---|
215 | 00220 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
216 | 00221 { |
---|
217 | 00222 <span class="keywordflow">return</span> 0xFF000000|(((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp)<<0)|(((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp)<<8)|(((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp)<<16); |
---|
218 | 00223 } |
---|
219 | 00224 }; |
---|
220 | 00225 |
---|
221 | 00226 <span class="keyword">struct </span>B8G8R8A8toL8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint8, FMTCONVERTERID(PF_B8G8R8A8, PF_L8)> |
---|
222 | 00227 { |
---|
223 | 00228 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
224 | 00229 { |
---|
225 | 00230 <span class="keywordflow">return</span> (<a class="code" href="namespaceOgre.html#a414">uint8</a>)((inp&0x0000FF00)>>8); |
---|
226 | 00231 } |
---|
227 | 00232 }; |
---|
228 | 00233 |
---|
229 | 00234 <span class="keyword">struct </span>L8toB8G8R8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint8, uint32, FMTCONVERTERID(PF_L8, PF_B8G8R8A8)> |
---|
230 | 00235 { |
---|
231 | 00236 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
232 | 00237 { |
---|
233 | 00238 <span class="keywordflow">return</span> 0x000000FF|(((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp)<<8)|(((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp)<<16)|(((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp)<<24); |
---|
234 | 00239 } |
---|
235 | 00240 }; |
---|
236 | 00241 |
---|
237 | 00242 <span class="keyword">struct </span>L8toL16: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint8, uint16, FMTCONVERTERID(PF_L8, PF_L16)> |
---|
238 | 00243 { |
---|
239 | 00244 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
240 | 00245 { |
---|
241 | 00246 <span class="keywordflow">return</span> (<a class="code" href="namespaceOgre.html#a413">uint16</a>)((((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp)<<8)|(((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp))); |
---|
242 | 00247 } |
---|
243 | 00248 }; |
---|
244 | 00249 |
---|
245 | 00250 <span class="keyword">struct </span>L16toL8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint16, uint8, FMTCONVERTERID(PF_L16, PF_L8)> |
---|
246 | 00251 { |
---|
247 | 00252 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
248 | 00253 { |
---|
249 | 00254 <span class="keywordflow">return</span> (<a class="code" href="namespaceOgre.html#a414">uint8</a>)(inp>>8); |
---|
250 | 00255 } |
---|
251 | 00256 }; |
---|
252 | 00257 |
---|
253 | 00258 <span class="keyword">struct </span>R8G8B8toB8G8R8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <Col3b, Col3b, FMTCONVERTERID(PF_R8G8B8, PF_B8G8R8)> |
---|
254 | 00259 { |
---|
255 | 00260 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(<span class="keyword">const</span> SrcType &inp) |
---|
256 | 00261 { |
---|
257 | 00262 <span class="keywordflow">return</span> <a class="code" href="classCol3b.html">Col3b</a>(inp.z, inp.y, inp.x); |
---|
258 | 00263 } |
---|
259 | 00264 }; |
---|
260 | 00265 |
---|
261 | 00266 <span class="keyword">struct </span>B8G8R8toR8G8B8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <Col3b, Col3b, FMTCONVERTERID(PF_B8G8R8, PF_R8G8B8)> |
---|
262 | 00267 { |
---|
263 | 00268 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(<span class="keyword">const</span> SrcType &inp) |
---|
264 | 00269 { |
---|
265 | 00270 <span class="keywordflow">return</span> <a class="code" href="classCol3b.html">Col3b</a>(inp.z, inp.y, inp.x); |
---|
266 | 00271 } |
---|
267 | 00272 }; |
---|
268 | 00273 |
---|
269 | 00274 <span class="comment">// X8Y8Z8 -> X8<<xshift Y8<<yshift Z8<<zshift A8<<ashift</span> |
---|
270 | 00275 <span class="keyword">template</span> <<span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> xshift, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> yshift, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> zshift, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ashift> <span class="keyword">struct </span>Col3btoUint32swizzler: |
---|
271 | 00276 <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <Col3b, uint32, id> |
---|
272 | 00277 { |
---|
273 | 00278 <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="namespaceOgre.html#a412">uint32</a> pixelConvert(<span class="keyword">const</span> <a class="code" href="classCol3b.html">Col3b</a> &inp) |
---|
274 | 00279 { |
---|
275 | 00280 <span class="preprocessor">#if OGRE_ENDIAN == OGRE_ENDIAN_BIG</span> |
---|
276 | 00281 <span class="preprocessor"></span> <span class="keywordflow">return</span> (0xFF<<ashift) | (((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp.x)<<xshift) | (((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp.y)<<yshift) | (((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp.z)<<zshift); |
---|
277 | 00282 <span class="preprocessor">#else</span> |
---|
278 | 00283 <span class="preprocessor"></span> <span class="keywordflow">return</span> (0xFF<<ashift) | (((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp.x)<<zshift) | (((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp.y)<<yshift) | (((<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)inp.z)<<xshift); |
---|
279 | 00284 <span class="preprocessor">#endif</span> |
---|
280 | 00285 <span class="preprocessor"></span> } |
---|
281 | 00286 }; |
---|
282 | 00287 |
---|
283 | 00288 <span class="keyword">struct </span>R8G8B8toA8R8G8B8: <span class="keyword">public</span> <a class="code" href="classCol3btoUint32swizzler.html">Col3btoUint32swizzler</a><FMTCONVERTERID(PF_R8G8B8, PF_A8R8G8B8), 16, 8, 0, 24> { }; |
---|
284 | 00289 <span class="keyword">struct </span>B8G8R8toA8R8G8B8: <span class="keyword">public</span> <a class="code" href="classCol3btoUint32swizzler.html">Col3btoUint32swizzler</a><FMTCONVERTERID(PF_B8G8R8, PF_A8R8G8B8), 0, 8, 16, 24> { }; |
---|
285 | 00290 <span class="keyword">struct </span>R8G8B8toA8B8G8R8: <span class="keyword">public</span> <a class="code" href="classCol3btoUint32swizzler.html">Col3btoUint32swizzler</a><FMTCONVERTERID(PF_R8G8B8, PF_A8B8G8R8), 0, 8, 16, 24> { }; |
---|
286 | 00291 <span class="keyword">struct </span>B8G8R8toA8B8G8R8: <span class="keyword">public</span> <a class="code" href="classCol3btoUint32swizzler.html">Col3btoUint32swizzler</a><FMTCONVERTERID(PF_B8G8R8, PF_A8B8G8R8), 16, 8, 0, 24> { }; |
---|
287 | 00292 <span class="keyword">struct </span>R8G8B8toB8G8R8A8: <span class="keyword">public</span> <a class="code" href="classCol3btoUint32swizzler.html">Col3btoUint32swizzler</a><FMTCONVERTERID(PF_R8G8B8, PF_B8G8R8A8), 8, 16, 24, 0> { }; |
---|
288 | 00293 <span class="keyword">struct </span>B8G8R8toB8G8R8A8: <span class="keyword">public</span> <a class="code" href="classCol3btoUint32swizzler.html">Col3btoUint32swizzler</a><FMTCONVERTERID(PF_B8G8R8, PF_B8G8R8A8), 24, 16, 8, 0> { }; |
---|
289 | 00294 |
---|
290 | 00295 <span class="keyword">struct </span>A8R8G8B8toR8G8B8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, Col3b, FMTCONVERTERID(PF_A8R8G8B8, PF_BYTE_RGB)> |
---|
291 | 00296 { |
---|
292 | 00297 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(<a class="code" href="namespaceOgre.html#a412">uint32</a> inp) |
---|
293 | 00298 { |
---|
294 | 00299 <span class="keywordflow">return</span> <a class="code" href="classCol3b.html">Col3b</a>((<a class="code" href="namespaceOgre.html#a414">uint8</a>)((inp>>16)&0xFF), (<a class="code" href="namespaceOgre.html#a414">uint8</a>)((inp>>8)&0xFF), (<a class="code" href="namespaceOgre.html#a414">uint8</a>)((inp>>0)&0xFF)); |
---|
295 | 00300 } |
---|
296 | 00301 }; |
---|
297 | 00302 <span class="keyword">struct </span>A8R8G8B8toB8G8R8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, Col3b, FMTCONVERTERID(PF_A8R8G8B8, PF_BYTE_BGR)> |
---|
298 | 00303 { |
---|
299 | 00304 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(<a class="code" href="namespaceOgre.html#a412">uint32</a> inp) |
---|
300 | 00305 { |
---|
301 | 00306 <span class="keywordflow">return</span> <a class="code" href="classCol3b.html">Col3b</a>((<a class="code" href="namespaceOgre.html#a414">uint8</a>)((inp>>0)&0xFF), (<a class="code" href="namespaceOgre.html#a414">uint8</a>)((inp>>8)&0xFF), (<a class="code" href="namespaceOgre.html#a414">uint8</a>)((inp>>16)&0xFF)); |
---|
302 | 00307 } |
---|
303 | 00308 }; |
---|
304 | 00309 |
---|
305 | 00310 <span class="comment">// Only conversions from X8R8G8B8 to formats with alpha need to be defined, the rest is implicitly the same</span> |
---|
306 | 00311 <span class="comment">// as A8R8G8B8</span> |
---|
307 | 00312 <span class="keyword">struct </span>X8R8G8B8toA8R8G8B8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_X8R8G8B8, PF_A8R8G8B8)> |
---|
308 | 00313 { |
---|
309 | 00314 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
310 | 00315 { |
---|
311 | 00316 <span class="keywordflow">return</span> inp | 0xFF000000; |
---|
312 | 00317 } |
---|
313 | 00318 }; |
---|
314 | 00319 <span class="keyword">struct </span>X8R8G8B8toA8B8G8R8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_X8R8G8B8, PF_A8B8G8R8)> |
---|
315 | 00320 { |
---|
316 | 00321 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
317 | 00322 { |
---|
318 | 00323 <span class="keywordflow">return</span> ((inp&0x0000FF)<<16)|((inp&0xFF0000)>>16)|(inp&0x00FF00)|0xFF000000; |
---|
319 | 00324 } |
---|
320 | 00325 }; |
---|
321 | 00326 <span class="keyword">struct </span>X8R8G8B8toB8G8R8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_X8R8G8B8, PF_B8G8R8A8)> |
---|
322 | 00327 { |
---|
323 | 00328 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
324 | 00329 { |
---|
325 | 00330 <span class="keywordflow">return</span> ((inp&0x0000FF)<<24)|((inp&0xFF0000)>>8)|((inp&0x00FF00)<<8)|0x000000FF; |
---|
326 | 00331 } |
---|
327 | 00332 }; |
---|
328 | 00333 <span class="keyword">struct </span>X8R8G8B8toR8G8B8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_X8R8G8B8, PF_R8G8B8A8)> |
---|
329 | 00334 { |
---|
330 | 00335 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
331 | 00336 { |
---|
332 | 00337 <span class="keywordflow">return</span> ((inp&0xFFFFFF)<<8)|0x000000FF; |
---|
333 | 00338 } |
---|
334 | 00339 }; |
---|
335 | 00340 |
---|
336 | 00341 <span class="comment">// X8B8G8R8</span> |
---|
337 | 00342 <span class="keyword">struct </span>X8B8G8R8toA8R8G8B8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_X8B8G8R8, PF_A8R8G8B8)> |
---|
338 | 00343 { |
---|
339 | 00344 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
340 | 00345 { |
---|
341 | 00346 <span class="keywordflow">return</span> ((inp&0x0000FF)<<16)|((inp&0xFF0000)>>16)|(inp&0x00FF00)|0xFF000000; |
---|
342 | 00347 } |
---|
343 | 00348 }; |
---|
344 | 00349 <span class="keyword">struct </span>X8B8G8R8toA8B8G8R8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_X8B8G8R8, PF_A8B8G8R8)> |
---|
345 | 00350 { |
---|
346 | 00351 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
347 | 00352 { |
---|
348 | 00353 <span class="keywordflow">return</span> inp | 0xFF000000; |
---|
349 | 00354 } |
---|
350 | 00355 }; |
---|
351 | 00356 <span class="keyword">struct </span>X8B8G8R8toB8G8R8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_X8B8G8R8, PF_B8G8R8A8)> |
---|
352 | 00357 { |
---|
353 | 00358 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
354 | 00359 { |
---|
355 | 00360 <span class="keywordflow">return</span> ((inp&0xFFFFFF)<<8)|0x000000FF; |
---|
356 | 00361 } |
---|
357 | 00362 }; |
---|
358 | 00363 <span class="keyword">struct </span>X8B8G8R8toR8G8B8A8: <span class="keyword">public</span> <a class="code" href="classPixelConverter.html">PixelConverter</a> <uint32, uint32, FMTCONVERTERID(PF_X8B8G8R8, PF_R8G8B8A8)> |
---|
359 | 00364 { |
---|
360 | 00365 <span class="keyword">inline</span> <span class="keyword">static</span> DstType pixelConvert(SrcType inp) |
---|
361 | 00366 { |
---|
362 | 00367 <span class="keywordflow">return</span> ((inp&0x0000FF)<<24)|((inp&0xFF0000)>>8)|((inp&0x00FF00)<<8)|0x000000FF; |
---|
363 | 00368 } |
---|
364 | 00369 }; |
---|
365 | 00370 |
---|
366 | 00371 |
---|
367 | 00372 <span class="preprocessor">#define CASECONVERTER(type) case type::ID : PixelBoxConverter<type>::conversion(src, dst); return 1;</span> |
---|
368 | 00373 <span class="preprocessor"></span> |
---|
369 | 00374 <span class="keyword">inline</span> <span class="keywordtype">int</span> doOptimizedConversion(<span class="keyword">const</span> <a class="code" href="classOgre_1_1PixelBox.html">PixelBox</a> &src, <span class="keyword">const</span> <a class="code" href="classOgre_1_1PixelBox.html">PixelBox</a> &dst) |
---|
370 | 00375 {; |
---|
371 | 00376 <span class="keywordflow">switch</span>(FMTCONVERTERID(src.<a class="code" href="classOgre_1_1PixelBox.html#Ogre_1_1PixelBoxo1">format</a>, dst.<a class="code" href="classOgre_1_1PixelBox.html#Ogre_1_1PixelBoxo1">format</a>)) |
---|
372 | 00377 { |
---|
373 | 00378 <span class="comment">// Register converters here</span> |
---|
374 | 00379 CASECONVERTER(<a class="code" href="classA8R8G8B8toA8B8G8R8.html">A8R8G8B8toA8B8G8R8</a>); |
---|
375 | 00380 CASECONVERTER(<a class="code" href="classA8R8G8B8toB8G8R8A8.html">A8R8G8B8toB8G8R8A8</a>); |
---|
376 | 00381 CASECONVERTER(<a class="code" href="classA8R8G8B8toR8G8B8A8.html">A8R8G8B8toR8G8B8A8</a>); |
---|
377 | 00382 CASECONVERTER(<a class="code" href="classA8B8G8R8toA8R8G8B8.html">A8B8G8R8toA8R8G8B8</a>); |
---|
378 | 00383 CASECONVERTER(<a class="code" href="classA8B8G8R8toB8G8R8A8.html">A8B8G8R8toB8G8R8A8</a>); |
---|
379 | 00384 CASECONVERTER(<a class="code" href="classA8B8G8R8toR8G8B8A8.html">A8B8G8R8toR8G8B8A8</a>); |
---|
380 | 00385 CASECONVERTER(<a class="code" href="classB8G8R8A8toA8R8G8B8.html">B8G8R8A8toA8R8G8B8</a>); |
---|
381 | 00386 CASECONVERTER(<a class="code" href="classB8G8R8A8toA8B8G8R8.html">B8G8R8A8toA8B8G8R8</a>); |
---|
382 | 00387 CASECONVERTER(<a class="code" href="classB8G8R8A8toR8G8B8A8.html">B8G8R8A8toR8G8B8A8</a>); |
---|
383 | 00388 CASECONVERTER(<a class="code" href="classR8G8B8A8toA8R8G8B8.html">R8G8B8A8toA8R8G8B8</a>); |
---|
384 | 00389 CASECONVERTER(<a class="code" href="classR8G8B8A8toA8B8G8R8.html">R8G8B8A8toA8B8G8R8</a>); |
---|
385 | 00390 CASECONVERTER(<a class="code" href="classR8G8B8A8toB8G8R8A8.html">R8G8B8A8toB8G8R8A8</a>); |
---|
386 | 00391 CASECONVERTER(<a class="code" href="classA8B8G8R8toL8.html">A8B8G8R8toL8</a>); |
---|
387 | 00392 CASECONVERTER(<a class="code" href="classL8toA8B8G8R8.html">L8toA8B8G8R8</a>); |
---|
388 | 00393 CASECONVERTER(<a class="code" href="classA8R8G8B8toL8.html">A8R8G8B8toL8</a>); |
---|
389 | 00394 CASECONVERTER(<a class="code" href="classL8toA8R8G8B8.html">L8toA8R8G8B8</a>); |
---|
390 | 00395 CASECONVERTER(<a class="code" href="classB8G8R8A8toL8.html">B8G8R8A8toL8</a>); |
---|
391 | 00396 CASECONVERTER(<a class="code" href="classL8toB8G8R8A8.html">L8toB8G8R8A8</a>); |
---|
392 | 00397 CASECONVERTER(<a class="code" href="classL8toL16.html">L8toL16</a>); |
---|
393 | 00398 CASECONVERTER(<a class="code" href="classL16toL8.html">L16toL8</a>); |
---|
394 | 00399 CASECONVERTER(<a class="code" href="classB8G8R8toR8G8B8.html">B8G8R8toR8G8B8</a>); |
---|
395 | 00400 CASECONVERTER(<a class="code" href="classR8G8B8toB8G8R8.html">R8G8B8toB8G8R8</a>); |
---|
396 | 00401 CASECONVERTER(<a class="code" href="classR8G8B8toA8R8G8B8.html">R8G8B8toA8R8G8B8</a>); |
---|
397 | 00402 CASECONVERTER(<a class="code" href="classB8G8R8toA8R8G8B8.html">B8G8R8toA8R8G8B8</a>); |
---|
398 | 00403 CASECONVERTER(<a class="code" href="classR8G8B8toA8B8G8R8.html">R8G8B8toA8B8G8R8</a>); |
---|
399 | 00404 CASECONVERTER(<a class="code" href="classB8G8R8toA8B8G8R8.html">B8G8R8toA8B8G8R8</a>); |
---|
400 | 00405 CASECONVERTER(<a class="code" href="classR8G8B8toB8G8R8A8.html">R8G8B8toB8G8R8A8</a>); |
---|
401 | 00406 CASECONVERTER(<a class="code" href="classB8G8R8toB8G8R8A8.html">B8G8R8toB8G8R8A8</a>); |
---|
402 | 00407 CASECONVERTER(<a class="code" href="classA8R8G8B8toR8G8B8.html">A8R8G8B8toR8G8B8</a>); |
---|
403 | 00408 CASECONVERTER(<a class="code" href="classA8R8G8B8toB8G8R8.html">A8R8G8B8toB8G8R8</a>); |
---|
404 | 00409 CASECONVERTER(<a class="code" href="classX8R8G8B8toA8R8G8B8.html">X8R8G8B8toA8R8G8B8</a>); |
---|
405 | 00410 CASECONVERTER(<a class="code" href="classX8R8G8B8toA8B8G8R8.html">X8R8G8B8toA8B8G8R8</a>); |
---|
406 | 00411 CASECONVERTER(<a class="code" href="classX8R8G8B8toB8G8R8A8.html">X8R8G8B8toB8G8R8A8</a>); |
---|
407 | 00412 CASECONVERTER(<a class="code" href="classX8R8G8B8toR8G8B8A8.html">X8R8G8B8toR8G8B8A8</a>); |
---|
408 | 00413 CASECONVERTER(<a class="code" href="classX8B8G8R8toA8R8G8B8.html">X8B8G8R8toA8R8G8B8</a>); |
---|
409 | 00414 CASECONVERTER(<a class="code" href="classX8B8G8R8toA8B8G8R8.html">X8B8G8R8toA8B8G8R8</a>); |
---|
410 | 00415 CASECONVERTER(<a class="code" href="classX8B8G8R8toB8G8R8A8.html">X8B8G8R8toB8G8R8A8</a>); |
---|
411 | 00416 CASECONVERTER(<a class="code" href="classX8B8G8R8toR8G8B8A8.html">X8B8G8R8toR8G8B8A8</a>); |
---|
412 | 00417 |
---|
413 | 00418 <span class="keywordflow">default</span>: |
---|
414 | 00419 <span class="keywordflow">return</span> 0; |
---|
415 | 00420 } |
---|
416 | 00421 } |
---|
417 | 00422 <span class="preprocessor">#undef CASECONVERTER</span> |
---|
418 | 00423 <span class="preprocessor"></span> |
---|
419 | 00424 <span class="preprocessor">#endif // VC6 protection</span> |
---|
420 | </pre></div><hr> |
---|
421 | <p> |
---|
422 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
423 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
424 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
425 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
426 | <Work rdf:about=""> |
---|
427 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
428 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
429 | </Work> |
---|
430 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
431 | |
---|
432 | Last modified Sun Feb 12 12:59:49 2006 |
---|
433 | </p> |
---|
434 | </body> |
---|
435 | </html> |
---|