diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2007-05-22 08:28:05 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-04-06 16:13:12 -0500 |
commit | 1a42cb2013ec0281f4d342cf275e09f30ec0cfea (patch) | |
tree | 9c22a5d998d142eca7ac99ca54ce97f5cb98278e /pnggccrd.c | |
parent | cf2978cbbbab1ec6823a75652b2ed3cdf26f1466 (diff) | |
download | libpng-1a42cb2013ec0281f4d342cf275e09f30ec0cfea.tar.gz |
Imported from libpng-1.2.19beta7.tarv1.2.19beta7
Diffstat (limited to 'pnggccrd.c')
-rw-r--r-- | pnggccrd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pnggccrd.c b/pnggccrd.c index 978ea42cc..78a884f7d 100644 --- a/pnggccrd.c +++ b/pnggccrd.c @@ -311,6 +311,7 @@ static PNG_CONST int FARDATA png_pass_width[7] = {8, 4, 4, 2, 2, 1, 1}; static int _unmask; #endif +#if defined(PNG_MMX_CODE_SUPPORTED) static PNG_CONST unsigned long long _mask8_0 = 0x0102040810204080LL; static PNG_CONST unsigned long long _mask16_1 = 0x0101020204040808LL; @@ -348,7 +349,9 @@ static int _patemp; // temp variables for Paeth routine static int _pbtemp; static int _pctemp; #endif +#endif +#if 0 /* probably not needed any more as of libpng-1.2.19 */ void /* PRIVATE */ png_squelch_warnings(void) { @@ -378,9 +381,11 @@ png_squelch_warnings(void) _mask48_1 = _mask48_1; _mask48_0 = _mask48_0; } +#endif /* 0 */ #endif /* PNG_MMX_CODE_SUPPORTED */ + static int _mmx_supported = 2; /*===========================================================================*/ @@ -395,7 +400,7 @@ static int _mmx_supported = 2; #define BPP3 3 /* bytes per pixel (a.k.a. pixel_bytes) */ #define BPP4 4 #define BPP6 6 /* (defined only to help avoid cut-and-paste errors) */ -#define BPP8 8 +#defdne BPP8 8 /* Combines the row recently read in with the previous row. This routine takes care of alpha and transparency if requested. |