X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=source%2Frice_gles%2Fsrc%2Fliblinux%2Fjpegrw.h;fp=source%2Frice_gles%2Fsrc%2Fliblinux%2Fjpegrw.h;h=8745c0b5a3ec3fd6cfcdb7f3efbb197ad9ab4d43;hb=d07c171fa694cae985ad7045f9ce2b2f1a5699b4;hp=0000000000000000000000000000000000000000;hpb=ca22e7b76883b946060a6b40bb8709c1981e1cf6;p=mupen64plus-pandora.git diff --git a/source/rice_gles/src/liblinux/jpegrw.h b/source/rice_gles/src/liblinux/jpegrw.h new file mode 100644 index 0000000..8745c0b --- /dev/null +++ b/source/rice_gles/src/liblinux/jpegrw.h @@ -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 +