From: <enl...@li...> - 2002-07-23 08:58:58
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas2 Dir : e17/libs/evas2/src/lib/include Modified Files: Tag: SPLIT evas_common.h Log Message: errr some primitive 8bpp support - need to work on it. err READMe etc. cleanups =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas2/src/lib/include/Attic/evas_common.h,v retrieving revision 1.1.2.23 retrieving revision 1.1.2.24 diff -u -3 -r1.1.2.23 -r1.1.2.24 --- evas_common.h 17 Jul 2002 03:24:10 -0000 1.1.2.23 +++ evas_common.h 23 Jul 2002 08:58:55 -0000 1.1.2.24 @@ -21,12 +21,18 @@ # define DM_TABLE _dither_44 # define DM_SIZE 4 # define DM_BITS 4 +# define DM_DIV 16 # define USE_DITHER_44 1 +# define DM_MSK (DM_SIZE - 1) +# define DM_SHF(_b) (DM_BITS - (8 - _b)) #else # define DM_TABLE _dither_128128 # define DM_SIZE 128 # define DM_BITS 6 +# define DM_DIV 64 # define USE_DITHER_128128 1 +# define DM_MSK (DM_SIZE - 1) +# define DM_SHF(_b) (DM_BITS - (8 - _b)) #endif /*****************************************************************************/ @@ -338,9 +344,6 @@ src_ptr = src + ((w - 1) * (h + src_jump)) + (y + 1); \ dst_ptr += dst_jump; \ } - -#define DM_MSK (DM_SIZE - 1) -#define DM_SHF(_b) (DM_BITS - (8 - _b)) #ifndef WORDS_BIGENDIAN /* x86 */ |