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]
Macros | Enumerations | Functions
djpeg.c File Reference
#include "cdjpeg.h"
#include "jversion.h"
#include <ctype.h>
#include "cderror.h"

Go to the source code of this file.

Macros

#define JMESSAGE(code, string)   string ,
 
#define DEFAULT_FMT   FMT_PPM
 

Enumerations

enum  IMAGE_FORMATS {
  FMT_BMP, FMT_GIF, FMT_OS2, FMT_PPM,
  FMT_RLE, FMT_TARGA, FMT_TIFF
}
 

Functions

 usage (void)
 
 parse_switches (j_decompress_ptr cinfo, int argc, char **argv, int last_file_arg_seen, boolean for_real)
 
 jpeg_getc (j_decompress_ptr cinfo)
 
 print_text_marker (j_decompress_ptr cinfo)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ DEFAULT_FMT

#define DEFAULT_FMT   FMT_PPM

Definition at line 70 of file djpeg.c.

◆ JMESSAGE

#define JMESSAGE (   code,
  string 
)    string ,

Definition at line 44 of file djpeg.c.

Enumeration Type Documentation

◆ IMAGE_FORMATS

Enumerator
FMT_BMP 
FMT_GIF 
FMT_OS2 
FMT_PPM 
FMT_RLE 
FMT_TARGA 
FMT_TIFF 

Definition at line 59 of file djpeg.c.

Function Documentation

◆ jpeg_getc()

jpeg_getc ( j_decompress_ptr  cinfo)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 424 of file djpeg.c.

References NULL.

◆ parse_switches()

parse_switches ( j_decompress_ptr  cinfo,
int  argc,
char **  argv,
int  last_file_arg_seen,
boolean  for_real 
)

Definition at line 162 of file djpeg.c.

References arg.

◆ print_text_marker()

print_text_marker ( j_decompress_ptr  cinfo)

Definition at line 369 of file djpeg.c.

References JPEG_APP0, JPEG_COM, jpeg_getc(), and TRUE.

◆ usage()

usage ( void  )

Definition at line 90 of file djpeg.c.