#include "jinclude.h"
#include "jpeglib.h"
#include "jerror.h"
Go to the source code of this file.
Data Structures | |
struct | my_source_mgr |
Defines | |
#define | INPUT_BUF_SIZE 4096 |
Typedefs | |
typedef my_source_mgr * | my_src_ptr |
Functions | |
init_source (j_decompress_ptr cinfo) | |
term_source (j_decompress_ptr cinfo) |
#define INPUT_BUF_SIZE 4096 |
Definition at line 35 of file jdatasrc.c.
typedef my_source_mgr* my_src_ptr |
Definition at line 33 of file jdatasrc.c.
init_source | ( | j_decompress_ptr | cinfo | ) |
Definition at line 44 of file jdatasrc.c.
References my_source_mgr::start_of_file, and TRUE.
00045 { 00046 my_src_ptr src = (my_src_ptr) cinfo->src; 00047 00048 /* We reset the empty-input-file flag for each image, 00049 * but we don't clear the input buffer. 00050 * This is correct behavior for reading a series of images from one source. 00051 */ 00052 src->start_of_file = TRUE; 00053 }
term_source | ( | j_decompress_ptr | cinfo | ) |