diff options
author | Max Horn | 2010-03-08 10:30:23 +0000 |
---|---|---|
committer | Max Horn | 2010-03-08 10:30:23 +0000 |
commit | a558e60fec492d837f05a5b0e3a62b40b48e7964 (patch) | |
tree | f2ff57d1c63f0478bf2f989fa1ca3ae17629e2f8 /graphics/scaler/intern.h | |
parent | 78b6bed8db4052d97d37fa4ca0bac1bab7b669c3 (diff) | |
download | scummvm-rg350-a558e60fec492d837f05a5b0e3a62b40b48e7964.tar.gz scummvm-rg350-a558e60fec492d837f05a5b0e3a62b40b48e7964.tar.bz2 scummvm-rg350-a558e60fec492d837f05a5b0e3a62b40b48e7964.zip |
SCALERS: Get rid of MAKE_WRAPPER; make RGBtoYUV internal
svn-id: r48189
Diffstat (limited to 'graphics/scaler/intern.h')
-rw-r--r-- | graphics/scaler/intern.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/graphics/scaler/intern.h b/graphics/scaler/intern.h index 706f0a11d0..4addd6d3bd 100644 --- a/graphics/scaler/intern.h +++ b/graphics/scaler/intern.h @@ -211,22 +211,4 @@ 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" uint32 *RGBtoYUV; - -/** Auxiliary macro to simplify creating those template function wrappers. */ -#define MAKE_WRAPPER(FUNC) \ - void FUNC(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) { \ - if (gBitFormat == 565) \ - FUNC ## Template<Graphics::ColorMasks<565> >(srcPtr, srcPitch, dstPtr, dstPitch, width, height); \ - else \ - FUNC ## Template<Graphics::ColorMasks<555> >(srcPtr, srcPitch, dstPtr, dstPitch, width, height); \ - } - -/** Specifies the currently active 16bit pixel format, 555 or 565. */ -extern int gBitFormat; - #endif |