aboutsummaryrefslogtreecommitdiff
path: root/common/scaler.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/scaler.h')
-rw-r--r--common/scaler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/scaler.h b/common/scaler.h
index 668b02cb95..a743ee063e 100644
--- a/common/scaler.h
+++ b/common/scaler.h
@@ -23,8 +23,11 @@
extern int Init_2xSaI (uint32 BitFormat);
+typedef void ScalerProc(const uint8 *srcPtr, uint32 srcPitch,
+ uint8 *dstPtr, uint32 dstPitch, int width, int height);
+
#define DECLARE_SCALER(x) \
- extern void x(uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, \
+ extern void x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, \
uint32 dstPitch, int width, int height)
DECLARE_SCALER(_2xSaI);