Main MRPT website > C++ reference for MRPT 1.9.9
Macros | Enumerations
jerror.h File Reference

Go to the source code of this file.

Macros

#define JMESSAGE(code, string)
 
#define JMAKE_ENUM_LIST
 
#define JMESSAGE(code, string)   code,
 
#define JERROR_H
 
#define ERREXIT(cinfo, code)
 
#define ERREXIT1(cinfo, code, p1)
 
#define ERREXIT2(cinfo, code, p1, p2)
 
#define ERREXIT3(cinfo, code, p1, p2, p3)
 
#define ERREXIT4(cinfo, code, p1, p2, p3, p4)
 
#define ERREXITS(cinfo, code, str)
 
#define MAKESTMT(stuff)
 
#define WARNMS(cinfo, code)
 
#define WARNMS1(cinfo, code, p1)
 
#define WARNMS2(cinfo, code, p1, p2)
 
#define TRACEMS(cinfo, lvl, code)
 
#define TRACEMS1(cinfo, lvl, code, p1)
 
#define TRACEMS2(cinfo, lvl, code, p1, p2)
 
#define TRACEMS3(cinfo, lvl, code, p1, p2, p3)
 
#define TRACEMS4(cinfo, lvl, code, p1, p2, p3, p4)
 
#define TRACEMS5(cinfo, lvl, code, p1, p2, p3, p4, p5)
 
#define TRACEMS8(cinfo, lvl, code, p1, p2, p3, p4, p5, p6, p7, p8)
 
#define TRACEMSS(cinfo, lvl, code, str)
 

Enumerations

enum  J_MESSAGE_CODE { JMESSAGE, JMESSAGE }
 

Macro Definition Documentation

◆ ERREXIT

#define ERREXIT (   cinfo,
  code 
)
Value:
((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->error_exit)((j_common_ptr)(cinfo)))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
Definition: inftrees.h:28

Definition at line 451 of file jerror.h.

Referenced by access_virt_barray(), access_virt_sarray(), add_huff_table(), alloc_barray(), alloc_sarray(), consume_markers(), dump_buffer(), emit_bits(), emit_byte(), emit_eobrun(), empty_output_buffer(), encode_mcu_AC_first(), encode_mcu_DC_first(), encode_one_block(), fill_input_buffer(), finish_pass_huff(), get_dht(), get_dqt(), get_dri(), get_sof(), get_soi(), get_sos(), htest_one_block(), initial_setup(), jinit_2pass_quantizer(), jinit_c_coef_controller(), jinit_c_main_controller(), jinit_c_master_control(), jinit_c_prep_controller(), jinit_color_converter(), jinit_color_deconverter(), jinit_compress_master(), jinit_d_coef_controller(), jinit_d_main_controller(), jinit_d_post_controller(), jinit_downsampler(), jinit_forward_dct(), jinit_memory_mgr(), jinit_upsampler(), jpeg_default_colorspace(), jpeg_finish_compress(), jpeg_finish_decompress(), jpeg_gen_optimal_table(), jpeg_make_c_derived_tbl(), jpeg_make_d_derived_tbl(), jpeg_new_colormap(), jpeg_open_backing_store(), jpeg_read_header(), jpeg_read_raw_data(), jpeg_set_colorspace(), jpeg_start_decompress(), jpeg_write_raw_data(), master_selection(), new_color_map_1_quant(), output_pass_setup(), per_scan_setup(), prepare_for_output_pass(), prepare_for_pass(), start_pass(), start_pass_1_quant(), start_pass_coef(), start_pass_dpost(), start_pass_fdctmgr(), start_pass_huff(), start_pass_main(), start_pass_prep(), term_destination(), transdecode_master_selection(), transencode_master_selection(), validate_script(), and write_marker_header().

◆ ERREXIT1

#define ERREXIT1 (   cinfo,
  code,
  p1 
)

◆ ERREXIT2

