COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
cdjpeg.h File Reference
#include "jinclude.h"
#include "jpeglib.h"
#include "jerror.h"
#include "cderror.h"
Include dependency graph for cdjpeg.h:

Go to the source code of this file.

Classes

struct  cjpeg_source_struct
 
struct  djpeg_dest_struct
 
struct  cdjpeg_progress_mgr
 

Macros

#define JPEG_CJPEG_DJPEG   /* define proper options in jconfig.h */
 
#define JPEG_INTERNAL_OPTIONS   /* cjpeg.c,djpeg.c need to see xxx_SUPPORTED */
 
#define READ_BINARY   "rb"
 
#define WRITE_BINARY   "wb"
 
#define EXIT_FAILURE   1
 
#define EXIT_SUCCESS   0
 
#define EXIT_WARNING   2
 

Typedefs

typedef struct cjpeg_source_structcjpeg_source_ptr
 
typedef struct djpeg_dest_structdjpeg_dest_ptr
 
typedef struct cdjpeg_progress_mgrcd_progress_ptr
 

Functions

cjpeg_source_ptr jinit_read_bmp (j_compress_ptr cinfo)
 
djpeg_dest_ptr jinit_write_bmp (j_decompress_ptr cinfo, boolean is_os2)
 
cjpeg_source_ptr jinit_read_gif (j_compress_ptr cinfo)
 
djpeg_dest_ptr jinit_write_gif (j_decompress_ptr cinfo)
 
cjpeg_source_ptr jinit_read_ppm (j_compress_ptr cinfo)
 
djpeg_dest_ptr jinit_write_ppm (j_decompress_ptr cinfo)
 
cjpeg_source_ptr jinit_read_rle (j_compress_ptr cinfo)
 
djpeg_dest_ptr jinit_write_rle (j_decompress_ptr cinfo)
 
cjpeg_source_ptr jinit_read_targa (j_compress_ptr cinfo)
 
djpeg_dest_ptr jinit_write_targa (j_decompress_ptr cinfo)
 
boolean read_quant_tables (j_compress_ptr cinfo, char *filename, int scale_factor, boolean force_baseline)
 
boolean read_scan_script (j_compress_ptr cinfo, char *filename)
 
boolean set_quant_slots (j_compress_ptr cinfo, char *arg)
 
boolean set_sample_factors (j_compress_ptr cinfo, char *arg)
 
void read_color_map (j_decompress_ptr cinfo, FILE *infile)
 
void enable_signal_catcher (j_common_ptr cinfo)
 
void start_progress_monitor (j_common_ptr cinfo, cd_progress_ptr progress)
 
void end_progress_monitor (j_common_ptr cinfo)
 
boolean keymatch (char *arg, const char *keyword, int minchars)
 
FILE * read_stdin (void)
 
FILE * write_stdout (void)
 

Macro Definition Documentation

#define JPEG_CJPEG_DJPEG   /* define proper options in jconfig.h */
#define JPEG_INTERNAL_OPTIONS   /* cjpeg.c,djpeg.c need to see xxx_SUPPORTED */
#define READ_BINARY   "rb"
#define WRITE_BINARY   "wb"
#define EXIT_FAILURE   1
#define EXIT_SUCCESS   0
#define EXIT_WARNING   2

Typedef Documentation

Function Documentation

cjpeg_source_ptr jinit_read_bmp ( j_compress_ptr  cinfo)
djpeg_dest_ptr jinit_write_bmp ( j_decompress_ptr  cinfo,
boolean  is_os2 
)
cjpeg_source_ptr jinit_read_gif ( j_compress_ptr  cinfo)
djpeg_dest_ptr jinit_write_gif ( j_decompress_ptr  cinfo)
cjpeg_source_ptr jinit_read_ppm ( j_compress_ptr  cinfo)
djpeg_dest_ptr jinit_write_ppm ( j_decompress_ptr  cinfo)
cjpeg_source_ptr jinit_read_rle ( j_compress_ptr  cinfo)
djpeg_dest_ptr jinit_write_rle ( j_decompress_ptr  cinfo)
cjpeg_source_ptr jinit_read_targa ( j_compress_ptr  cinfo)
djpeg_dest_ptr jinit_write_targa ( j_decompress_ptr  cinfo)
boolean read_quant_tables ( j_compress_ptr  cinfo,
char *  filename,
int  scale_factor,
boolean  force_baseline 
)
boolean read_scan_script ( j_compress_ptr  cinfo,
char *  filename 
)
boolean set_quant_slots ( j_compress_ptr  cinfo,
char *  arg 
)
boolean set_sample_factors ( j_compress_ptr  cinfo,
char *  arg 
)
void read_color_map ( j_decompress_ptr  cinfo,
FILE *  infile 
)
void enable_signal_catcher ( j_common_ptr  cinfo)
void start_progress_monitor ( j_common_ptr  cinfo,
cd_progress_ptr  progress 
)
void end_progress_monitor ( j_common_ptr  cinfo)
boolean keymatch ( char *  arg,
const char *  keyword,
int  minchars 
)
FILE* read_stdin ( void  )
FILE* write_stdout ( void  )