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 | Typedefs | Functions
jdatasrc.c File Reference
#include "jinclude.h"
#include "jpeglib.h"
#include "jerror.h"

Go to the source code of this file.

Macros

#define INPUT_BUF_SIZE   4096 /* choose an efficiently fread'able size */
 

Typedefs

typedef my_source_mgr * my_src_ptr
 

Functions

 init_source (j_decompress_ptr cinfo)
 
 fill_input_buffer (j_decompress_ptr cinfo)
 
 skip_input_data (j_decompress_ptr cinfo, long num_bytes)
 
 term_source (j_decompress_ptr cinfo)
 
 jpeg_stdio_src (j_decompress_ptr cinfo, FILE *infile)
 

Macro Definition Documentation

◆ INPUT_BUF_SIZE

#define INPUT_BUF_SIZE   4096 /* choose an efficiently fread'able size */

Definition at line 35 of file jdatasrc.c.

Referenced by fill_input_buffer(), and jpeg_stdio_src().

Typedef Documentation

◆ my_src_ptr

typedef my_source_mgr* my_src_ptr

Definition at line 33 of file jdatasrc.c.

Function Documentation

◆ fill_input_buffer()

fill_input_buffer ( j_decompress_ptr  cinfo)

Definition at line 90 of file jdatasrc.c.

References ERREXIT, FALSE, INPUT_BUF_SIZE, JFREAD, JPEG_EOI, METHODDEF, TRUE, and WARNMS.

Referenced by jpeg_stdio_src(), and skip_input_data().

◆ init_source()

init_source ( j_decompress_ptr  cinfo)

Definition at line 44 of file jdatasrc.c.

References TRUE.

Referenced by jpeg_stdio_src().

◆ jpeg_stdio_src()

jpeg_stdio_src ( j_decompress_ptr  cinfo,
FILE *  infile 
)

◆ skip_input_data()

skip_input_data ( j_decompress_ptr  cinfo,
long  num_bytes 
)

Definition at line 128 of file jdatasrc.c.

References fill_input_buffer(), if(), long(), METHODDEF, and num_bytes.

Referenced by jpeg_stdio_src().

◆ term_source()

term_source ( j_decompress_ptr  cinfo)

Definition at line 169 of file jdatasrc.c.

References GLOBAL.

Referenced by jpeg_stdio_src().