Main MRPT website > C++ reference for MRPT 1.5.6
Classes | Macros | Typedefs | Functions
jdatasrc.cpp File Reference
#include "jinclude.h"
#include "mrpt_jpeglib.h"
#include "jerror.h"
Include dependency graph for jdatasrc.cpp:

Go to the source code of this file.


struct  my_source_mgr


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


typedef my_source_mgrmy_src_ptr


 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)

Macro Definition Documentation

#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 Documentation

Definition at line 26 of file jdatasrc.cpp.

Function Documentation

fill_input_buffer ( j_decompress_ptr  cinfo)
init_source ( j_decompress_ptr  cinfo)

Definition at line 37 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 
skip_input_data ( j_decompress_ptr  cinfo,
long  num_bytes 

Definition at line 121 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 162 of file jdatasrc.cpp.

Referenced by jpeg_stdio_src().

Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018