Rice Video Plugin for GLES1.1
[mupen64plus-pandora.git] / source / rice_gles / src / liblinux / pngrw.h
diff --git a/source/rice_gles/src/liblinux/pngrw.h b/source/rice_gles/src/liblinux/pngrw.h
new file mode 100644 (file)
index 0000000..077b134
--- /dev/null
@@ -0,0 +1,55 @@
+#ifndef _PNG_RW_H_
+#define _PNG_RW_H_
+/*
+//  header file for the BMGLib PNG functions
+//
+//  Copyright 2000, 2001 M. Scott Heiman
+//  All Rights Reserved
+//  libPNG is Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
+//    (libpng versions 0.5, May 1995, through 0.89c, May 1996)
+//    Copyright (c) 1996, 1997 Andreas Dilger
+//    (libpng versions 0.90, December 1996, through 0.96, May 1997)
+//    Copyright (c) 1998, 1999 Glenn Randers-Pehrson
+//    (libpng versions 0.97, January 1998, through 1.0.5, October 15, 1999)
+//
+// You may use the software for any purpose you see fit. You may modify
+// it, incorporate it in a commercial application, use it for school,
+// even turn it in as homework. You must keep the Copyright in the
+// header and source files. This software is not in the "Public Domain".
+// You may use this software at your own risk. I have made a reasonable
+// effort to verify that this software works in the manner I expect it to;
+// however,...
+//
+// THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" AND
+// WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING
+// WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A
+// PARTICULAR PURPOSE. IN NO EVENT SHALL MICHAEL S. HEIMAN BE LIABLE TO
+// YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL, INDIRECT OR
+// CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING
+// WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE,
+// OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT MICHAEL S. HEIMAN HAS
+// BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
+// ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
+// POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
+*/
+#include "BMGImage.h"
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+extern
+BMGError  ReadPNG( const char *filename, struct BMGImageStruct * volatile img );
+extern
+BMGError  ReadPNGInfo( const char *filename, struct BMGImageStruct * volatile img );
+
+extern
+BMGError  WritePNG( const char *filename,
+                         struct BMGImageStruct img );
+
+#if defined(__cplusplus)
+ }
+#endif
+
+#endif
+