Go to the source code of this file.
Classes | |
struct | my_source_mgr |
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) | |
jpeg_stdio_src (j_decompress_ptr cinfo, FILE *infile) | |
#define INPUT_BUF_SIZE 4096 /* choose an efficiently fread'able size */ |
Definition at line 28 of file jdatasrc.cpp.
Referenced by fill_input_buffer(), and jpeg_stdio_src().
typedef my_source_mgr* my_src_ptr |
Definition at line 26 of file jdatasrc.cpp.
fill_input_buffer | ( | j_decompress_ptr | cinfo | ) |
Definition at line 81 of file jdatasrc.cpp.
References ERREXIT, FALSE, INPUT_BUF_SIZE, JFREAD, JPEG_EOI, TRUE, and WARNMS.
Referenced by jpeg_stdio_src(), and skip_input_data().
init_source | ( | j_decompress_ptr | cinfo | ) |
Definition at line 36 of file jdatasrc.cpp.
References my_source_mgr::start_of_file, and TRUE.
Referenced by jpeg_stdio_src().
jpeg_stdio_src | ( | j_decompress_ptr | cinfo, |
FILE * | infile | ||
) |
Definition at line 168 of file jdatasrc.cpp.
References fill_input_buffer(), infile, init_source(), INPUT_BUF_SIZE, jpeg_resync_to_restart(), JPOOL_PERMANENT, SIZEOF, skip_input_data(), and term_source().
skip_input_data | ( | j_decompress_ptr | cinfo, |
long | num_bytes | ||
) |
Definition at line 119 of file jdatasrc.cpp.
References fill_input_buffer(), and my_source_mgr::pub.
Referenced by jpeg_stdio_src().
term_source | ( | j_decompress_ptr | ) |
Definition at line 160 of file jdatasrc.cpp.
Referenced by jpeg_stdio_src().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |