w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

cdjpeg.h File Reference
#include "jinclude.h"
#include "jpeglib.h"
#include "jerror.h"
#include "cderror.h"
Include dependency graph for cdjpeg.h:
This graph shows which files directly or indirectly include this file:

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)
 
FILEread_stdin (void)
 
FILEwrite_stdout (void)
 

Macro Definition Documentation

◆ EXIT_FAILURE

#define EXIT_FAILURE   1

Definition at line 169 of file cdjpeg.h.

◆ EXIT_SUCCESS

#define EXIT_SUCCESS   0

Definition at line 175 of file cdjpeg.h.

◆ EXIT_WARNING

#define EXIT_WARNING   2

Definition at line 182 of file cdjpeg.h.

◆ JPEG_CJPEG_DJPEG

#define JPEG_CJPEG_DJPEG   /* define proper options in jconfig.h */

Definition at line 12 of file cdjpeg.h.

◆ JPEG_INTERNAL_OPTIONS

#define JPEG_INTERNAL_OPTIONS   /* cjpeg.c,djpeg.c need to see xxx_SUPPORTED */

Definition at line 13 of file cdjpeg.h.

◆ READ_BINARY

#define READ_BINARY   "rb"

Definition at line 163 of file cdjpeg.h.

◆ WRITE_BINARY

#define WRITE_BINARY   "wb"

Definition at line 164 of file cdjpeg.h.

Typedef Documentation

◆ cd_progress_ptr

Definition at line 89 of file cdjpeg.h.

◆ cjpeg_source_ptr

Definition at line 24 of file cdjpeg.h.

◆ djpeg_dest_ptr

Definition at line 45 of file cdjpeg.h.

Function Documentation

◆ enable_signal_catcher()

void enable_signal_catcher ( j_common_ptr  cinfo)

Referenced by main().

◆ end_progress_monitor()

void end_progress_monitor ( j_common_ptr  cinfo)

Referenced by main().

◆ jinit_read_bmp()

cjpeg_source_ptr jinit_read_bmp ( j_compress_ptr  cinfo)

Definition at line 423 of file rdbmp.c.

Referenced by select_file_type().

◆ jinit_read_gif()

cjpeg_source_ptr jinit_read_gif ( j_compress_ptr  cinfo)

Definition at line 31 of file rdgif.c.

References exit(), EXIT_FAILURE, fprintf, and NULL.

Referenced by select_file_type().

◆ jinit_read_ppm()

cjpeg_source_ptr jinit_read_ppm ( j_compress_ptr  cinfo)

Definition at line 443 of file rdppm.c.

Referenced by select_file_type().

◆ jinit_read_rle()

cjpeg_source_ptr jinit_read_rle ( j_compress_ptr  cinfo)

Referenced by select_file_type().

◆ jinit_read_targa()

cjpeg_source_ptr jinit_read_targa ( j_compress_ptr  cinfo)

Definition at line 484 of file rdtarga.c.

Referenced by select_file_type().

◆ jinit_write_bmp()

djpeg_dest_ptr jinit_write_bmp ( j_decompress_ptr  cinfo,
boolean  is_os2 
)

Definition at line 390 of file wrbmp.c.

Referenced by main().

◆ jinit_write_gif()

djpeg_dest_ptr jinit_write_gif ( j_decompress_ptr  cinfo)

Definition at line 360 of file wrgif.c.

Referenced by main().

◆ jinit_write_ppm()

djpeg_dest_ptr jinit_write_ppm ( j_decompress_ptr  cinfo)

Definition at line 219 of file wrppm.c.

Referenced by main().

◆ jinit_write_rle()

djpeg_dest_ptr jinit_write_rle ( j_decompress_ptr  cinfo)

Referenced by main().

◆ jinit_write_targa()

djpeg_dest_ptr jinit_write_targa ( j_decompress_ptr  cinfo)

Definition at line 225 of file wrtarga.c.

Referenced by main().

◆ keymatch()

boolean keymatch ( char *  arg,
const char *  keyword,
int  minchars 
)

Definition at line 122 of file cdjpeg.c.

◆ read_color_map()

void read_color_map ( j_decompress_ptr  cinfo,
FILE infile 
)

◆ read_quant_tables()

static boolean read_quant_tables ( j_compress_ptr  cinfo,
char *  filename,
int  scale_factor,
boolean  force_baseline 
)

◆ read_scan_script()

◆ read_stdin()

FILE* read_stdin ( void  )

Definition at line 149 of file cdjpeg.c.

◆ set_quant_slots()

static boolean set_quant_slots ( j_compress_ptr  cinfo,
char *  arg 
)

◆ set_sample_factors()

◆ start_progress_monitor()

void start_progress_monitor ( j_common_ptr  cinfo,
cd_progress_ptr  progress 
)

Referenced by main().

◆ write_stdout()

FILE* write_stdout ( void  )

Definition at line 167 of file cdjpeg.c.