[Scummvm-cvs-logs] CVS: scummvm/common/scaler intern.h,1.13,1.14
Max Horn
fingolfin at users.sourceforge.net
Wed Apr 27 01:44:52 CEST 2005
Update of /cvsroot/scummvm/scummvm/common/scaler
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17785/scaler
Modified Files:
intern.h
Log Message:
Use a pointer ref for RGBtoYUV, instead of an array, so that we can choose to allocate RGBtoYUV on the heap; added a comment that tries to explain why RGBtoYUV and LUT16to32 are evil and slow and how they could be removed
Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scaler/intern.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- intern.h 1 Jan 2005 16:08:50 -0000 1.13
+++ intern.h 27 Apr 2005 08:43:22 -0000 1.14
@@ -153,7 +153,7 @@
* 16bit RGB to YUV conversion table. This table is setup by InitLUT().
* Used by the hq scaler family.
*/
-extern "C" uint RGBtoYUV[65536];
+extern "C" uint *RGBtoYUV;
/** Auxiliary macro to simplify creating those template function wrappers. */
#define MAKE_WRAPPER(FUNC) \
More information about the Scummvm-git-logs
mailing list