Main MRPT website > C++ reference for MRPT 1.9.9
Macros | Functions | Variables
jerror.cpp File Reference
#include "jinclude.h"
#include "mrpt_jpeglib.h"
#include "jversion.h"
#include "jerror.h"

Go to the source code of this file.

Macros

#define EXIT_FAILURE   1
 
#define JMESSAGE(code, string)   string,
 

Functions

 error_exit (j_common_ptr cinfo)
 
 output_message (j_common_ptr cinfo)
 
 emit_message (j_common_ptr cinfo, int msg_level)
 
 format_message (j_common_ptr cinfo, char *buffer)
 
 reset_error_mgr (j_common_ptr cinfo)
 
 jpeg_std_error (struct jpeg_error_mgr *err)
 

Variables

const char *const jpeg_std_message_table []
 

Macro Definition Documentation

◆ EXIT_FAILURE

#define EXIT_FAILURE   1

Definition at line 21 of file jerror.cpp.

◆ JMESSAGE

#define JMESSAGE (   code,
  string 
)    string,

Definition at line 36 of file jerror.cpp.

Function Documentation

◆ emit_message()

emit_message ( j_common_ptr  cinfo,
int  msg_level 
)

Definition at line 113 of file jerror.cpp.

References jpeg_error_mgr::num_warnings, and jpeg_error_mgr::trace_level.

Referenced by jpeg_std_error().

Here is the caller graph for this function:

◆ error_exit()

error_exit ( j_common_ptr  cinfo)

Definition at line 56 of file jerror.cpp.

References mrpt::system::os::fprintf(), and jpeg_destroy().

Referenced by jpeg_std_error().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ format_message()

format_message ( j_common_ptr  cinfo,
char *  buffer 
)

◆ jpeg_std_error()

jpeg_std_error ( struct jpeg_error_mgr err)

Definition at line 222 of file jerror.cpp.

References emit_message(), error_exit(), format_message(), jpeg_std_message_table, output_message(), and reset_error_mgr().

Referenced by mrpt::utils::CImage::loadFromStreamAsJPEG(), and mrpt::utils::CImage::saveToStreamAsJPEG().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ output_message()

output_message ( j_common_ptr  cinfo)

Definition at line 84 of file jerror.cpp.

References mrpt::system::os::fprintf(), and JMSG_LENGTH_MAX.

Referenced by jpeg_std_error().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset_error_mgr()

reset_error_mgr ( j_common_ptr  cinfo)

Definition at line 204 of file jerror.cpp.

Referenced by jpeg_std_error().

Here is the caller graph for this function:

Variable Documentation

◆ jpeg_std_message_table

const char* const jpeg_std_message_table[]

Definition at line 38 of file jerror.cpp.

Referenced by jpeg_std_error().




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