fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

jerror.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#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

Functions

 JMESSAGE (JMSG_NOMESSAGE,"Bogus message code %d") JMESSAGE(JERR_ARITH_NOTIMPL
there are legal restrictions
on arithmetic coding 
JMESSAGE (JERR_BAD_LIB_VERSION,"Wrong JPEG library version: library is %d, caller expects %d") JMESSAGE(JERR_BAD_PROGRESSION
there are legal restrictions
on arithmetic coding Invalid
progressive parameters caller
expects u 
JMESSAGE (JERR_MISMATCHED_QUANT_TABLE,"Cannot transcode due to multiple use of quantization table %d") JMESSAGE(JERR_QUANT_COMPONENTS
there are legal restrictions
on arithmetic coding Invalid
progressive parameters caller
expects u Cannot quantize more
than d color components 
JMESSAGE (JERR_TFILE_WRITE,"Write failed on temporary file --- out of disk space?") JMESSAGE(JTRC_16BIT_TABLES
there are legal restrictions
on arithmetic coding Invalid
progressive parameters caller
expects u Cannot quantize more
than d color components Adobe
APP14 transform d 
JMESSAGE (JTRC_JFIF_BADTHUMBNAILSIZE,"Warning: thumbnail image size does not match data length %u") JMESSAGE(JTRC_JFIF_EXTENSION
there are legal restrictions
on arithmetic coding Invalid
progressive parameters caller
expects u Cannot quantize more
than d color components Adobe
APP14 transform d JFIF
extension length
JMESSAGE (JTRC_SMOOTH_NOTIMPL,"Smoothing not supported with nonstandard sampling ratios") JMESSAGE(JTRC_THUMB_JPEG
there are legal restrictions
on arithmetic coding Invalid
progressive parameters caller
expects u Cannot quantize more
than d color components Adobe
APP14 transform d JFIF
extension length u JFIF
extension length
JMESSAGE (JTRC_THUMB_PALETTE,"JFIF extension marker: palette thumbnail image, length %u") JMESSAGE(JTRC_THUMB_RGB
there are legal restrictions
on arithmetic coding Invalid
progressive parameters caller
expects u Cannot quantize more
than d color components Adobe
APP14 transform d JFIF
extension length u JFIF
extension length u JFIF
extension length
JMESSAGE (JTRC_UNKNOWN_IDS,"Unrecognized component IDs %d %d %d, assuming YCbCr") JMESSAGE(JWRN_BOGUS_PROGRESSION
there are legal restrictions
on arithmetic coding Invalid
progressive parameters caller
expects u Cannot quantize more
than d color components Adobe
APP14 transform d JFIF
extension length u JFIF
extension length u JFIF
extension length u
Inconsistent progression
sequence for component d
coefficient d 
JMESSAGE (JWRN_EXTRANEOUS_DATA,"Corrupt JPEG data: %u extraneous bytes before marker 0x%02x") JMESSAGE(JWRN_MUST_RESYNC

Define Documentation

#define ERREXIT (   cinfo,
  code 
)
Value:
((cinfo)->err->msg_code = (code), \
   (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))

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_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_write_raw_data(), LOCAL(), master_selection(), METHODDEF(), 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_fdctmgr(), start_pass_main(), start_pass_prep(), term_destination(), transdecode_master_selection(), transencode_master_selection(), validate_script(), and write_marker_header().

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

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(), METHODDEF(), per_scan_setup(), select_scan_parameters(), and validate_script().

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

Definition at line 217 of file jerror.h.

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

Definition at line 223 of file jerror.h.

Referenced by METHODDEF().

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

Definition at line 230 of file jerror.h.

#define JERROR_H

Definition at line 199 of file jerror.h.

#define JMAKE_ENUM_LIST

Definition at line 24 of file jerror.h.

#define JMESSAGE (   code,
  string 
)    code ,

Definition at line 35 of file jerror.h.

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

Definition at line 235 of file jerror.h.

#define TRACEMS (   cinfo,
  lvl,
  code 
)
Value:
((cinfo)->err->msg_code = (code), \
   (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))

Definition at line 252 of file jerror.h.

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

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

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

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

Definition at line 259 of file jerror.h.

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

#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 at line 264 of file jerror.h.

Referenced by default_decompress_parms(), and get_sos().

#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 at line 269 of file jerror.h.

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

#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 at line 274 of file jerror.h.

Referenced by examine_app0().

#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 at line 280 of file jerror.h.

Referenced by get_dht(), and get_dqt().

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

Definition at line 286 of file jerror.h.

#define WARNMS (   cinfo,
  code 
)
Value:
((cinfo)->err->msg_code = (code), \
   (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))

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

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

Definition at line 241 of file jerror.h.

Referenced by default_decompress_parms().

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

Definition at line 245 of file jerror.h.

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


Enumeration Type Documentation

Definition at line 33 of file jerror.h.


Function Documentation

J_MESSAGE_CODE::JMESSAGE ( JMSG_NOMESSAGE  ,
"Bogus message code %d"   
)
there are legal restrictions on arithmetic coding Invalid progressive parameters caller expects u Cannot quantize more than d color components Adobe APP14 transform d JFIF extension length u JFIF extension length u JFIF extension length u Inconsistent progression sequence for component d coefficient d J_MESSAGE_CODE::JMESSAGE ( JWRN_EXTRANEOUS_DATA  ,
"Corrupt JPEG data: %u extraneous bytes before marker 0x%02x"   
)
there are legal restrictions on arithmetic coding Invalid progressive parameters caller expects u Cannot quantize more than d color components Adobe APP14 transform d JFIF extension length u JFIF extension length u JFIF extension length u J_MESSAGE_CODE::JMESSAGE ( JTRC_UNKNOWN_IDS  ,
"Unrecognized component IDs %d %d %  d,
assuming YCbCr"   
)
there are legal restrictions on arithmetic coding Invalid progressive parameters caller expects u Cannot quantize more than d color components Adobe APP14 transform d JFIF extension length u JFIF extension length u J_MESSAGE_CODE::JMESSAGE ( JTRC_THUMB_PALETTE  ,
"JFIF extension marker: palette thumbnail  image,
length%u"   
)
there are legal restrictions on arithmetic coding Invalid progressive parameters caller expects u Cannot quantize more than d color components Adobe APP14 transform d JFIF extension length u J_MESSAGE_CODE::JMESSAGE ( JTRC_SMOOTH_NOTIMPL  ,
"Smoothing not supported with nonstandard sampling ratios"   
)
there are legal restrictions on arithmetic coding Invalid progressive parameters caller expects u Cannot quantize more than d color components Adobe APP14 transform d J_MESSAGE_CODE::JMESSAGE ( JTRC_JFIF_BADTHUMBNAILSIZE  ,
"Warning: thumbnail image size does not match data length %u"   
)
there are legal restrictions on arithmetic coding Invalid progressive parameters caller expects u Cannot quantize more than d color components J_MESSAGE_CODE::JMESSAGE ( JERR_TFILE_WRITE  ,
"Write failed on temporary file --- out of disk space?"   
)
there are legal restrictions on arithmetic coding Invalid progressive parameters caller expects u J_MESSAGE_CODE::JMESSAGE ( JERR_MISMATCHED_QUANT_TABLE  ,
"Cannot transcode due to multiple use of quantization table %d"   
)
there are legal restrictions on arithmetic coding J_MESSAGE_CODE::JMESSAGE ( JERR_BAD_LIB_VERSION  ,
"Wrong JPEG library version: library is %  d,
caller expects%d"   
)