Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
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)   do { stuff } while (0)
 
#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: jpeglib.h:261
Definition: inftree9.h:24

Definition at line 205 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_output_bmp(), finish_output_gif(), finish_output_ppm(), finish_output_tga(), finish_pass_huff(), flush_packet(), get_dht(), get_dqt(), get_dri(), get_raw_row(), get_scaled_gray_row(), get_scaled_rgb_row(), get_sof(), get_soi(), get_sos(), get_word_gray_row(), get_word_rgb_row(), 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(), jinit_write_bmp(), jinit_write_gif(), jpeg_default_colorspace(), jpeg_finish_compress(), jpeg_finish_decompress(), jpeg_gen_optimal_table(), jpeg_getc(), 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_write_raw_data(), master_selection(), new_color_map_1_quant(), output_pass_setup(), per_scan_setup(), preload_image(), prepare_for_output_pass(), prepare_for_pass(), read_backing_store(), read_byte(), read_color_map(), read_colormap(), read_ems_store(), read_file_store(), read_gif_map(), read_pbm_integer(), read_ppm_map(), start_input_bmp(), start_input_ppm(), start_input_tga(), start_output_ppm(), start_output_tga(), start_pass(), start_pass_1_quant(), start_pass_coef(), start_pass_fdctmgr(), start_pass_main(), start_pass_prep(), term_destination(), transdecode_master_selection(), transencode_master_selection(), validate_script(), write_backing_store(), write_bmp_header(), write_ems_store(), write_file_store(), write_header(), write_marker_header(), and write_os2_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: jpeglib.h:261
Definition: inftree9.h:24

Definition at line 212 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: jpeglib.h:261
Definition: inftree9.h:24

Definition at line 217 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: jpeglib.h:261
Definition: inftree9.h:24

Definition at line 223 of file jerror.h.

◆ 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: jpeglib.h:261
#define JMSG_STR_PARM_MAX
Definition: jpeglib.h:660
Definition: inftree9.h:24

Definition at line 230 of file jerror.h.

Referenced by jpeg_open_backing_store(), and open_file_store().

◆ JERROR_H

#define JERROR_H

Definition at line 199 of file jerror.h.

◆ JMAKE_ENUM_LIST

#define JMAKE_ENUM_LIST

Definition at line 24 of file jerror.h.

◆ JMESSAGE [1/2]

#define JMESSAGE (   code,
  string 
)

Definition at line 48 of file jerror.c.

◆ JMESSAGE [2/2]

#define JMESSAGE (   code,
  string 
)    code ,

Definition at line 35 of file jerror.h.

◆ MAKESTMT

#define MAKESTMT (   stuff)    do { stuff } while (0)

Definition at line 235 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: jpeglib.h:261
Definition: inftree9.h:24

Definition at line 252 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: jpeglib.h:261
Definition: inftree9.h:24

Definition at line 255 of file jerror.h.

Referenced by close_ems_store(), examine_app0(), examine_app14(), get_dht(), get_dri(), get_sos(), open_ems_store(), 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: jpeglib.h:261
Definition: inftree9.h:24

Definition at line 259 of file jerror.h.

Referenced by examine_app0(), get_dqt(), get_sos(), jpeg_resync_to_restart(), save_marker(), skip_variable(), start_input_bmp(), start_input_ppm(), and start_input_tga().

◆ TRACEMS3

#define TRACEMS3 (   cinfo,
  lvl,
  code,
  p1,
  p2,
  p3 
)
Value:
MAKESTMT(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: inftree9.h:24
#define MAKESTMT(stuff)
Definition: jerror.h:235

Definition at line 264 of file jerror.h.

Referenced by default_decompress_parms(), and get_sos().

◆ TRACEMS4

#define TRACEMS4 (   cinfo,
  lvl,
  code,
  p1,
  p2,
  p3,
  p4 
)
Value:
MAKESTMT(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: inftree9.h:24
#define MAKESTMT(stuff)
Definition: jerror.h:235

Definition at line 269 of file jerror.h.

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

◆ TRACEMS5

#define TRACEMS5 (   cinfo,
  lvl,
  code,
  p1,
  p2,
  p3,
  p4,
  p5 
)
Value:
MAKESTMT(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: inftree9.h:24
#define MAKESTMT(stuff)
Definition: jerror.h:235

Definition at line 274 of file jerror.h.

Referenced by examine_app0().

◆ TRACEMS8

#define TRACEMS8 (   cinfo,
  lvl,
  code,
  p1,
  p2,
  p3,
  p4,
  p5,
  p6,
  p7,
  p8 
)
Value:
MAKESTMT(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: inftree9.h:24
#define MAKESTMT(stuff)
Definition: jerror.h:235

Definition at line 280 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: jpeglib.h:261
#define JMSG_STR_PARM_MAX
Definition: jpeglib.h:660
Definition: inftree9.h:24

Definition at line 286 of file jerror.h.

Referenced by close_backing_store(), close_file_store(), jpeg_open_backing_store(), and open_file_store().

◆ 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: jpeglib.h:261
Definition: inftree9.h:24

Definition at line 238 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: jpeglib.h:261
Definition: inftree9.h:24

Definition at line 241 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: jpeglib.h:261
Definition: inftree9.h:24

Definition at line 245 of file jerror.h.

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

Enumeration Type Documentation

◆ J_MESSAGE_CODE

Enumerator
JMESSAGE 
JMESSAGE 

Definition at line 33 of file jerror.h.