Main MRPT website > C++ reference for MRPT 1.5.7
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.

Classes

struct  my_source_mgr
 

Macros

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

Typedefs

typedef my_source_mgrmy_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)
 

Macro Definition Documentation

◆ INPUT_BUF_SIZE

#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

◆ my_src_ptr

Definition at line 26 of file jdatasrc.cpp.

Function Documentation

◆ fill_input_buffer()

fill_input_buffer ( j_decompress_ptr  cinfo)

Definition at line 83 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()

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()

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 121 of file jdatasrc.cpp.

References fill_input_buffer(), and my_source_mgr::pub.

Referenced by jpeg_stdio_src().

◆ term_source()

term_source ( j_decompress_ptr  )

Definition at line 162 of file jdatasrc.cpp.

Referenced by jpeg_stdio_src().




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019