Imported from libpng-1.2.26beta03.tar

This commit is contained in:
Glenn Randers-Pehrson
2008-03-16 17:23:05 -05:00
parent c13f8f10e6
commit 3236beddf8
57 changed files with 380 additions and 272 deletions

View File

@@ -4,7 +4,7 @@
---------------------------------------------------------------------------
Copyright (c) 1998-2007 Greg Roelofs. All rights reserved.
Copyright (c) 1998-2008 Greg Roelofs. All rights reserved.
This software is provided "as is," without warranty of any kind,
express or implied. In no event shall the author or contributors
@@ -69,6 +69,12 @@
# define Trace(x) ;
#endif
enum rpng2_states {
kPreInit = 0,
kWindowInit,
kDone
};
typedef unsigned char uch;
typedef unsigned short ush;
typedef unsigned long ulg;
@@ -95,7 +101,7 @@ typedef struct _mainprog_info {
int nommxcombine;
int nommxinterlace;
#endif
int done;
int state;
uch bg_red;
uch bg_green;
uch bg_blue;