Atmel Software Framework

jerror.h File Reference

Macros

#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 JERROR_H
 
#define JMAKE_ENUM_LIST
 
#define JMESSAGE(code, string)
 
#define JMESSAGE(code, string)   code ,
 
#define MAKESTMT(stuff)   do { stuff } while (0)
 
#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)
 
#define WARNMS(cinfo, code)
 
#define WARNMS1(cinfo, code, p1)
 
#define WARNMS2(cinfo, code, p1, p2)
 

Enumerations

enum  J_MESSAGE_CODE {
  JMESSAGE,
  JMESSAGE
}
 

#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:262
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730

Referenced by jpeg_copy_critical_parameters(), jpeg_CreateDecompress(), jpeg_set_colorspace(), and METHODDEF().

#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:262
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
#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:262
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730

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)))
const char * str
Definition: console.c:40
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:262
#define JMSG_STR_PARM_MAX
Definition: jpeglib.h:661
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
#define JERROR_H
#define JMAKE_ENUM_LIST
#define JMESSAGE (   code,
  string 
)
#define JMESSAGE (   code,
  string 
)    code ,
#define MAKESTMT (   stuff)    do { stuff } while (0)
#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:262
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
#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:262
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730

Referenced by create_colormap(), examine_app0(), examine_app14(), read_markers(), read_restart_marker(), and while().

#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:262
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
#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: jpeglib.h:254
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
#define MAKESTMT(stuff)
Definition: jerror.h:235

Referenced by default_decompress_parms().

#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: jpeglib.h:254
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
#define MAKESTMT(stuff)
Definition: jerror.h:235

Referenced by create_colormap(), examine_app14(), and for().

#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: jpeglib.h:254
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
#define MAKESTMT(stuff)
Definition: jerror.h:235

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: jpeglib.h:254
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
#define MAKESTMT(stuff)
Definition: jerror.h:235

Referenced by while().

#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)))
const char * str
Definition: console.c:40
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:262
#define JMSG_STR_PARM_MAX
Definition: jpeglib.h:661
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
#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:262
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730

Referenced by decode_mcu_AC_refine(), 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))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:262
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730

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))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:262
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730

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

Enumerator
JMESSAGE 
JMESSAGE