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

Go to the source code of this file.

Functions

 add_map_entry (j_decompress_ptr cinfo, int R, int G, int B)
 
 read_gif_map (j_decompress_ptr cinfo, FILE *infile)
 
 pbm_getc (FILE *infile)
 
 read_pbm_integer (j_decompress_ptr cinfo, FILE *infile)
 
 read_ppm_map (j_decompress_ptr cinfo, FILE *infile)
 
 read_color_map (j_decompress_ptr cinfo, FILE *infile)
 

Function Documentation

◆ add_map_entry()

add_map_entry ( j_decompress_ptr  cinfo,
int  R,
int  G,
int  B 
)

Definition at line 46 of file rdcolmap.c.

References ERREXIT1, GETJSAMPLE, LOCAL, and MAXJSAMPLE.

Referenced by read_gif_map(), and read_ppm_map().

◆ pbm_getc()

pbm_getc ( FILE *  infile)

Definition at line 121 of file rdcolmap.c.

References EOF, infile, and LOCAL.

Referenced by read_pbm_integer().

◆ read_color_map()

read_color_map ( j_decompress_ptr  cinfo,
FILE *  infile 
)

Definition at line 231 of file rdcolmap.c.

References ERREXIT, infile, JPOOL_IMAGE, MAXJSAMPLE, read_gif_map(), and read_ppm_map().

◆ read_gif_map()

read_gif_map ( j_decompress_ptr  cinfo,
FILE *  infile 
)

Definition at line 79 of file rdcolmap.c.

References add_map_entry(), BITS_IN_JSAMPLE, EOF, ERREXIT, G, i, infile, and LOCAL.

Referenced by read_color_map().

◆ read_pbm_integer()

read_pbm_integer ( j_decompress_ptr  cinfo,
FILE *  infile 
)

Definition at line 138 of file rdcolmap.c.

References EOF, ERREXIT, infile, LOCAL, and pbm_getc().

Referenced by read_ppm_map().

◆ read_ppm_map()

read_ppm_map ( j_decompress_ptr  cinfo,
FILE *  infile 
)

Definition at line 171 of file rdcolmap.c.

References add_map_entry(), EOF, ERREXIT, G, GLOBAL, infile, MAXJSAMPLE, and read_pbm_integer().

Referenced by read_color_map().