diff options
author | Max Horn | 2005-04-27 08:43:23 +0000 |
---|---|---|
committer | Max Horn | 2005-04-27 08:43:23 +0000 |
commit | 3a4c1f057ec070d579d0be4307dc95afbdfb3160 (patch) | |
tree | ff7334b4fbd8a77621d6e1358adb1479e0b0fd55 /common/scaler | |
parent | b407f0040edf88090ebe76cab20191c5dcb2065b (diff) | |
download | scummvm-rg350-3a4c1f057ec070d579d0be4307dc95afbdfb3160.tar.gz scummvm-rg350-3a4c1f057ec070d579d0be4307dc95afbdfb3160.tar.bz2 scummvm-rg350-3a4c1f057ec070d579d0be4307dc95afbdfb3160.zip |
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
svn-id: r17834
Diffstat (limited to 'common/scaler')
-rw-r--r-- | common/scaler/intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/scaler/intern.h b/common/scaler/intern.h index 0c8a8fd859..bb20a43748 100644 --- a/common/scaler/intern.h +++ b/common/scaler/intern.h @@ -153,7 +153,7 @@ static inline bool diffYUV(int yuv1, int yuv2) { * 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) \ |