Main MRPT website > C++ reference for MRPT 1.5.6
Classes | Macros | Typedefs | Functions
CImage_JPEG_streams.cpp File Reference
#include "base-precomp.h"
#include <mrpt/utils/CImage.h>
#include <mrpt/utils/CStream.h>
#include <mrpt/otherlibs/do_opencv_includes.h>
#include <stdio.h>
Include dependency graph for CImage_JPEG_streams.cpp:

Go to the source code of this file.

Classes

struct  mrpt_destination_mgr
 
struct  my_source_mgr
 

Macros

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

Typedefs

typedef mrpt_destination_mgrmrpt_dest_ptr
 
typedef my_source_mgrmy_src_ptr
 

Functions

 init_destination (j_compress_ptr cinfo)
 
 empty_output_buffer (j_compress_ptr cinfo)
 
 term_destination (j_compress_ptr cinfo)
 
 jpeg_stdio_dest (j_compress_ptr cinfo, CStream *out)
 
 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, CStream *in)
 

Macro Definition Documentation

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

Definition at line 176 of file CImage_JPEG_streams.cpp.

Referenced by fill_input_buffer(), and jpeg_stdio_src().

#define OUTPUT_BUF_SIZE   4096 /* choose an efficiently fwrite'able size */

Definition at line 58 of file CImage_JPEG_streams.cpp.

Referenced by empty_output_buffer(), init_destination(), and term_destination().

#define XMD_H

Definition at line 28 of file CImage_JPEG_streams.cpp.

Typedef Documentation

Definition at line 56 of file CImage_JPEG_streams.cpp.

Definition at line 174 of file CImage_JPEG_streams.cpp.

Function Documentation

empty_output_buffer ( j_compress_ptr  cinfo)
fill_input_buffer ( j_decompress_ptr  cinfo)
init_destination ( j_compress_ptr  cinfo)
init_source ( j_decompress_ptr  cinfo)

Definition at line 184 of file CImage_JPEG_streams.cpp.

References my_source_mgr::start_of_file, and TRUE.

Referenced by jpeg_stdio_src().

jpeg_stdio_dest ( j_compress_ptr  cinfo,
CStream out 
)
jpeg_stdio_src ( j_decompress_ptr  cinfo,
CStream in 
)
skip_input_data ( j_decompress_ptr  cinfo,
long  num_bytes 
)

Definition at line 271 of file CImage_JPEG_streams.cpp.

References fill_input_buffer(), and my_source_mgr::pub.

Referenced by jpeg_stdio_src().

term_destination ( j_compress_ptr  cinfo)
term_source ( j_decompress_ptr  cinfo)

Definition at line 312 of file CImage_JPEG_streams.cpp.

References MRPT_UNUSED_PARAM.

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