#define ERREXIT2 (   cinfo,
  code,
  p1,
  p2 
)
Value:
((cinfo)->err->msg_code = (code), (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \
(*(cinfo)->err->error_exit)((j_common_ptr)(cinfo)))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
Definition: inftrees.h:28

Definition at line 457 of file jerror.h.

Referenced by first_marker(), initial_setup(), jpeg_copy_critical_parameters(), jpeg_CreateCompress(), jpeg_CreateDecompress(), jpeg_set_colorspace(), per_scan_setup(), select_scan_parameters(), and validate_script().

◆ ERREXIT3

#define ERREXIT3 (   cinfo,
  code,
  p1,
  p2,
  p3 
)
Value:
((cinfo)->err->msg_code = (code), (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), (cinfo)->err->msg_parm.i[2] = (p3), \
(*(cinfo)->err->error_exit)((j_common_ptr)(cinfo)))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
Definition: inftrees.h:28

Definition at line 461 of file jerror.h.

◆ ERREXIT4

#define ERREXIT4 (   cinfo,
  code,
  p1,
  p2,
  p3,
  p4 
)
Value:
((cinfo)->err->msg_code = (code), (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), (cinfo)->err->msg_parm.i[2] = (p3), \
(cinfo)->err->msg_parm.i[3] = (p4), \
(*(cinfo)->err->error_exit)((j_common_ptr)(cinfo)))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
Definition: inftrees.h:28

Definition at line 465 of file jerror.h.

Referenced by start_pass_phuff_decoder().

◆ ERREXITS

#define ERREXITS (   cinfo,
  code,
  str 
)
Value:
((cinfo)->err->msg_code = (code), \
strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
(*(cinfo)->err->error_exit)((j_common_ptr)(cinfo)))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
#define JMSG_STR_PARM_MAX
Definition: mrpt_jpeglib.h:662
Definition: inftrees.h:28

Definition at line 470 of file jerror.h.

◆ JERROR_H

#define JERROR_H

Definition at line 445 of file jerror.h.

◆ JMAKE_ENUM_LIST

#define JMAKE_ENUM_LIST

Definition at line 18 of file jerror.h.

◆ JMESSAGE [1/2]

#define JMESSAGE (   code,
  string 
)

Definition at line 36 of file jerror.cpp.

◆ JMESSAGE [2/2]

#define JMESSAGE (   code,
  string 
)    code,

Definition at line 29 of file jerror.h.

◆ MAKESTMT

#define MAKESTMT (   stuff)
Value:
do \
{ \
stuff \
} while (0)

Definition at line 475 of file jerror.h.

◆ TRACEMS

#define TRACEMS (   cinfo,
  lvl,
  code 
)
Value:
((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), (lvl)))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
Definition: inftrees.h:28

Definition at line 494 of file jerror.h.

Referenced by get_soi(), jinit_downsampler(), read_markers(), and write_frame_header().

◆ TRACEMS1

#define TRACEMS1 (   cinfo,
  lvl,
  code,
  p1 
)
Value:
((cinfo)->err->msg_code = (code), (cinfo)->err->msg_parm.i[0] = (p1), \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), (lvl)))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
Definition: inftrees.h:28

Definition at line 497 of file jerror.h.

Referenced by create_colormap(), examine_app0(), examine_app14(), get_dht(), get_dri(), get_sos(), read_markers(), read_restart_marker(), and select_colors().

◆ TRACEMS2

#define TRACEMS2 (   cinfo,
  lvl,
  code,
  p1,
  p2 
)
Value:
((cinfo)->err->msg_code = (code), (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), (lvl)))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
Definition: inftrees.h:28

Definition at line 500 of file jerror.h.

Referenced by examine_app0(), get_dqt(), jpeg_resync_to_restart(), save_marker(), and skip_variable().

◆ TRACEMS3

#define TRACEMS3 (   cinfo,
  lvl,
  code,
  p1,
  p2,
  p3 
)
Value:
int* _mp = (cinfo)->err->msg_parm.i; _mp[0] = (p1); _mp[1] = (p2); \
_mp[2] = (p3); (cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), (lvl));)
Definition: inftrees.h:28
#define MAKESTMT(stuff)
Definition: jerror.h:475

