diff options
author | Max Horn | 2003-04-25 20:03:00 +0000 |
---|---|---|
committer | Max Horn | 2003-04-25 20:03:00 +0000 |
commit | 5c93732d6030efbb8f0d9bbf738b87f28dfc1d36 (patch) | |
tree | 2be71aca1b4af8dc44196ed0ffd2c3206ab616ae /common/scaler.h | |
parent | 0c933f5c503d0ba20a10250d43b85ee99d8b6468 (diff) | |
download | scummvm-rg350-5c93732d6030efbb8f0d9bbf738b87f28dfc1d36.tar.gz scummvm-rg350-5c93732d6030efbb8f0d9bbf738b87f28dfc1d36.tar.bz2 scummvm-rg350-5c93732d6030efbb8f0d9bbf738b87f28dfc1d36.zip |
cleanup; added comment
svn-id: r7119
Diffstat (limited to 'common/scaler.h')
-rw-r--r-- | common/scaler.h | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/common/scaler.h b/common/scaler.h index 9edae0c923..03b206d0a0 100644 --- a/common/scaler.h +++ b/common/scaler.h @@ -22,24 +22,20 @@ #define SCALER_H extern int Init_2xSaI (uint32 BitFormat); -extern void _2xSaI(uint8 *srcPtr, uint32 srcPitch, uint8 *deltaPtr, uint8 *dstPtr, - uint32 dstPitch, int width, int height); -extern void Super2xSaI(uint8 *srcPtr, uint32 srcPitch, uint8 *deltaPtr, - uint8 *dstPtr, uint32 dstPitch, int width, int height); -extern void SuperEagle(uint8 *srcPtr, uint32 srcPitch, uint8 *deltaPtr, - uint8 *dstPtr, uint32 dstPitch, int width, int height); -extern void AdvMame2x(uint8 *srcPtr, uint32 srcPitch, uint8 *null, - uint8 *dstPtr, uint32 dstPitch, int width, int height); -extern void Normal1x(uint8 *srcPtr, uint32 srcPitch, uint8 *null, - uint8 *dstPtr, uint32 dstPitch, int width, int height); -extern void Normal2x(uint8 *srcPtr, uint32 srcPitch, uint8 *null, - uint8 *dstPtr, uint32 dstPitch, int width, int height); -extern void Normal3x(uint8 *srcPtr, uint32 srcPitch, uint8 *null, - uint8 *dstPtr, uint32 dstPitch, int width, int height); -extern void TV2x(uint8 *srcPtr, uint32 srcPitch, uint8 *null, - uint8 *dstPtr, uint32 dstPitch, int width, int height); -extern void DotMatrix(uint8 *srcPtr, uint32 srcPitch, uint8 *null, - uint8 *dstPtr, uint32 dstPitch, int width, int height); + +#define DECLARE_SCALER(x) \ + extern void x(uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, \ + uint32 dstPitch, int width, int height) + +DECLARE_SCALER(_2xSaI); +DECLARE_SCALER(Super2xSaI); +DECLARE_SCALER(SuperEagle); +DECLARE_SCALER(AdvMame2x); +DECLARE_SCALER(Normal1x); +DECLARE_SCALER(Normal2x); +DECLARE_SCALER(Normal3x); +DECLARE_SCALER(TV2x); +DECLARE_SCALER(DotMatrix); enum { |