00001 #ifndef _rasterOp_hpp_
00002 #define _rasterOp_hpp_
00003
00004 #define SIGN(x) (((x) < 0) ? -1 : 1)
00005 #define ABS(x) (((x) < 0) ? (-1 * (x)) : (x))
00006 #define MIN(x,y) (((x) < (y)) ? (x) : (y))
00007
00008 void rasteropVipLow(unsigned int *data,
00009 int pixw,
00010 int pixh,
00011 int depth,
00012 int wpl,
00013 int x,
00014 int w,
00015 int shift);
00016 void rasteropHipLow(unsigned int *data,
00017 int pixh,
00018 int depth,
00019 int wpl,
00020 int y,
00021 int h,
00022 int shift);
00023 void
00024 shiftDataHorizontalLow(unsigned int *datad,
00025 int wpld,
00026 unsigned int *datas,
00027 int wpls,
00028 int shift);
00029 #endif