Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Macros | Typedefs | Functions | Variables
cdjpeg.h File Reference
#include "jinclude.h"
#include "jpeglib.h"
#include "jerror.h"
#include "cderror.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

 EXTERN (cjpeg_source_ptr) jinit_read_bmp JPP((j_compress_ptr cinfo))
 
 EXTERN (djpeg_dest_ptr) jinit_write_bmp JPP((j_decompress_ptr cinfo
 
 EXTERN (boolean) read_quant_tables JPP((j_compress_ptr cinfo
 
 EXTERN (void) read_color_map JPP((j_decompress_ptr cinfo
 
 EXTERN (FILE *) read_stdin JPP((void))
 

Variables

boolean is_os2
 
char * filename
 
char int scale_factor
 
char int boolean force_baseline
 
char * arg
 
FILE * infile
 
cd_progress_ptr progress
 
const char * keyword
 
const char int minchars
 

Macro Definition Documentation

◆ EXIT_FAILURE

#define EXIT_FAILURE   1

Definition at line 169 of file cdjpeg.h.

Referenced by do_extract_currentfile(), jinit_read_gif(), main(), read_stdin(), and write_stdout().

◆ 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.

Referenced by read_stdin().

◆ WRITE_BINARY

#define WRITE_BINARY   "wb"

Definition at line 164 of file cdjpeg.h.

Referenced by write_stdout().

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

◆ EXTERN() [1/5]

EXTERN ( cjpeg_source_ptr  )

◆ EXTERN() [2/5]

EXTERN ( djpeg_dest_ptr  )

◆ EXTERN() [3/5]

EXTERN ( boolean  )

◆ EXTERN() [4/5]

EXTERN ( void  )

◆ EXTERN() [5/5]

EXTERN ( FILE *  )

Variable Documentation

◆ arg

char * arg

Definition at line 136 of file cdjpeg.h.

Referenced by main(), parse_switches(), set_quant_slots(), and set_sample_factors().

◆ filename

char* filename

Definition at line 133 of file cdjpeg.h.

◆ force_baseline

int const unsigned int int boolean force_baseline

◆ infile

FILE* infile

◆ is_os2

boolean is_os2

Definition at line 121 of file cdjpeg.h.

Referenced by jinit_write_bmp().

◆ keyword

const char* keyword

Definition at line 149 of file cdjpeg.h.

Referenced by t42_parse_dict().

◆ minchars

const char int minchars

Definition at line 149 of file cdjpeg.h.

◆ progress

cd_progress_ptr progress

Definition at line 147 of file cdjpeg.h.

Referenced by finish_output_bmp(), jinit_write_bmp(), and preload_image().

◆ scale_factor

int const unsigned int int scale_factor

Definition at line 133 of file cdjpeg.h.

Referenced by jpeg_set_linear_quality(), and read_quant_tables().