[Scummvm-cvs-logs] CVS: scummvm/common scaler.cpp,1.44,1.45

Max Horn fingolfin at users.sourceforge.net
Sat Sep 27 16:12:03 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv13888

Modified Files:
	scaler.cpp 
Log Message:
cheak doxygen comments

Index: scaler.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scaler.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- scaler.cpp	27 Sep 2003 22:53:24 -0000	1.44
+++ scaler.cpp	27 Sep 2003 23:11:26 -0000	1.45
@@ -666,14 +666,14 @@
 
 static int   RGBtoYUV[65536];
 
-// Interpolate two 16 bit pixels with the given weights.
+/** Interpolate two 16 bit pixels with the weights specified in the template parameters. */
 template<int w1, int w2>
 static inline uint16 interpolate16_2(uint16 p1, uint16 p2) {
 	return ((((p1 & redblueMask) * w1 + (p2 & redblueMask) * w2) / (w1 + w2)) & redblueMask) |
 	       ((((p1 & greenMask) * w1 + (p2 & greenMask) * w2) / (w1 + w2)) & greenMask);
 }
 
-// Interpolate three 16 bit pixels with the given weights.
+/** Interpolate three 16 bit pixels with the weights specified in the template parameters. */
 template<int w1, int w2, int w3>
 static inline uint16 interpolate16_3(uint16 p1, uint16 p2, uint16 p3) {
 	return ((((p1 & redblueMask) * w1 + (p2 & redblueMask) * w2 + (p3 & redblueMask) * w3) / (w1 + w2 + w3)) & redblueMask) |





More information about the Scummvm-git-logs mailing list