Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include
File: jerror.h
/*
[0] Fix | Delete
* jerror.h
[1] Fix | Delete
*
[2] Fix | Delete
* This file was part of the Independent JPEG Group's software:
[3] Fix | Delete
* Copyright (C) 1994-1997, Thomas G. Lane.
[4] Fix | Delete
* Modified 1997-2009 by Guido Vollbeding.
[5] Fix | Delete
* libjpeg-turbo Modifications:
[6] Fix | Delete
* Copyright (C) 2014, D. R. Commander.
[7] Fix | Delete
* For conditions of distribution and use, see the accompanying README.ijg
[8] Fix | Delete
* file.
[9] Fix | Delete
*
[10] Fix | Delete
* This file defines the error and message codes for the JPEG library.
[11] Fix | Delete
* Edit this file to add new codes, or to translate the message strings to
[12] Fix | Delete
* some other language.
[13] Fix | Delete
* A set of error-reporting macros are defined too. Some applications using
[14] Fix | Delete
* the JPEG library may wish to include this file to get the error codes
[15] Fix | Delete
* and/or the macros.
[16] Fix | Delete
*/
[17] Fix | Delete
[18] Fix | Delete
/*
[19] Fix | Delete
* To define the enum list of message codes, include this file without
[20] Fix | Delete
* defining macro JMESSAGE. To create a message string table, include it
[21] Fix | Delete
* again with a suitable JMESSAGE definition (see jerror.c for an example).
[22] Fix | Delete
*/
[23] Fix | Delete
#ifndef JMESSAGE
[24] Fix | Delete
#ifndef JERROR_H
[25] Fix | Delete
/* First time through, define the enum list */
[26] Fix | Delete
#define JMAKE_ENUM_LIST
[27] Fix | Delete
#else
[28] Fix | Delete
/* Repeated inclusions of this file are no-ops unless JMESSAGE is defined */
[29] Fix | Delete
#define JMESSAGE(code,string)
[30] Fix | Delete
#endif /* JERROR_H */
[31] Fix | Delete
#endif /* JMESSAGE */
[32] Fix | Delete
[33] Fix | Delete
#ifdef JMAKE_ENUM_LIST
[34] Fix | Delete
[35] Fix | Delete
typedef enum {
[36] Fix | Delete
[37] Fix | Delete
#define JMESSAGE(code,string) code ,
[38] Fix | Delete
[39] Fix | Delete
#endif /* JMAKE_ENUM_LIST */
[40] Fix | Delete
[41] Fix | Delete
JMESSAGE(JMSG_NOMESSAGE, "Bogus message code %d") /* Must be first entry! */
[42] Fix | Delete
[43] Fix | Delete
/* For maintenance convenience, list is alphabetical by message code name */
[44] Fix | Delete
#if JPEG_LIB_VERSION < 70
[45] Fix | Delete
JMESSAGE(JERR_ARITH_NOTIMPL,
[46] Fix | Delete
"Sorry, arithmetic coding is not implemented")
[47] Fix | Delete
#endif
[48] Fix | Delete
JMESSAGE(JERR_BAD_ALIGN_TYPE, "ALIGN_TYPE is wrong, please fix")
[49] Fix | Delete
JMESSAGE(JERR_BAD_ALLOC_CHUNK, "MAX_ALLOC_CHUNK is wrong, please fix")
[50] Fix | Delete
JMESSAGE(JERR_BAD_BUFFER_MODE, "Bogus buffer control mode")
[51] Fix | Delete
JMESSAGE(JERR_BAD_COMPONENT_ID, "Invalid component ID %d in SOS")
[52] Fix | Delete
#if JPEG_LIB_VERSION >= 70
[53] Fix | Delete
JMESSAGE(JERR_BAD_CROP_SPEC, "Invalid crop request")
[54] Fix | Delete
#endif
[55] Fix | Delete
JMESSAGE(JERR_BAD_DCT_COEF, "DCT coefficient out of range")
[56] Fix | Delete
JMESSAGE(JERR_BAD_DCTSIZE, "IDCT output block size %d not supported")
[57] Fix | Delete
#if JPEG_LIB_VERSION >= 70
[58] Fix | Delete
JMESSAGE(JERR_BAD_DROP_SAMPLING,
[59] Fix | Delete
"Component index %d: mismatching sampling ratio %d:%d, %d:%d, %c")
[60] Fix | Delete
#endif
[61] Fix | Delete
JMESSAGE(JERR_BAD_HUFF_TABLE, "Bogus Huffman table definition")
[62] Fix | Delete
JMESSAGE(JERR_BAD_IN_COLORSPACE, "Bogus input colorspace")
[63] Fix | Delete
JMESSAGE(JERR_BAD_J_COLORSPACE, "Bogus JPEG colorspace")
[64] Fix | Delete
JMESSAGE(JERR_BAD_LENGTH, "Bogus marker length")
[65] Fix | Delete
JMESSAGE(JERR_BAD_LIB_VERSION,
[66] Fix | Delete
"Wrong JPEG library version: library is %d, caller expects %d")
[67] Fix | Delete
JMESSAGE(JERR_BAD_MCU_SIZE, "Sampling factors too large for interleaved scan")
[68] Fix | Delete
JMESSAGE(JERR_BAD_POOL_ID, "Invalid memory pool code %d")
[69] Fix | Delete
JMESSAGE(JERR_BAD_PRECISION, "Unsupported JPEG data precision %d")
[70] Fix | Delete
JMESSAGE(JERR_BAD_PROGRESSION,
[71] Fix | Delete
"Invalid progressive parameters Ss=%d Se=%d Ah=%d Al=%d")
[72] Fix | Delete
JMESSAGE(JERR_BAD_PROG_SCRIPT,
[73] Fix | Delete
"Invalid progressive parameters at scan script entry %d")
[74] Fix | Delete
JMESSAGE(JERR_BAD_SAMPLING, "Bogus sampling factors")
[75] Fix | Delete
JMESSAGE(JERR_BAD_SCAN_SCRIPT, "Invalid scan script at entry %d")
[76] Fix | Delete
JMESSAGE(JERR_BAD_STATE, "Improper call to JPEG library in state %d")
[77] Fix | Delete
JMESSAGE(JERR_BAD_STRUCT_SIZE,
[78] Fix | Delete
"JPEG parameter struct mismatch: library thinks size is %u, caller expects %u")
[79] Fix | Delete
JMESSAGE(JERR_BAD_VIRTUAL_ACCESS, "Bogus virtual array access")
[80] Fix | Delete
JMESSAGE(JERR_BUFFER_SIZE, "Buffer passed to JPEG library is too small")
[81] Fix | Delete
JMESSAGE(JERR_CANT_SUSPEND, "Suspension not allowed here")
[82] Fix | Delete
JMESSAGE(JERR_CCIR601_NOTIMPL, "CCIR601 sampling not implemented yet")
[83] Fix | Delete
JMESSAGE(JERR_COMPONENT_COUNT, "Too many color components: %d, max %d")
[84] Fix | Delete
JMESSAGE(JERR_CONVERSION_NOTIMPL, "Unsupported color conversion request")
[85] Fix | Delete
JMESSAGE(JERR_DAC_INDEX, "Bogus DAC index %d")
[86] Fix | Delete
JMESSAGE(JERR_DAC_VALUE, "Bogus DAC value 0x%x")
[87] Fix | Delete
JMESSAGE(JERR_DHT_INDEX, "Bogus DHT index %d")
[88] Fix | Delete
JMESSAGE(JERR_DQT_INDEX, "Bogus DQT index %d")
[89] Fix | Delete
JMESSAGE(JERR_EMPTY_IMAGE, "Empty JPEG image (DNL not supported)")
[90] Fix | Delete
JMESSAGE(JERR_EMS_READ, "Read from EMS failed")
[91] Fix | Delete
JMESSAGE(JERR_EMS_WRITE, "Write to EMS failed")
[92] Fix | Delete
JMESSAGE(JERR_EOI_EXPECTED, "Didn't expect more than one scan")
[93] Fix | Delete
JMESSAGE(JERR_FILE_READ, "Input file read error")
[94] Fix | Delete
JMESSAGE(JERR_FILE_WRITE, "Output file write error --- out of disk space?")
[95] Fix | Delete
JMESSAGE(JERR_FRACT_SAMPLE_NOTIMPL, "Fractional sampling not implemented yet")
[96] Fix | Delete
JMESSAGE(JERR_HUFF_CLEN_OVERFLOW, "Huffman code size table overflow")
[97] Fix | Delete
JMESSAGE(JERR_HUFF_MISSING_CODE, "Missing Huffman code table entry")
[98] Fix | Delete
JMESSAGE(JERR_IMAGE_TOO_BIG, "Maximum supported image dimension is %u pixels")
[99] Fix | Delete
JMESSAGE(JERR_INPUT_EMPTY, "Empty input file")
[100] Fix | Delete
JMESSAGE(JERR_INPUT_EOF, "Premature end of input file")
[101] Fix | Delete
JMESSAGE(JERR_MISMATCHED_QUANT_TABLE,
[102] Fix | Delete
"Cannot transcode due to multiple use of quantization table %d")
[103] Fix | Delete
JMESSAGE(JERR_MISSING_DATA, "Scan script does not transmit all data")
[104] Fix | Delete
JMESSAGE(JERR_MODE_CHANGE, "Invalid color quantization mode change")
[105] Fix | Delete
JMESSAGE(JERR_NOTIMPL, "Not implemented yet")
[106] Fix | Delete
JMESSAGE(JERR_NOT_COMPILED, "Requested feature was omitted at compile time")
[107] Fix | Delete
#if JPEG_LIB_VERSION >= 70
[108] Fix | Delete
JMESSAGE(JERR_NO_ARITH_TABLE, "Arithmetic table 0x%02x was not defined")
[109] Fix | Delete
#endif
[110] Fix | Delete
JMESSAGE(JERR_NO_BACKING_STORE, "Backing store not supported")
[111] Fix | Delete
JMESSAGE(JERR_NO_HUFF_TABLE, "Huffman table 0x%02x was not defined")
[112] Fix | Delete
JMESSAGE(JERR_NO_IMAGE, "JPEG datastream contains no image")
[113] Fix | Delete
JMESSAGE(JERR_NO_QUANT_TABLE, "Quantization table 0x%02x was not defined")
[114] Fix | Delete
JMESSAGE(JERR_NO_SOI, "Not a JPEG file: starts with 0x%02x 0x%02x")
[115] Fix | Delete
JMESSAGE(JERR_OUT_OF_MEMORY, "Insufficient memory (case %d)")
[116] Fix | Delete
JMESSAGE(JERR_QUANT_COMPONENTS,
[117] Fix | Delete
"Cannot quantize more than %d color components")
[118] Fix | Delete
JMESSAGE(JERR_QUANT_FEW_COLORS, "Cannot quantize to fewer than %d colors")
[119] Fix | Delete
JMESSAGE(JERR_QUANT_MANY_COLORS, "Cannot quantize to more than %d colors")
[120] Fix | Delete
JMESSAGE(JERR_SOF_DUPLICATE, "Invalid JPEG file structure: two SOF markers")
[121] Fix | Delete
JMESSAGE(JERR_SOF_NO_SOS, "Invalid JPEG file structure: missing SOS marker")
[122] Fix | Delete
JMESSAGE(JERR_SOF_UNSUPPORTED, "Unsupported JPEG process: SOF type 0x%02x")
[123] Fix | Delete
JMESSAGE(JERR_SOI_DUPLICATE, "Invalid JPEG file structure: two SOI markers")
[124] Fix | Delete
JMESSAGE(JERR_SOS_NO_SOF, "Invalid JPEG file structure: SOS before SOF")
[125] Fix | Delete
JMESSAGE(JERR_TFILE_CREATE, "Failed to create temporary file %s")
[126] Fix | Delete
JMESSAGE(JERR_TFILE_READ, "Read failed on temporary file")
[127] Fix | Delete
JMESSAGE(JERR_TFILE_SEEK, "Seek failed on temporary file")
[128] Fix | Delete
JMESSAGE(JERR_TFILE_WRITE,
[129] Fix | Delete
"Write failed on temporary file --- out of disk space?")
[130] Fix | Delete
JMESSAGE(JERR_TOO_LITTLE_DATA, "Application transferred too few scanlines")
[131] Fix | Delete
JMESSAGE(JERR_UNKNOWN_MARKER, "Unsupported marker type 0x%02x")
[132] Fix | Delete
JMESSAGE(JERR_VIRTUAL_BUG, "Virtual array controller messed up")
[133] Fix | Delete
JMESSAGE(JERR_WIDTH_OVERFLOW, "Image too wide for this implementation")
[134] Fix | Delete
JMESSAGE(JERR_XMS_READ, "Read from XMS failed")
[135] Fix | Delete
JMESSAGE(JERR_XMS_WRITE, "Write to XMS failed")
[136] Fix | Delete
JMESSAGE(JMSG_COPYRIGHT, JCOPYRIGHT_SHORT)
[137] Fix | Delete
JMESSAGE(JMSG_VERSION, JVERSION)
[138] Fix | Delete
JMESSAGE(JTRC_16BIT_TABLES,
[139] Fix | Delete
"Caution: quantization tables are too coarse for baseline JPEG")
[140] Fix | Delete
JMESSAGE(JTRC_ADOBE,
[141] Fix | Delete
"Adobe APP14 marker: version %d, flags 0x%04x 0x%04x, transform %d")
[142] Fix | Delete
JMESSAGE(JTRC_APP0, "Unknown APP0 marker (not JFIF), length %u")
[143] Fix | Delete
JMESSAGE(JTRC_APP14, "Unknown APP14 marker (not Adobe), length %u")
[144] Fix | Delete
JMESSAGE(JTRC_DAC, "Define Arithmetic Table 0x%02x: 0x%02x")
[145] Fix | Delete
JMESSAGE(JTRC_DHT, "Define Huffman Table 0x%02x")
[146] Fix | Delete
JMESSAGE(JTRC_DQT, "Define Quantization Table %d precision %d")
[147] Fix | Delete
JMESSAGE(JTRC_DRI, "Define Restart Interval %u")
[148] Fix | Delete
JMESSAGE(JTRC_EMS_CLOSE, "Freed EMS handle %u")
[149] Fix | Delete
JMESSAGE(JTRC_EMS_OPEN, "Obtained EMS handle %u")
[150] Fix | Delete
JMESSAGE(JTRC_EOI, "End Of Image")
[151] Fix | Delete
JMESSAGE(JTRC_HUFFBITS, " %3d %3d %3d %3d %3d %3d %3d %3d")
[152] Fix | Delete
JMESSAGE(JTRC_JFIF, "JFIF APP0 marker: version %d.%02d, density %dx%d %d")
[153] Fix | Delete
JMESSAGE(JTRC_JFIF_BADTHUMBNAILSIZE,
[154] Fix | Delete
"Warning: thumbnail image size does not match data length %u")
[155] Fix | Delete
JMESSAGE(JTRC_JFIF_EXTENSION,
[156] Fix | Delete
"JFIF extension marker: type 0x%02x, length %u")
[157] Fix | Delete
JMESSAGE(JTRC_JFIF_THUMBNAIL, " with %d x %d thumbnail image")
[158] Fix | Delete
JMESSAGE(JTRC_MISC_MARKER, "Miscellaneous marker 0x%02x, length %u")
[159] Fix | Delete
JMESSAGE(JTRC_PARMLESS_MARKER, "Unexpected marker 0x%02x")
[160] Fix | Delete
JMESSAGE(JTRC_QUANTVALS, " %4u %4u %4u %4u %4u %4u %4u %4u")
[161] Fix | Delete
JMESSAGE(JTRC_QUANT_3_NCOLORS, "Quantizing to %d = %d*%d*%d colors")
[162] Fix | Delete
JMESSAGE(JTRC_QUANT_NCOLORS, "Quantizing to %d colors")
[163] Fix | Delete
JMESSAGE(JTRC_QUANT_SELECTED, "Selected %d colors for quantization")
[164] Fix | Delete
JMESSAGE(JTRC_RECOVERY_ACTION, "At marker 0x%02x, recovery action %d")
[165] Fix | Delete
JMESSAGE(JTRC_RST, "RST%d")
[166] Fix | Delete
JMESSAGE(JTRC_SMOOTH_NOTIMPL,
[167] Fix | Delete
"Smoothing not supported with nonstandard sampling ratios")
[168] Fix | Delete
JMESSAGE(JTRC_SOF, "Start Of Frame 0x%02x: width=%u, height=%u, components=%d")
[169] Fix | Delete
JMESSAGE(JTRC_SOF_COMPONENT, " Component %d: %dhx%dv q=%d")
[170] Fix | Delete
JMESSAGE(JTRC_SOI, "Start of Image")
[171] Fix | Delete
JMESSAGE(JTRC_SOS, "Start Of Scan: %d components")
[172] Fix | Delete
JMESSAGE(JTRC_SOS_COMPONENT, " Component %d: dc=%d ac=%d")
[173] Fix | Delete
JMESSAGE(JTRC_SOS_PARAMS, " Ss=%d, Se=%d, Ah=%d, Al=%d")
[174] Fix | Delete
JMESSAGE(JTRC_TFILE_CLOSE, "Closed temporary file %s")
[175] Fix | Delete
JMESSAGE(JTRC_TFILE_OPEN, "Opened temporary file %s")
[176] Fix | Delete
JMESSAGE(JTRC_THUMB_JPEG,
[177] Fix | Delete
"JFIF extension marker: JPEG-compressed thumbnail image, length %u")
[178] Fix | Delete
JMESSAGE(JTRC_THUMB_PALETTE,
[179] Fix | Delete
"JFIF extension marker: palette thumbnail image, length %u")
[180] Fix | Delete
JMESSAGE(JTRC_THUMB_RGB,
[181] Fix | Delete
"JFIF extension marker: RGB thumbnail image, length %u")
[182] Fix | Delete
JMESSAGE(JTRC_UNKNOWN_IDS,
[183] Fix | Delete
"Unrecognized component IDs %d %d %d, assuming YCbCr")
[184] Fix | Delete
JMESSAGE(JTRC_XMS_CLOSE, "Freed XMS handle %u")
[185] Fix | Delete
JMESSAGE(JTRC_XMS_OPEN, "Obtained XMS handle %u")
[186] Fix | Delete
JMESSAGE(JWRN_ADOBE_XFORM, "Unknown Adobe color transform code %d")
[187] Fix | Delete
#if JPEG_LIB_VERSION >= 70
[188] Fix | Delete
JMESSAGE(JWRN_ARITH_BAD_CODE, "Corrupt JPEG data: bad arithmetic code")
[189] Fix | Delete
#endif
[190] Fix | Delete
JMESSAGE(JWRN_BOGUS_PROGRESSION,
[191] Fix | Delete
"Inconsistent progression sequence for component %d coefficient %d")
[192] Fix | Delete
JMESSAGE(JWRN_EXTRANEOUS_DATA,
[193] Fix | Delete
"Corrupt JPEG data: %u extraneous bytes before marker 0x%02x")
[194] Fix | Delete
JMESSAGE(JWRN_HIT_MARKER, "Corrupt JPEG data: premature end of data segment")
[195] Fix | Delete
JMESSAGE(JWRN_HUFF_BAD_CODE, "Corrupt JPEG data: bad Huffman code")
[196] Fix | Delete
JMESSAGE(JWRN_JFIF_MAJOR, "Warning: unknown JFIF revision number %d.%02d")
[197] Fix | Delete
JMESSAGE(JWRN_JPEG_EOF, "Premature end of JPEG file")
[198] Fix | Delete
JMESSAGE(JWRN_MUST_RESYNC,
[199] Fix | Delete
"Corrupt JPEG data: found marker 0x%02x instead of RST%d")
[200] Fix | Delete
JMESSAGE(JWRN_NOT_SEQUENTIAL, "Invalid SOS parameters for sequential JPEG")
[201] Fix | Delete
JMESSAGE(JWRN_TOO_MUCH_DATA, "Application transferred too many scanlines")
[202] Fix | Delete
#if JPEG_LIB_VERSION < 70
[203] Fix | Delete
JMESSAGE(JERR_BAD_CROP_SPEC, "Invalid crop request")
[204] Fix | Delete
#if defined(C_ARITH_CODING_SUPPORTED) || defined(D_ARITH_CODING_SUPPORTED)
[205] Fix | Delete
JMESSAGE(JERR_NO_ARITH_TABLE, "Arithmetic table 0x%02x was not defined")
[206] Fix | Delete
JMESSAGE(JWRN_ARITH_BAD_CODE, "Corrupt JPEG data: bad arithmetic code")
[207] Fix | Delete
#endif
[208] Fix | Delete
#endif
[209] Fix | Delete
[210] Fix | Delete
#ifdef JMAKE_ENUM_LIST
[211] Fix | Delete
[212] Fix | Delete
JMSG_LASTMSGCODE
[213] Fix | Delete
} J_MESSAGE_CODE;
[214] Fix | Delete
[215] Fix | Delete
#undef JMAKE_ENUM_LIST
[216] Fix | Delete
#endif /* JMAKE_ENUM_LIST */
[217] Fix | Delete
[218] Fix | Delete
/* Zap JMESSAGE macro so that future re-inclusions do nothing by default */
[219] Fix | Delete
#undef JMESSAGE
[220] Fix | Delete
[221] Fix | Delete
[222] Fix | Delete
#ifndef JERROR_H
[223] Fix | Delete
#define JERROR_H
[224] Fix | Delete
[225] Fix | Delete
/* Macros to simplify using the error and trace message stuff */
[226] Fix | Delete
/* The first parameter is either type of cinfo pointer */
[227] Fix | Delete
[228] Fix | Delete
/* Fatal errors (print message and exit) */
[229] Fix | Delete
#define ERREXIT(cinfo,code) \
[230] Fix | Delete
((cinfo)->err->msg_code = (code), \
[231] Fix | Delete
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
[232] Fix | Delete
#define ERREXIT1(cinfo,code,p1) \
[233] Fix | Delete
((cinfo)->err->msg_code = (code), \
[234] Fix | Delete
(cinfo)->err->msg_parm.i[0] = (p1), \
[235] Fix | Delete
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
[236] Fix | Delete
#define ERREXIT2(cinfo,code,p1,p2) \
[237] Fix | Delete
((cinfo)->err->msg_code = (code), \
[238] Fix | Delete
(cinfo)->err->msg_parm.i[0] = (p1), \
[239] Fix | Delete
(cinfo)->err->msg_parm.i[1] = (p2), \
[240] Fix | Delete
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
[241] Fix | Delete
#define ERREXIT3(cinfo,code,p1,p2,p3) \
[242] Fix | Delete
((cinfo)->err->msg_code = (code), \
[243] Fix | Delete
(cinfo)->err->msg_parm.i[0] = (p1), \
[244] Fix | Delete
(cinfo)->err->msg_parm.i[1] = (p2), \
[245] Fix | Delete
(cinfo)->err->msg_parm.i[2] = (p3), \
[246] Fix | Delete
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
[247] Fix | Delete
#define ERREXIT4(cinfo,code,p1,p2,p3,p4) \
[248] Fix | Delete
((cinfo)->err->msg_code = (code), \
[249] Fix | Delete
(cinfo)->err->msg_parm.i[0] = (p1), \
[250] Fix | Delete
(cinfo)->err->msg_parm.i[1] = (p2), \
[251] Fix | Delete
(cinfo)->err->msg_parm.i[2] = (p3), \
[252] Fix | Delete
(cinfo)->err->msg_parm.i[3] = (p4), \
[253] Fix | Delete
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
[254] Fix | Delete
#define ERREXITS(cinfo,code,str) \
[255] Fix | Delete
((cinfo)->err->msg_code = (code), \
[256] Fix | Delete
strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
[257] Fix | Delete
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
[258] Fix | Delete
[259] Fix | Delete
#define MAKESTMT(stuff) do { stuff } while (0)
[260] Fix | Delete
[261] Fix | Delete
/* Nonfatal errors (we can keep going, but the data is probably corrupt) */
[262] Fix | Delete
#define WARNMS(cinfo,code) \
[263] Fix | Delete
((cinfo)->err->msg_code = (code), \
[264] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))
[265] Fix | Delete
#define WARNMS1(cinfo,code,p1) \
[266] Fix | Delete
((cinfo)->err->msg_code = (code), \
[267] Fix | Delete
(cinfo)->err->msg_parm.i[0] = (p1), \
[268] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))
[269] Fix | Delete
#define WARNMS2(cinfo,code,p1,p2) \
[270] Fix | Delete
((cinfo)->err->msg_code = (code), \
[271] Fix | Delete
(cinfo)->err->msg_parm.i[0] = (p1), \
[272] Fix | Delete
(cinfo)->err->msg_parm.i[1] = (p2), \
[273] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))
[274] Fix | Delete
[275] Fix | Delete
/* Informational/debugging messages */
[276] Fix | Delete
#define TRACEMS(cinfo,lvl,code) \
[277] Fix | Delete
((cinfo)->err->msg_code = (code), \
[278] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
[279] Fix | Delete
#define TRACEMS1(cinfo,lvl,code,p1) \
[280] Fix | Delete
((cinfo)->err->msg_code = (code), \
[281] Fix | Delete
(cinfo)->err->msg_parm.i[0] = (p1), \
[282] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
[283] Fix | Delete
#define TRACEMS2(cinfo,lvl,code,p1,p2) \
[284] Fix | Delete
((cinfo)->err->msg_code = (code), \
[285] Fix | Delete
(cinfo)->err->msg_parm.i[0] = (p1), \
[286] Fix | Delete
(cinfo)->err->msg_parm.i[1] = (p2), \
[287] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
[288] Fix | Delete
#define TRACEMS3(cinfo,lvl,code,p1,p2,p3) \
[289] Fix | Delete
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
[290] Fix | Delete
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); \
[291] Fix | Delete
(cinfo)->err->msg_code = (code); \
[292] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
[293] Fix | Delete
#define TRACEMS4(cinfo,lvl,code,p1,p2,p3,p4) \
[294] Fix | Delete
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
[295] Fix | Delete
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
[296] Fix | Delete
(cinfo)->err->msg_code = (code); \
[297] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
[298] Fix | Delete
#define TRACEMS5(cinfo,lvl,code,p1,p2,p3,p4,p5) \
[299] Fix | Delete
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
[300] Fix | Delete
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
[301] Fix | Delete
_mp[4] = (p5); \
[302] Fix | Delete
(cinfo)->err->msg_code = (code); \
[303] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
[304] Fix | Delete
#define TRACEMS8(cinfo,lvl,code,p1,p2,p3,p4,p5,p6,p7,p8) \
[305] Fix | Delete
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
[306] Fix | Delete
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
[307] Fix | Delete
_mp[4] = (p5); _mp[5] = (p6); _mp[6] = (p7); _mp[7] = (p8); \
[308] Fix | Delete
(cinfo)->err->msg_code = (code); \
[309] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
[310] Fix | Delete
#define TRACEMSS(cinfo,lvl,code,str) \
[311] Fix | Delete
((cinfo)->err->msg_code = (code), \
[312] Fix | Delete
strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
[313] Fix | Delete
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
[314] Fix | Delete
[315] Fix | Delete
#endif /* JERROR_H */
[316] Fix | Delete
[317] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function