ERREXIT - Actual output of an error or trace message.
ERREXIT1 -
ERREXIT2 -
ERREXIT4 -
jpeg_std_error - define halt() codes if not provided } {GLOBAL
Fill in the standard error-handling methods in a jpeg_error_mgr object.
TRACEMS - Informational/debugging messages
Informational/debugging messages
TRACEMS1 -
TRACEMS2 -
TRACEMS3 -
TRACEMS4 -
TRACEMS8 -
WARNMS - Nonfatal errors (we can keep going, but the data is probably corrupt)
Nonfatal errors (we can keep going, but the data is probably corrupt)
WARNMS1 -
WARNMS2 -
EXIT_FAILURE
procedure ERREXIT(cinfo : j_common_ptr; code : J_MESSAGE_CODE);
Actual output of an error or trace message.
Applications may override this method to send JPEG messages somewhere
other than stderr. } { Macros to simplify using the error and trace message stuff } { The first parameter is either type of cinfo pointer } { Fatal errors (print message and exit)
procedure ERREXIT1(cinfo : j_common_ptr; code : J_MESSAGE_CODE; p1 : uInt);
procedure ERREXIT2(cinfo : j_common_ptr; code : J_MESSAGE_CODE; p1 : int; p2 : int);
procedure ERREXIT4(cinfo : j_common_ptr; code : J_MESSAGE_CODE;
p1 : int; p2 : int; p3 : int; p4 : int);
function jpeg_std_error (var err : jpeg_error_mgr) : jpeg_error_mgr_ptr;
define halt() codes if not provided } {GLOBAL Fill in the standard error-handling methods in a jpeg_error_mgr object.
Typical call is:
cinfo : jpeg_compress_struct;
err : jpeg_error_mgr;
cinfo.err := jpeg_std_error(@err);
after which the application may override some of the methods. } {GLOBAL
procedure TRACEMS(cinfo : j_common_ptr; lvl : int; code : J_MESSAGE_CODE);
Informational/debugging messages Informational/debugging messages
procedure TRACEMS1(cinfo : j_common_ptr; lvl : int;
code : J_MESSAGE_CODE; p1 : long);
procedure TRACEMS2(cinfo : j_common_ptr; lvl : int; code : J_MESSAGE_CODE;
p1 : int;
p2 : int);
procedure TRACEMS3(cinfo : j_common_ptr;
lvl : int;
code : J_MESSAGE_CODE;
p1 : int; p2 : int; p3 : int);
procedure TRACEMS4(cinfo : j_common_ptr; lvl : int; code : J_MESSAGE_CODE;
p1 : int; p2 : int; p3 : int; p4 : int);
procedure TRACEMS8(cinfo : j_common_ptr; lvl : int; code : J_MESSAGE_CODE;
p1 : int; p2 : int; p3 : int; p4 : int;
p5 : int; p6 : int; p7 : int; p8 : int);
procedure WARNMS(cinfo : j_common_ptr; code : J_MESSAGE_CODE);
Nonfatal errors (we can keep going, but the data is probably corrupt) Nonfatal errors (we can keep going, but the data is probably corrupt)
procedure WARNMS1(cinfo : j_common_ptr;code : J_MESSAGE_CODE; p1 : int);
procedure WARNMS2(cinfo : j_common_ptr; code : J_MESSAGE_CODE;
p1 : int; p2 : int);
EXIT_FAILURE = 1
jversion;