Definition at line 504 of file jerror.h.

Referenced by default_decompress_parms(), and get_sos().

◆ TRACEMS4

#define TRACEMS4 (   cinfo,
  lvl,
  code,
  p1,
  p2,
  p3,
  p4 
)
Value:
int* _mp = (cinfo)->err->msg_parm.i; _mp[0] = (p1); _mp[1] = (p2); \
_mp[2] = (p3); _mp[3] = (p4); (cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), (lvl));)
Definition: inftrees.h:28
#define MAKESTMT(stuff)
Definition: jerror.h:475

Definition at line 509 of file jerror.h.

Referenced by create_colormap(), examine_app14(), get_sof(), and get_sos().

◆ TRACEMS5

#define TRACEMS5 (   cinfo,
  lvl,
  code,
  p1,
  p2,
  p3,
  p4,
  p5 
)
Value:
int* _mp = (cinfo)->err->msg_parm.i; _mp[0] = (p1); _mp[1] = (p2); \
_mp[2] = (p3); _mp[3] = (p4); _mp[4] = (p5); \
(cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), (lvl));)
Definition: inftrees.h:28
#define MAKESTMT(stuff)
Definition: jerror.h:475

Definition at line 514 of file jerror.h.

Referenced by examine_app0().

◆ TRACEMS8

#define TRACEMS8 (   cinfo,
  lvl,
  code,
  p1,
  p2,
  p3,
  p4,
  p5,
  p6,
  p7,
  p8 
)
Value:
int* _mp = (cinfo)->err->msg_parm.i; _mp[0] = (p1); _mp[1] = (p2); \
_mp[2] = (p3); _mp[3] = (p4); _mp[4] = (p5); _mp[5] = (p6); \
_mp[6] = (p7); _mp[7] = (p8); (cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), (lvl));)
Definition: inftrees.h:28
#define MAKESTMT(stuff)
Definition: jerror.h:475

Definition at line 520 of file jerror.h.

Referenced by get_dht(), and get_dqt().

◆ TRACEMSS

#define TRACEMSS (   cinfo,
  lvl,
  code,
  str 
)
Value:
((cinfo)->err->msg_code = (code), \
strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), (lvl)))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
#define JMSG_STR_PARM_MAX
Definition: mrpt_jpeglib.h:662
Definition: inftrees.h:28

Definition at line 526 of file jerror.h.

◆ WARNMS

#define WARNMS (   cinfo,
  code 
)
Value:
((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), -1))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
Definition: inftrees.h:28

Definition at line 482 of file jerror.h.

Referenced by decode_mcu_AC_refine(), fill_input_buffer(), jpeg_fill_bit_buffer(), jpeg_huff_decode(), jpeg_read_raw_data(), jpeg_read_scanlines(), jpeg_write_raw_data(), jpeg_write_scanlines(), and start_pass_huff_decoder().

◆ WARNMS1

#define WARNMS1 (   cinfo,
  code,
  p1 
)
Value:
((cinfo)->err->msg_code = (code), (cinfo)->err->msg_parm.i[0] = (p1), \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), -1))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
Definition: inftrees.h:28

Definition at line 485 of file jerror.h.

Referenced by default_decompress_parms().

◆ WARNMS2

#define WARNMS2 (   cinfo,
  code,
  p1,
  p2 
)
Value:
((cinfo)->err->msg_code = (code), (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \
(*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), -1))
struct jpeg_common_struct * j_common_ptr
Definition: mrpt_jpeglib.h:258
Definition: inftrees.h:28

Definition at line 488 of file jerror.h.

Referenced by examine_app0(), jpeg_resync_to_restart(), next_marker(), and start_pass_phuff_decoder().

Enumeration Type Documentation

◆ J_MESSAGE_CODE

Enumerator
JMESSAGE 
JMESSAGE 

Definition at line 27 of file jerror.h.




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