Rice Video Plugin for GLES1.1
[mupen64plus-pandora.git] / source / rice_gles / src / liblinux / jpegrw.h
diff --git a/source/rice_gles/src/liblinux/jpegrw.h b/source/rice_gles/src/liblinux/jpegrw.h
new file mode 100644 (file)
index 0000000..8745c0b
--- /dev/null
@@ -0,0 +1,36 @@
+#ifndef _JPEG_RW_H_
+#define _JPEG_RW_H_
+/*
+//  header file for the BMGLib JPEG functions
+//
+//  Copyright 2000, 2001 M. Scott Heiman
+//  All Rights Reserved
+//  libJPEG is Copyright (C) 1991-1998, Thomas G. Lane and is part of the
+//      Independent JPEG Group's software.
+//
+// We are releasing this software for both noncommercial and commercial use.
+// Companies are welcome to use it as the basis for JPEG-related products.
+// We do not ask a royalty, although we do ask for an acknowledgement in
+// product literature (see the README file in the distribution for details).
+// We hope to make this software industrial-quality --- although, as with
+// anything that's free, we offer no warranty and accept no liability.
+*/
+#include "BMGImage.h"
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+extern BMGError  ReadJPEG( const char *filename,
+                         struct BMGImageStruct *img );
+
+extern BMGError  WriteJPEG( const char *filename,
+                          struct BMGImageStruct img,
+                          int quality );
+
+#if defined(__cplusplus)
+ }
+#endif
+
+#endif
+