www.pudn.com > 3DEDITOR.rar > JPEG.H
//-----------------------------------------------------------------------------
// ---------------------
// File ....: interfce.h
// ---------------------
// Author...: Gus J Grubba
// Date ....: October 1995
// Descr....: C Interface to JPEG library
//
// History .: Oct, 27 1995 - Started
//
//-----------------------------------------------------------------------------
typedef struct _jpegdata {
unsigned char *ptr;
int width;
int height;
FILE *output_file;
FILE *input_file;
int aritcoding;
int CCIR601sampling;
int smoothingfactor;
int quality;
HWND hWnd;
int ProgressMsg;
int status;
int components;
} JPEGDATA;
void JpegWrite( JPEGDATA *data );
void JpegInfo( JPEGDATA *data );
void JpegRead( JPEGDATA *data );
//-- interfce.c ---------------------------------------------------------------