mirror of
https://github.com/mupen64plus/mupen64plus-oldsvn.git
synced 2025-04-02 10:52:35 -04:00
30 lines
689 B
C
30 lines
689 B
C
#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.
|
|
*/
|
|
#include "BMGImage.h"
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern
|
|
BMGError BMG_EXPORT ReadJPEG( const char *filename,
|
|
struct BMGImageStruct *img );
|
|
|
|
extern
|
|
BMGError BMG_EXPORT WriteJPEG( const char *filename,
|
|
struct BMGImageStruct img,
|
|
int quality );
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif
|