MISR Toolkit  1.5.1
Macros | Enumerations
jerror.h File Reference

Go to the source code of this file.

Macros

#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 ERREXIT6(cinfo, code, p1, p2, p3, p4, p5, p6)
 
#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,
  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 at line 209 of file jerror.h.

◆ ERREXIT1

#define ERREXIT1 (   cinfo,
  code,
  p1 
)
Value:
((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:261

Definition at line 212 of file jerror.h.

◆ 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 at line 216 of file jerror.h.

◆ 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 at line 221 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 at line 227 of file jerror.h.

◆ ERREXIT6

#define ERREXIT6 (   cinfo,
  code,
  p1,
  p2,
  p3,
  p4,
  p5,
  p6 
)
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->msg_parm.i[4] = (p5), \
(cinfo)->err->msg_parm.i[5] = (p6), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:261

Definition at line 234 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 at line 243 of file jerror.h.

◆ JERROR_H

#define JERROR_H

Definition at line 203 of file jerror.h.

◆ JMAKE_ENUM_LIST

#define JMAKE_ENUM_LIST

Definition at line 25 of file jerror.h.

◆ JMESSAGE

#define JMESSAGE (   code,
  string 
)    code ,

Definition at line 36 of file jerror.h.

◆ MAKESTMT

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

Definition at line 248 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 at line 265 of file jerror.h.

◆ 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 at line 268 of file jerror.h.

◆ 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 at line 272 of file jerror.h.

◆ 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)); )
#define MAKESTMT(stuff)
Definition: jerror.h:248

Definition at line 277 of file jerror.h.

◆ 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)); )
#define MAKESTMT(stuff)
Definition: jerror.h:248

Definition at line 282 of file jerror.h.

◆ 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)); )
#define MAKESTMT(stuff)
Definition: jerror.h:248

Definition at line 287 of file jerror.h.

◆ 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)); )
#define MAKESTMT(stuff)
Definition: jerror.h:248

Definition at line 293 of file jerror.h.

◆ 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 at line 299 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: jpeglib.h:261

Definition at line 251 of file jerror.h.

◆ 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 at line 254 of file jerror.h.

◆ 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 at line 258 of file jerror.h.

Enumeration Type Documentation

◆ J_MESSAGE_CODE

Enumerator
JMESSAGE 
JMESSAGE 
JMESSAGE 
JMESSAGE 

Definition at line 34 of file jerror.h.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53