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 | Functions
rdswitch.c File Reference
#include "cdjpeg.h"
#include <ctype.h>

Go to the source code of this file.

Macros

#define MAX_SCANS   100 /* quite arbitrary limit */
 

Functions

 text_getc (FILE *file)
 
 read_text_integer (FILE *file, long *result, int *termchar)
 
 read_quant_tables (j_compress_ptr cinfo, char *filename, int scale_factor, boolean force_baseline)
 
 read_scan_integer (FILE *file, long *result, int *termchar)
 
 read_scan_script (j_compress_ptr cinfo, char *filename)
 
 set_quant_slots (j_compress_ptr cinfo, char *arg)
 
 set_sample_factors (j_compress_ptr cinfo, char *arg)
 

Macro Definition Documentation

◆ MAX_SCANS

#define MAX_SCANS   100 /* quite arbitrary limit */

Referenced by read_scan_script().

Function Documentation

◆ read_quant_tables()

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

◆ read_scan_integer()

read_scan_integer ( FILE *  file,
long result,
int termchar 
)

Definition at line 129 of file rdswitch.c.

References EOF, FALSE, GLOBAL, read_text_integer(), text_getc(), and TRUE.

Referenced by read_scan_script().

◆ read_scan_script()

read_scan_script ( j_compress_ptr  cinfo,
char *  filename 
)

◆ read_text_integer()

read_text_integer ( FILE *  file,
long result,
int termchar 
)

Definition at line 38 of file rdswitch.c.

References EOF, FALSE, GLOBAL, text_getc(), and TRUE.

Referenced by read_quant_tables(), and read_scan_integer().

◆ set_quant_slots()

set_quant_slots ( j_compress_ptr  cinfo,
char *  arg 
)

Definition at line 266 of file rdswitch.c.

References arg, FALSE, GLOBAL, MAX_COMPONENTS, NUM_QUANT_TBLS, and TRUE.

◆ set_sample_factors()

set_sample_factors ( j_compress_ptr  cinfo,
char *  arg 
)

Definition at line 301 of file rdswitch.c.

References arg, FALSE, MAX_COMPONENTS, and TRUE.

◆ text_getc()

text_getc ( FILE *  file)

Definition at line 21 of file rdswitch.c.

References EOF, and LOCAL.

Referenced by read_scan_integer(), and read_text_integer().