NVIDIA DeepStream SDK API Reference

9.2 Release
sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h
Go to the documentation of this file.
1 /*
2  * jpeglib.h
3  *
4  * SPDX-License-Identifier: IJG
5  *
6  * This file was part of the Independent JPEG Group's software:
7  * Copyright (C) 1991-1998, Thomas G. Lane.
8  * Modified 2002-2009 by Guido Vollbeding.
9  * libjpeg-turbo Modifications:
10  * Copyright (C) 2009-2011, 2013-2014, 2016, D. R. Commander.
11  * Copyright (C) 2015, Google, Inc.
12  * For conditions of distribution and use, see the accompanying README.ijg
13  * file.
14  *
15  * This file defines the application interface for the JPEG library.
16  * Most applications using the library need only include this file,
17  * and perhaps jerror.h if they want to know the exact error codes.
18  */
19 
20 #ifndef JPEGLIB_H
21 #define JPEGLIB_H
22 
23 /*
24  * First we include the configuration files that record how this
25  * installation of the JPEG library is set up. jconfig.h can be
26  * generated automatically for many systems. jmorecfg.h contains
27  * manual configuration options that most people need not worry about.
28  */
29 
30 #ifndef JCONFIG_INCLUDED /* in case jinclude.h already did */
31 #include "jconfig.h" /* widely used configuration options */
32 #endif
33 #include "jmorecfg.h" /* seldom changed options */
34 
35 
36 #ifdef __cplusplus
37 #ifndef DONT_USE_EXTERN_C
38 extern "C" {
39 #endif
40 #endif
41 
42 
43 /* Various constants determining the sizes of things.
44  * All of these are specified by the JPEG standard, so don't change them
45  * if you want to be compatible.
46  */
47 
48 #define DCTSIZE 8 /* The basic DCT block is 8x8 samples */
49 #define DCTSIZE2 64 /* DCTSIZE squared; # of elements in a block */
50 #define NUM_QUANT_TBLS 4 /* Quantization tables are numbered 0..3 */
51 #define NUM_HUFF_TBLS 4 /* Huffman tables are numbered 0..3 */
52 #define NUM_ARITH_TBLS 16 /* Arith-coding tables are numbered 0..15 */
53 #define MAX_COMPS_IN_SCAN 4 /* JPEG limit on # of components in one scan */
54 #define MAX_SAMP_FACTOR 4 /* JPEG limit on sampling factors */
55 /* Unfortunately, some bozo at Adobe saw no reason to be bound by the standard;
56  * the PostScript DCT filter can emit files with many more than 10 blocks/MCU.
57  * If you happen to run across such a file, you can up D_MAX_BLOCKS_IN_MCU
58  * to handle it. We even let you do this from the jconfig.h file. However,
59  * we strongly discourage changing C_MAX_BLOCKS_IN_MCU; just because Adobe
60  * sometimes emits noncompliant files doesn't mean you should too.
61  */
62 #define C_MAX_BLOCKS_IN_MCU 10 /* compressor's limit on blocks per MCU */
63 #ifndef D_MAX_BLOCKS_IN_MCU
64 #define D_MAX_BLOCKS_IN_MCU 10 /* decompressor's limit on blocks per MCU */
65 #endif
66 
67 
68 /* Data structures for images (arrays of samples and of DCT coefficients).
69  */
70 
71 typedef JSAMPLE *JSAMPROW; /* ptr to one image row of pixel samples. */
72 typedef JSAMPROW *JSAMPARRAY; /* ptr to some rows (a 2-D sample array) */
73 typedef JSAMPARRAY *JSAMPIMAGE; /* a 3-D sample array: top index is color */
74 
75 typedef JCOEF JBLOCK[DCTSIZE2]; /* one block of coefficients */
76 typedef JBLOCK *JBLOCKROW; /* pointer to one row of coefficient blocks */
77 typedef JBLOCKROW *JBLOCKARRAY; /* a 2-D array of coefficient blocks */
78 typedef JBLOCKARRAY *JBLOCKIMAGE; /* a 3-D array of coefficient blocks */
79 
80 typedef JCOEF *JCOEFPTR; /* useful in a couple of places */
81 
82 
83 /* Types for JPEG compression parameters and working tables. */
84 
85 
86 /* DCT coefficient quantization tables. */
87 
88 typedef struct {
89  /* This array gives the coefficient quantizers in natural array order
90  * (not the zigzag order in which they are stored in a JPEG DQT marker).
91  * CAUTION: IJG versions prior to v6a kept this array in zigzag order.
92  */
93  UINT16 quantval[DCTSIZE2]; /* quantization step for each coefficient */
94  /* This field is used only during compression. It's initialized FALSE when
95  * the table is created, and set TRUE when it's been output to the file.
96  * You could suppress output of a table by setting this to TRUE.
97  * (See jpeg_suppress_tables for an example.)
98  */
99  boolean sent_table; /* TRUE when table has been output */
100 } JQUANT_TBL;
101 
102 
103 /* Huffman coding tables. */
104 
105 typedef struct {
106  /* These two fields directly represent the contents of a JPEG DHT marker */
107  UINT8 bits[17]; /* bits[k] = # of symbols with codes of */
108  /* length k bits; bits[0] is unused */
109  UINT8 huffval[256]; /* The symbols, in order of incr code length */
110  /* This field is used only during compression. It's initialized FALSE when
111  * the table is created, and set TRUE when it's been output to the file.
112  * You could suppress output of a table by setting this to TRUE.
113  * (See jpeg_suppress_tables for an example.)
114  */
115  boolean sent_table; /* TRUE when table has been output */
116 } JHUFF_TBL;
117 
118 
119 /* Basic info about one component (color channel). */
120 
121 typedef struct {
122  /* These values are fixed over the whole image. */
123  /* For compression, they must be supplied by parameter setup; */
124  /* for decompression, they are read from the SOF marker. */
125  int component_id; /* identifier for this component (0..255) */
126  int component_index; /* its index in SOF or cinfo->comp_info[] */
127  int h_samp_factor; /* horizontal sampling factor (1..4) */
128  int v_samp_factor; /* vertical sampling factor (1..4) */
129  int quant_tbl_no; /* quantization table selector (0..3) */
130  /* These values may vary between scans. */
131  /* For compression, they must be supplied by parameter setup; */
132  /* for decompression, they are read from the SOS marker. */
133  /* The decompressor output side may not use these variables. */
134  int dc_tbl_no; /* DC entropy table selector (0..3) */
135  int ac_tbl_no; /* AC entropy table selector (0..3) */
136 
137  /* Remaining fields should be treated as private by applications. */
138 
139  /* These values are computed during compression or decompression startup: */
140  /* Component's size in DCT blocks.
141  * Any dummy blocks added to complete an MCU are not counted; therefore
142  * these values do not depend on whether a scan is interleaved or not.
143  */
146  /* Size of a DCT block in samples. Always DCTSIZE for compression.
147  * For decompression this is the size of the output from one DCT block,
148  * reflecting any scaling we choose to apply during the IDCT step.
149  * Values from 1 to 16 are supported.
150  * Note that different components may receive different IDCT scalings.
151  */
152 #if JPEG_LIB_VERSION >= 70
155 #else
156  int DCT_scaled_size;
157 #endif
158  /* The downsampled dimensions are the component's actual, unpadded number
159  * of samples at the main buffer (preprocessing/compression interface), thus
160  * downsampled_width = ceil(image_width * Hi/Hmax)
161  * and similarly for height. For decompression, IDCT scaling is included, so
162  * downsampled_width = ceil(image_width * Hi/Hmax * DCT_[h_]scaled_size/DCTSIZE)
163  */
164  JDIMENSION downsampled_width; /* actual width in samples */
165  JDIMENSION downsampled_height; /* actual height in samples */
166  /* This flag is used only for decompression. In cases where some of the
167  * components will be ignored (eg grayscale output from YCbCr image),
168  * we can skip most computations for the unused components.
169  */
170  boolean component_needed; /* do we need the value of this component? */
171 
172  /* These values are computed before starting a scan of the component. */
173  /* The decompressor output side may not use these variables. */
174  int MCU_width; /* number of blocks per MCU, horizontally */
175  int MCU_height; /* number of blocks per MCU, vertically */
176  int MCU_blocks; /* MCU_width * MCU_height */
177  int MCU_sample_width; /* MCU width in samples, MCU_width*DCT_[h_]scaled_size */
178  int last_col_width; /* # of non-dummy blocks across in last MCU */
179  int last_row_height; /* # of non-dummy blocks down in last MCU */
180 
181  /* Saved quantization table for component; NULL if none yet saved.
182  * See jdinput.c comments about the need for this information.
183  * This field is currently used only for decompression.
184  */
186 
187  /* Private per-component storage for DCT or IDCT subsystem. */
188  void *dct_table;
190 
191 
192 /* The script for encoding a multiple-scan file is an array of these: */
193 
194 typedef struct {
195  int comps_in_scan; /* number of components encoded in this scan */
196  int component_index[MAX_COMPS_IN_SCAN]; /* their SOF/comp_info[] indexes */
197  int Ss, Se; /* progressive JPEG spectral selection parms */
198  int Ah, Al; /* progressive JPEG successive approx. parms */
200 
201 /* The decompressor can save APPn and COM markers in a list of these: */
202 
204 
206  jpeg_saved_marker_ptr next; /* next in list, or NULL */
207  UINT8 marker; /* marker code: JPEG_COM, or JPEG_APP0+n */
208  unsigned int original_length; /* # bytes of data in the file */
209  unsigned int data_length; /* # bytes of data saved at data[] */
210  JOCTET *data; /* the data contained in the marker */
211  /* the marker length word is not counted in data_length or original_length */
212 };
213 
214 /* Known color spaces. */
215 
216 #define JCS_EXTENSIONS 1
217 #define JCS_ALPHA_EXTENSIONS 1
218 
219 typedef enum {
220  JCS_UNKNOWN, /* error/unspecified */
221  JCS_GRAYSCALE, /* monochrome */
222  JCS_RGB, /* red/green/blue as specified by the RGB_RED,
223  RGB_GREEN, RGB_BLUE, and RGB_PIXELSIZE macros */
224  JCS_YCbCr, /* Y/Cb/Cr (also known as YUV) */
225  JCS_CMYK, /* C/M/Y/K */
226  JCS_YCCK, /* Y/Cb/Cr/K */
227  JCS_EXT_RGB, /* red/green/blue */
228  JCS_EXT_RGBX, /* red/green/blue/x */
229  JCS_EXT_BGR, /* blue/green/red */
230  JCS_EXT_BGRX, /* blue/green/red/x */
231  JCS_EXT_XBGR, /* x/blue/green/red */
232  JCS_EXT_XRGB, /* x/red/green/blue */
233  /* When out_color_space it set to JCS_EXT_RGBX, JCS_EXT_BGRX, JCS_EXT_XBGR,
234  or JCS_EXT_XRGB during decompression, the X byte is undefined, and in
235  order to ensure the best performance, libjpeg-turbo can set that byte to
236  whatever value it wishes. Use the following colorspace constants to
237  ensure that the X byte is set to 0xFF, so that it can be interpreted as an
238  opaque alpha channel. */
239  JCS_EXT_RGBA, /* red/green/blue/alpha */
240  JCS_EXT_BGRA, /* blue/green/red/alpha */
241  JCS_EXT_ABGR, /* alpha/blue/green/red */
242  JCS_EXT_ARGB, /* alpha/red/green/blue */
243  JCS_RGB565 /* 5-bit red/6-bit green/5-bit blue */
244 } J_COLOR_SPACE;
245 
246 /* DCT/IDCT algorithm options. */
247 
248 typedef enum {
249  JDCT_ISLOW, /* slow but accurate integer algorithm */
250  JDCT_IFAST, /* faster, less accurate integer method */
251  JDCT_FLOAT /* floating-point: accurate, fast on fast HW */
252 } J_DCT_METHOD;
253 
254 #ifndef JDCT_DEFAULT /* may be overridden in jconfig.h */
255 #define JDCT_DEFAULT JDCT_ISLOW
256 #endif
257 #ifndef JDCT_FASTEST /* may be overridden in jconfig.h */
258 #define JDCT_FASTEST JDCT_IFAST
259 #endif
260 
261 /* Dithering options for decompression. */
262 
263 typedef enum {
264  JDITHER_NONE, /* no dithering */
265  JDITHER_ORDERED, /* simple ordered dither */
266  JDITHER_FS /* Floyd-Steinberg error diffusion dither */
267 } J_DITHER_MODE;
268 
269 
270 /* Common fields between JPEG compression and decompression master structs. */
271 
272 #define jpeg_common_fields \
273  struct jpeg_error_mgr *err; /* Error handler module */\
274  struct jpeg_memory_mgr *mem; /* Memory manager module */\
275  struct jpeg_progress_mgr *progress; /* Progress monitor, or NULL if none */\
276  void *client_data; /* Available for use by application */\
277  boolean is_decompressor; /* So common code can tell which is which */\
278  int global_state /* For checking call sequence validity */
279 
280 /* Routines that are to be used by both halves of the library are declared
281  * to receive a pointer to this structure. There are no actual instances of
282  * jpeg_common_struct, only of jpeg_compress_struct and jpeg_decompress_struct.
283  */
285  jpeg_common_fields; /* Fields common to both master struct types */
286  /* Additional fields follow in an actual jpeg_compress_struct or
287  * jpeg_decompress_struct. All three structs must agree on these
288  * initial fields! (This would be a lot cleaner in C++.)
289  */
290 };
291 
295 
296 
297 /* Master record for a compression instance */
298 
300  jpeg_common_fields; /* Fields shared with jpeg_decompress_struct */
301 
302  /* Destination for compressed data */
304 
305  /* Description of source image --- these fields must be filled in by
306  * outer application before starting compression. in_color_space must
307  * be correct before you can even call jpeg_set_defaults().
308  */
309 
310  JDIMENSION image_width; /* input image width */
311  JDIMENSION image_height; /* input image height */
312  int input_components; /* # of color components in input image */
313  J_COLOR_SPACE in_color_space; /* colorspace of input image */
314 
315  double input_gamma; /* image gamma of input image */
316 
317  /* Compression parameters --- these fields must be set before calling
318  * jpeg_start_compress(). We recommend calling jpeg_set_defaults() to
319  * initialize everything to reasonable defaults, then changing anything
320  * the application specifically wants to change. That way you won't get
321  * burnt when new parameters are added. Also note that there are several
322  * helper routines to simplify changing parameters.
323  */
324 
325 #if JPEG_LIB_VERSION >= 70
326  unsigned int scale_num, scale_denom; /* fraction by which to scale image */
327 
328  JDIMENSION jpeg_width; /* scaled JPEG image width */
329  JDIMENSION jpeg_height; /* scaled JPEG image height */
330  /* Dimensions of actual JPEG image that will be written to file,
331  * derived from input dimensions by scaling factors above.
332  * These fields are computed by jpeg_start_compress().
333  * You can also use jpeg_calc_jpeg_dimensions() to determine these values
334  * in advance of calling jpeg_start_compress().
335  */
336 #endif
337 
338  int data_precision; /* bits of precision in image data */
339 
340  int num_components; /* # of color components in JPEG image */
341  J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */
342 
344  /* comp_info[i] describes component that appears i'th in SOF */
345 
347 #if JPEG_LIB_VERSION >= 70
349 #endif
350  /* ptrs to coefficient quantization tables, or NULL if not defined,
351  * and corresponding scale factors (percentage, initialized 100).
352  */
353 
356  /* ptrs to Huffman coding tables, or NULL if not defined */
357 
358  UINT8 arith_dc_L[NUM_ARITH_TBLS]; /* L values for DC arith-coding tables */
359  UINT8 arith_dc_U[NUM_ARITH_TBLS]; /* U values for DC arith-coding tables */
360  UINT8 arith_ac_K[NUM_ARITH_TBLS]; /* Kx values for AC arith-coding tables */
361 
362  int num_scans; /* # of entries in scan_info array */
363  const jpeg_scan_info *scan_info; /* script for multi-scan file, or NULL */
364  /* The default value of scan_info is NULL, which causes a single-scan
365  * sequential JPEG file to be emitted. To create a multi-scan file,
366  * set num_scans and scan_info to point to an array of scan definitions.
367  */
368 
369  boolean raw_data_in; /* TRUE=caller supplies downsampled data */
370  boolean arith_code; /* TRUE=arithmetic coding, FALSE=Huffman */
371  boolean optimize_coding; /* TRUE=optimize entropy encoding parms */
372  boolean CCIR601_sampling; /* TRUE=first samples are cosited */
373 #if JPEG_LIB_VERSION >= 70
374  boolean do_fancy_downsampling; /* TRUE=apply fancy downsampling */
375 #endif
376  int smoothing_factor; /* 1..100, or 0 for no input smoothing */
377  J_DCT_METHOD dct_method; /* DCT algorithm selector */
378 
379  /* The restart interval can be specified in absolute MCUs by setting
380  * restart_interval, or in MCU rows by setting restart_in_rows
381  * (in which case the correct restart_interval will be figured
382  * for each scan).
383  */
384  unsigned int restart_interval; /* MCUs per restart, or 0 for no restart */
385  int restart_in_rows; /* if > 0, MCU rows per restart interval */
386 
387  /* Parameters controlling emission of special markers. */
388 
389  boolean write_JFIF_header; /* should a JFIF marker be written? */
390  UINT8 JFIF_major_version; /* What to write for the JFIF version number */
392  /* These three values are not used by the JPEG code, merely copied */
393  /* into the JFIF APP0 marker. density_unit can be 0 for unknown, */
394  /* 1 for dots/inch, or 2 for dots/cm. Note that the pixel aspect */
395  /* ratio is defined by X_density/Y_density even when density_unit=0. */
396  UINT8 density_unit; /* JFIF code for pixel size units */
397  UINT16 X_density; /* Horizontal pixel density */
398  UINT16 Y_density; /* Vertical pixel density */
399  boolean write_Adobe_marker; /* should an Adobe marker be written? */
400 
401  /* State variable: index of next scanline to be written to
402  * jpeg_write_scanlines(). Application may use this to control its
403  * processing loop, e.g., "while (next_scanline < image_height)".
404  */
405 
406  JDIMENSION next_scanline; /* 0 .. image_height-1 */
407 
408  /* Remaining fields are known throughout compressor, but generally
409  * should not be touched by a surrounding application.
410  */
411 
412  /*
413  * These fields are computed during compression startup
414  */
415  boolean progressive_mode; /* TRUE if scan script uses progressive mode */
416  int max_h_samp_factor; /* largest h_samp_factor */
417  int max_v_samp_factor; /* largest v_samp_factor */
418 
419 #if JPEG_LIB_VERSION >= 70
420  int min_DCT_h_scaled_size; /* smallest DCT_h_scaled_size of any component */
421  int min_DCT_v_scaled_size; /* smallest DCT_v_scaled_size of any component */
422 #endif
423 
424  JDIMENSION total_iMCU_rows; /* # of iMCU rows to be input to coef ctlr */
425  /* The coefficient controller receives data in units of MCU rows as defined
426  * for fully interleaved scans (whether the JPEG file is interleaved or not).
427  * There are v_samp_factor * DCTSIZE sample rows of each component in an
428  * "iMCU" (interleaved MCU) row.
429  */
430 
431  /*
432  * These fields are valid during any one scan.
433  * They describe the components and MCUs actually appearing in the scan.
434  */
435  int comps_in_scan; /* # of JPEG components in this scan */
437  /* *cur_comp_info[i] describes component that appears i'th in SOS */
438 
439  JDIMENSION MCUs_per_row; /* # of MCUs across the image */
440  JDIMENSION MCU_rows_in_scan; /* # of MCU rows in the image */
441 
442  int blocks_in_MCU; /* # of DCT blocks per MCU */
444  /* MCU_membership[i] is index in cur_comp_info of component owning */
445  /* i'th block in an MCU */
446 
447  int Ss, Se, Ah, Al; /* progressive JPEG parameters for scan */
448 
449 #if JPEG_LIB_VERSION >= 80
450  int block_size; /* the basic DCT block size: 1..16 */
451  const int *natural_order; /* natural-order position array */
452  int lim_Se; /* min( Se, DCTSIZE2-1 ) */
453 #endif
454 
455  /*
456  * Links to compression subobjects (methods and private variables of modules)
457  */
458  struct jpeg_comp_master *master;
459  struct jpeg_c_main_controller *main;
460  struct jpeg_c_prep_controller *prep;
461  struct jpeg_c_coef_controller *coef;
462  struct jpeg_marker_writer *marker;
463  struct jpeg_color_converter *cconvert;
464  struct jpeg_downsampler *downsample;
465  struct jpeg_forward_dct *fdct;
466  struct jpeg_entropy_encoder *entropy;
467  jpeg_scan_info *script_space; /* workspace for jpeg_simple_progression */
469 };
470 
471 
472 /* Master record for a decompression instance */
473 
475  jpeg_common_fields; /* Fields shared with jpeg_compress_struct */
476 
477  /* Source of compressed data */
479 
480  /* Basic description of image --- filled in by jpeg_read_header(). */
481  /* Application may inspect these values to decide how to process image. */
482 
483  JDIMENSION image_width; /* nominal image width (from SOF marker) */
484  JDIMENSION image_height; /* nominal image height */
485  int num_components; /* # of color components in JPEG image */
486  J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */
487 
488  /* Decompression processing parameters --- these fields must be set before
489  * calling jpeg_start_decompress(). Note that jpeg_read_header() initializes
490  * them to default values.
491  */
492 
493  J_COLOR_SPACE out_color_space; /* colorspace for output */
494 
495  unsigned int scale_num, scale_denom; /* fraction by which to scale image */
496 
497  double output_gamma; /* image gamma wanted in output */
498 
499  boolean buffered_image; /* TRUE=multiple output passes */
500  boolean raw_data_out; /* TRUE=downsampled data wanted */
501 
502  J_DCT_METHOD dct_method; /* IDCT algorithm selector */
503  boolean do_fancy_upsampling; /* TRUE=apply fancy upsampling */
504  boolean do_block_smoothing; /* TRUE=apply interblock smoothing */
505 
506  boolean quantize_colors; /* TRUE=colormapped output wanted */
507  /* the following are ignored if not quantize_colors: */
508  J_DITHER_MODE dither_mode; /* type of color dithering to use */
509  boolean two_pass_quantize; /* TRUE=use two-pass color quantization */
510  int desired_number_of_colors; /* max # colors to use in created colormap */
511  /* these are significant only in buffered-image mode: */
512  boolean enable_1pass_quant; /* enable future use of 1-pass quantizer */
513  boolean enable_external_quant;/* enable future use of external colormap */
514  boolean enable_2pass_quant; /* enable future use of 2-pass quantizer */
515 
516  /* Description of actual output image that will be returned to application.
517  * These fields are computed by jpeg_start_decompress().
518  * You can also use jpeg_calc_output_dimensions() to determine these values
519  * in advance of calling jpeg_start_decompress().
520  */
521 
522  JDIMENSION output_width; /* scaled image width */
523  JDIMENSION output_height; /* scaled image height */
524  int out_color_components; /* # of color components in out_color_space */
525  int output_components; /* # of color components returned */
526  /* output_components is 1 (a colormap index) when quantizing colors;
527  * otherwise it equals out_color_components.
528  */
529  int rec_outbuf_height; /* min recommended height of scanline buffer */
530  /* If the buffer passed to jpeg_read_scanlines() is less than this many rows
531  * high, space and time will be wasted due to unnecessary data copying.
532  * Usually rec_outbuf_height will be 1 or 2, at most 4.
533  */
534 
535  /* When quantizing colors, the output colormap is described by these fields.
536  * The application can supply a colormap by setting colormap non-NULL before
537  * calling jpeg_start_decompress; otherwise a colormap is created during
538  * jpeg_start_decompress or jpeg_start_output.
539  * The map has out_color_components rows and actual_number_of_colors columns.
540  */
541  int actual_number_of_colors; /* number of entries in use */
542  JSAMPARRAY colormap; /* The color map as a 2-D pixel array */
543 
544  /* State variables: these variables indicate the progress of decompression.
545  * The application may examine these but must not modify them.
546  */
547 
548  /* Row index of next scanline to be read from jpeg_read_scanlines().
549  * Application may use this to control its processing loop, e.g.,
550  * "while (output_scanline < output_height)".
551  */
552  JDIMENSION output_scanline; /* 0 .. output_height-1 */
553 
554  /* Current input scan number and number of iMCU rows completed in scan.
555  * These indicate the progress of the decompressor input side.
556  */
557  int input_scan_number; /* Number of SOS markers seen so far */
558  JDIMENSION input_iMCU_row; /* Number of iMCU rows completed */
559 
560  /* The "output scan number" is the notional scan being displayed by the
561  * output side. The decompressor will not allow output scan/row number
562  * to get ahead of input scan/row, but it can fall arbitrarily far behind.
563  */
564  int output_scan_number; /* Nominal scan number being displayed */
565  JDIMENSION output_iMCU_row; /* Number of iMCU rows read */
566 
567  /* Current progression status. coef_bits[c][i] indicates the precision
568  * with which component c's DCT coefficient i (in zigzag order) is known.
569  * It is -1 when no data has yet been received, otherwise it is the point
570  * transform (shift) value for the most recent scan of the coefficient
571  * (thus, 0 at completion of the progression).
572  * This pointer is NULL when reading a non-progressive file.
573  */
574  int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */
575 
576  /* Internal JPEG parameters --- the application usually need not look at
577  * these fields. Note that the decompressor output side may not use
578  * any parameters that can change between scans.
579  */
580 
581  /* Quantization and Huffman tables are carried forward across input
582  * datastreams when processing abbreviated JPEG datastreams.
583  */
584 
586  /* ptrs to coefficient quantization tables, or NULL if not defined */
587 
590  /* ptrs to Huffman coding tables, or NULL if not defined */
591 
592  /* These parameters are never carried across datastreams, since they
593  * are given in SOF/SOS markers or defined to be reset by SOI.
594  */
595 
596  int data_precision; /* bits of precision in image data */
597 
599  /* comp_info[i] describes component that appears i'th in SOF */
600 
601 #if JPEG_LIB_VERSION >= 80
602  boolean is_baseline; /* TRUE if Baseline SOF0 encountered */
603 #endif
604  boolean progressive_mode; /* TRUE if SOFn specifies progressive mode */
605  boolean arith_code; /* TRUE=arithmetic coding, FALSE=Huffman */
606 
607  UINT8 arith_dc_L[NUM_ARITH_TBLS]; /* L values for DC arith-coding tables */
608  UINT8 arith_dc_U[NUM_ARITH_TBLS]; /* U values for DC arith-coding tables */
609  UINT8 arith_ac_K[NUM_ARITH_TBLS]; /* Kx values for AC arith-coding tables */
610 
611  unsigned int restart_interval; /* MCUs per restart interval, or 0 for no restart */
612 
613  /* These fields record data obtained from optional markers recognized by
614  * the JPEG library.
615  */
616  boolean saw_JFIF_marker; /* TRUE iff a JFIF APP0 marker was found */
617  /* Data copied from JFIF marker; only valid if saw_JFIF_marker is TRUE: */
618  UINT8 JFIF_major_version; /* JFIF version number */
620  UINT8 density_unit; /* JFIF code for pixel size units */
621  UINT16 X_density; /* Horizontal pixel density */
622  UINT16 Y_density; /* Vertical pixel density */
623  boolean saw_Adobe_marker; /* TRUE iff an Adobe APP14 marker was found */
624  UINT8 Adobe_transform; /* Color transform code from Adobe marker */
625 
626  boolean CCIR601_sampling; /* TRUE=first samples are cosited */
627 
628  /* Aside from the specific data retained from APPn markers known to the
629  * library, the uninterpreted contents of any or all APPn and COM markers
630  * can be saved in a list for examination by the application.
631  */
632  jpeg_saved_marker_ptr marker_list; /* Head of list of saved markers */
633 
634  /* Remaining fields are known throughout decompressor, but generally
635  * should not be touched by a surrounding application.
636  */
637 
638  /*
639  * These fields are computed during decompression startup
640  */
641  int max_h_samp_factor; /* largest h_samp_factor */
642  int max_v_samp_factor; /* largest v_samp_factor */
643 
644 #if JPEG_LIB_VERSION >= 70
645  int min_DCT_h_scaled_size; /* smallest DCT_h_scaled_size of any component */
646  int min_DCT_v_scaled_size; /* smallest DCT_v_scaled_size of any component */
647 #else
648  int min_DCT_scaled_size; /* smallest DCT_scaled_size of any component */
649 #endif
650 
651  JDIMENSION total_iMCU_rows; /* # of iMCU rows in image */
652  /* The coefficient controller's input and output progress is measured in
653  * units of "iMCU" (interleaved MCU) rows. These are the same as MCU rows
654  * in fully interleaved JPEG scans, but are used whether the scan is
655  * interleaved or not. We define an iMCU row as v_samp_factor DCT block
656  * rows of each component. Therefore, the IDCT output contains
657  * v_samp_factor*DCT_[v_]scaled_size sample rows of a component per iMCU row.
658  */
659 
660  JSAMPLE *sample_range_limit; /* table for fast range-limiting */
661 
662  /*
663  * These fields are valid during any one scan.
664  * They describe the components and MCUs actually appearing in the scan.
665  * Note that the decompressor output side must not use these fields.
666  */
667  int comps_in_scan; /* # of JPEG components in this scan */
669  /* *cur_comp_info[i] describes component that appears i'th in SOS */
670 
671  JDIMENSION MCUs_per_row; /* # of MCUs across the image */
672  JDIMENSION MCU_rows_in_scan; /* # of MCU rows in the image */
673 
674  int blocks_in_MCU; /* # of DCT blocks per MCU */
676  /* MCU_membership[i] is index in cur_comp_info of component owning */
677  /* i'th block in an MCU */
678 
679  int Ss, Se, Ah, Al; /* progressive JPEG parameters for scan */
680 
681 #if JPEG_LIB_VERSION >= 80
682  /* These fields are derived from Se of first SOS marker.
683  */
684  int block_size; /* the basic DCT block size: 1..16 */
685  const int *natural_order; /* natural-order position array for entropy decode */
686  int lim_Se; /* min( Se, DCTSIZE2-1 ) for entropy decode */
687 #endif
688 
689  /* This field is shared between entropy decoder and marker parser.
690  * It is either zero or the code of a JPEG marker that has been
691  * read from the data source, but has not yet been processed.
692  */
694 
695  /*
696  * Links to decompression subobjects (methods, private variables of modules)
697  */
698  struct jpeg_decomp_master *master;
699  struct jpeg_d_main_controller *main;
700  struct jpeg_d_coef_controller *coef;
701  struct jpeg_d_post_controller *post;
702  struct jpeg_input_controller *inputctl;
703  struct jpeg_marker_reader *marker;
704  struct jpeg_entropy_decoder *entropy;
705  struct jpeg_inverse_dct *idct;
706  struct jpeg_upsampler *upsample;
707  struct jpeg_color_deconverter *cconvert;
708  struct jpeg_color_quantizer *cquantize;
709 };
710 
711 
712 /* "Object" declarations for JPEG modules that may be supplied or called
713  * directly by the surrounding application.
714  * As with all objects in the JPEG library, these structs only define the
715  * publicly visible methods and state variables of a module. Additional
716  * private fields may exist after the public ones.
717  */
718 
719 
720 /* Error handler object */
721 
723  /* Error exit handler: does not return to caller */
724  void (*error_exit) (j_common_ptr cinfo);
725  /* Conditionally emit a trace or warning message */
726  void (*emit_message) (j_common_ptr cinfo, int msg_level);
727  /* Routine that actually outputs a trace or error message */
728  void (*output_message) (j_common_ptr cinfo);
729  /* Format a message string for the most recent JPEG error or message */
730  void (*format_message) (j_common_ptr cinfo, char *buffer);
731 #define JMSG_LENGTH_MAX 200 /* recommended size of format_message buffer */
732  /* Reset error state variables at start of a new image */
733  void (*reset_error_mgr) (j_common_ptr cinfo);
734 
735  /* The message ID code and any parameters are saved here.
736  * A message can have one string parameter or up to 8 int parameters.
737  */
738  int msg_code;
739 #define JMSG_STR_PARM_MAX 80
740  union {
741  int i[8];
743  } msg_parm;
744 
745  /* Standard state variables for error facility */
746 
747  int trace_level; /* max msg_level that will be displayed */
748 
749  /* For recoverable corrupt-data errors, we emit a warning message,
750  * but keep going unless emit_message chooses to abort. emit_message
751  * should count warnings in num_warnings. The surrounding application
752  * can check for bad data by seeing if num_warnings is nonzero at the
753  * end of processing.
754  */
755  long num_warnings; /* number of corrupt-data warnings */
756 
757  /* These fields point to the table(s) of error message strings.
758  * An application can change the table pointer to switch to a different
759  * message list (typically, to change the language in which errors are
760  * reported). Some applications may wish to add additional error codes
761  * that will be handled by the JPEG library error mechanism; the second
762  * table pointer is used for this purpose.
763  *
764  * First table includes all errors generated by JPEG library itself.
765  * Error code 0 is reserved for a "no such error string" message.
766  */
767  const char * const *jpeg_message_table; /* Library errors */
768  int last_jpeg_message; /* Table contains strings 0..last_jpeg_message */
769  /* Second table can be added by application (see cjpeg/djpeg for example).
770  * It contains strings numbered first_addon_message..last_addon_message.
771  */
772  const char * const *addon_message_table; /* Non-library errors */
773  int first_addon_message; /* code for first string in addon table */
774  int last_addon_message; /* code for last string in addon table */
775 };
776 
777 
778 /* Progress monitor object */
779 
782 
783  long pass_counter; /* work units completed in this pass */
784  long pass_limit; /* total number of work units in this pass */
785  int completed_passes; /* passes completed so far */
786  int total_passes; /* total number of passes expected */
787 };
788 
789 
790 /* Data destination object for compression */
791 
793  JOCTET *next_output_byte; /* => next byte to write in buffer */
794  size_t free_in_buffer; /* # of byte spaces remaining in buffer */
795 
799 };
800 
801 
802 /* Data source object for decompression */
803 
805  const JOCTET *next_input_byte; /* => next byte to read from buffer */
806  size_t bytes_in_buffer; /* # of bytes remaining in buffer */
807 
808  void (*init_source) (j_decompress_ptr cinfo);
810  void (*skip_input_data) (j_decompress_ptr cinfo, long num_bytes);
812  void (*term_source) (j_decompress_ptr cinfo);
813 };
814 
815 
816 /* Memory manager object.
817  * Allocates "small" objects (a few K total), "large" objects (tens of K),
818  * and "really big" objects (virtual arrays with backing store if needed).
819  * The memory manager does not allow individual objects to be freed; rather,
820  * each created object is assigned to a pool, and whole pools can be freed
821  * at once. This is faster and more convenient than remembering exactly what
822  * to free, especially where malloc()/free() are not too speedy.
823  * NB: alloc routines never return NULL. They exit to error_exit if not
824  * successful.
825  */
826 
827 #define JPOOL_PERMANENT 0 /* lasts until master record is destroyed */
828 #define JPOOL_IMAGE 1 /* lasts until done with image/datastream */
829 #define JPOOL_NUMPOOLS 2
830 
831 typedef struct jvirt_sarray_control *jvirt_sarray_ptr;
832 typedef struct jvirt_barray_control *jvirt_barray_ptr;
833 
834 
836  /* Method pointers */
837  void *(*alloc_small) (j_common_ptr cinfo, int pool_id, size_t sizeofobject);
838  void *(*alloc_large) (j_common_ptr cinfo, int pool_id,
839  size_t sizeofobject);
840  JSAMPARRAY (*alloc_sarray) (j_common_ptr cinfo, int pool_id,
841  JDIMENSION samplesperrow, JDIMENSION numrows);
842  JBLOCKARRAY (*alloc_barray) (j_common_ptr cinfo, int pool_id,
843  JDIMENSION blocksperrow, JDIMENSION numrows);
845  boolean pre_zero,
846  JDIMENSION samplesperrow,
847  JDIMENSION numrows,
848  JDIMENSION maxaccess);
850  boolean pre_zero,
851  JDIMENSION blocksperrow,
852  JDIMENSION numrows,
853  JDIMENSION maxaccess);
856  JDIMENSION start_row, JDIMENSION num_rows,
857  boolean writable);
859  JDIMENSION start_row, JDIMENSION num_rows,
860  boolean writable);
861  void (*free_pool) (j_common_ptr cinfo, int pool_id);
862  void (*self_destruct) (j_common_ptr cinfo);
863 
864  /* Limit on memory allocation for this JPEG object. (Note that this is
865  * merely advisory, not a guaranteed maximum; it only affects the space
866  * used for virtual-array buffers.) May be changed by outer application
867  * after creating the JPEG object.
868  */
870 
871  /* Maximum allocation request accepted by alloc_large. */
873 };
874 
875 
876 /* Routine signature for application-supplied marker processing methods.
877  * Need not pass marker code since it is stored in cinfo->unread_marker.
878  */
880 
881 
882 /* Originally, this macro was used as a way of defining function prototypes
883  * for both modern compilers as well as older compilers that did not support
884  * prototype parameters. libjpeg-turbo has never supported these older,
885  * non-ANSI compilers, but the macro is still included because there is some
886  * software out there that uses it.
887  */
888 
889 #define JPP(arglist) arglist
890 
891 
892 /* Default error-management setup */
893 EXTERN(struct jpeg_error_mgr *) jpeg_std_error (struct jpeg_error_mgr *err);
894 
895 /* Initialization of JPEG compression objects.
896  * jpeg_create_compress() and jpeg_create_decompress() are the exported
897  * names that applications should call. These expand to calls on
898  * jpeg_CreateCompress and jpeg_CreateDecompress with additional information
899  * passed for version mismatch checking.
900  * NB: you must set up the error-manager BEFORE calling jpeg_create_xxx.
901  */
902 #define jpeg_create_compress(cinfo) \
903  jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
904  (size_t) sizeof(struct jpeg_compress_struct))
905 #define jpeg_create_decompress(cinfo) \
906  jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
907  (size_t) sizeof(struct jpeg_decompress_struct))
908 EXTERN(void) jpeg_CreateCompress (j_compress_ptr cinfo, int version,
909  size_t structsize);
910 EXTERN(void) jpeg_CreateDecompress (j_decompress_ptr cinfo, int version,
911  size_t structsize);
912 /* Destruction of JPEG compression objects */
913 EXTERN(void) jpeg_destroy_compress (j_compress_ptr cinfo);
914 EXTERN(void) jpeg_destroy_decompress (j_decompress_ptr cinfo);
915 
916 /* Standard data source and destination managers: stdio streams. */
917 /* Caller is responsible for opening the file before and closing after. */
918 EXTERN(void) jpeg_stdio_dest (j_compress_ptr cinfo, FILE *outfile);
919 EXTERN(void) jpeg_stdio_src (j_decompress_ptr cinfo, FILE *infile);
920 
921 #if JPEG_LIB_VERSION >= 80 || defined(MEM_SRCDST_SUPPORTED)
922 /* Data source and destination managers: memory buffers. */
923 EXTERN(void) jpeg_mem_dest (j_compress_ptr cinfo, unsigned char **outbuffer,
924  unsigned long *outsize);
925 EXTERN(void) jpeg_mem_src (j_decompress_ptr cinfo,
926  const unsigned char *inbuffer,
927  unsigned long insize);
928 #endif
929 
930 /* Default parameter setup for compression */
931 EXTERN(void) jpeg_set_defaults (j_compress_ptr cinfo);
932 /* Compression parameter setup aids */
933 EXTERN(void) jpeg_set_colorspace (j_compress_ptr cinfo,
935 EXTERN(void) jpeg_default_colorspace (j_compress_ptr cinfo);
936 EXTERN(void) jpeg_set_quality (j_compress_ptr cinfo, int quality,
937  boolean force_baseline);
938 EXTERN(void) jpeg_set_linear_quality (j_compress_ptr cinfo, int scale_factor,
939  boolean force_baseline);
940 #if JPEG_LIB_VERSION >= 70
941 EXTERN(void) jpeg_default_qtables (j_compress_ptr cinfo,
942  boolean force_baseline);
943 #endif
944 EXTERN(void) jpeg_add_quant_table (j_compress_ptr cinfo, int which_tbl,
945  const unsigned int *basic_table,
946  int scale_factor, boolean force_baseline);
947 EXTERN(int) jpeg_quality_scaling (int quality);
948 EXTERN(void) jpeg_simple_progression (j_compress_ptr cinfo);
949 EXTERN(void) jpeg_suppress_tables (j_compress_ptr cinfo, boolean suppress);
950 EXTERN(JQUANT_TBL *) jpeg_alloc_quant_table (j_common_ptr cinfo);
951 EXTERN(JHUFF_TBL *) jpeg_alloc_huff_table (j_common_ptr cinfo);
952 
953 /* Main entry points for compression */
954 EXTERN(void) jpeg_start_compress (j_compress_ptr cinfo,
956 EXTERN(JDIMENSION) jpeg_write_scanlines (j_compress_ptr cinfo,
959 EXTERN(void) jpeg_finish_compress (j_compress_ptr cinfo);
960 
961 #if JPEG_LIB_VERSION >= 70
962 /* Precalculate JPEG dimensions for current compression parameters. */
963 EXTERN(void) jpeg_calc_jpeg_dimensions (j_compress_ptr cinfo);
964 #endif
965 
966 /* Replaces jpeg_write_scanlines when writing raw downsampled data. */
967 EXTERN(JDIMENSION) jpeg_write_raw_data (j_compress_ptr cinfo, JSAMPIMAGE data,
969 
970 /* Write a special marker. See libjpeg.txt concerning safe usage. */
971 EXTERN(void) jpeg_write_marker (j_compress_ptr cinfo, int marker,
972  const JOCTET *dataptr, unsigned int datalen);
973 /* Same, but piecemeal. */
974 EXTERN(void) jpeg_write_m_header (j_compress_ptr cinfo, int marker,
975  unsigned int datalen);
976 EXTERN(void) jpeg_write_m_byte (j_compress_ptr cinfo, int val);
977 
978 /* Alternate compression function: just write an abbreviated table file */
979 EXTERN(void) jpeg_write_tables (j_compress_ptr cinfo);
980 
981 /* Decompression startup: read start of JPEG datastream to see what's there */
982 EXTERN(int) jpeg_read_header (j_decompress_ptr cinfo, boolean require_image);
983 /* Return value is one of: */
984 #define JPEG_SUSPENDED 0 /* Suspended due to lack of input data */
985 #define JPEG_HEADER_OK 1 /* Found valid image datastream */
986 #define JPEG_HEADER_TABLES_ONLY 2 /* Found valid table-specs-only datastream */
987 /* If you pass require_image = TRUE (normal case), you need not check for
988  * a TABLES_ONLY return code; an abbreviated file will cause an error exit.
989  * JPEG_SUSPENDED is only possible if you use a data source module that can
990  * give a suspension return (the stdio source module doesn't).
991  */
992 
993 /* Main entry points for decompression */
994 EXTERN(boolean) jpeg_start_decompress (j_decompress_ptr cinfo);
995 EXTERN(JDIMENSION) jpeg_read_scanlines (j_decompress_ptr cinfo,
998 EXTERN(JDIMENSION) jpeg_skip_scanlines (j_decompress_ptr cinfo,
1000 EXTERN(void) jpeg_crop_scanline (j_decompress_ptr cinfo, JDIMENSION *xoffset,
1002 EXTERN(boolean) jpeg_finish_decompress (j_decompress_ptr cinfo);
1003 
1004 /* Replaces jpeg_read_scanlines when reading raw downsampled data. */
1005 EXTERN(JDIMENSION) jpeg_read_raw_data (j_decompress_ptr cinfo, JSAMPIMAGE data,
1007 
1008 /* Additional entry points for buffered-image mode. */
1009 EXTERN(boolean) jpeg_has_multiple_scans (j_decompress_ptr cinfo);
1010 EXTERN(boolean) jpeg_start_output (j_decompress_ptr cinfo, int scan_number);
1011 EXTERN(boolean) jpeg_finish_output (j_decompress_ptr cinfo);
1012 EXTERN(boolean) jpeg_input_complete (j_decompress_ptr cinfo);
1013 EXTERN(void) jpeg_new_colormap (j_decompress_ptr cinfo);
1014 EXTERN(int) jpeg_consume_input (j_decompress_ptr cinfo);
1015 /* Return value is one of: */
1016 /* #define JPEG_SUSPENDED 0 Suspended due to lack of input data */
1017 #define JPEG_REACHED_SOS 1 /* Reached start of new scan */
1018 #define JPEG_REACHED_EOI 2 /* Reached end of image */
1019 #define JPEG_ROW_COMPLETED 3 /* Completed one iMCU row */
1020 #define JPEG_SCAN_COMPLETED 4 /* Completed last iMCU row of a scan */
1021 
1022 /* Precalculate output dimensions for current decompression parameters. */
1023 #if JPEG_LIB_VERSION >= 80
1024 EXTERN(void) jpeg_core_output_dimensions (j_decompress_ptr cinfo);
1025 #endif
1026 EXTERN(void) jpeg_calc_output_dimensions (j_decompress_ptr cinfo);
1027 
1028 /* Control saving of COM and APPn markers into marker_list. */
1029 EXTERN(void) jpeg_save_markers (j_decompress_ptr cinfo, int marker_code,
1030  unsigned int length_limit);
1031 
1032 /* Install a special processing method for COM or APPn markers. */
1033 EXTERN(void) jpeg_set_marker_processor (j_decompress_ptr cinfo,
1034  int marker_code,
1036 
1037 /* Read or write raw DCT coefficients --- useful for lossless transcoding. */
1038 EXTERN(jvirt_barray_ptr *) jpeg_read_coefficients (j_decompress_ptr cinfo);
1039 EXTERN(void) jpeg_write_coefficients (j_compress_ptr cinfo,
1041 EXTERN(void) jpeg_copy_critical_parameters (j_decompress_ptr srcinfo,
1043 
1044 /* If you choose to abort compression or decompression before completing
1045  * jpeg_finish_(de)compress, then you need to clean up to release memory,
1046  * temporary files, etc. You can just call jpeg_destroy_(de)compress
1047  * if you're done with the JPEG object, but if you want to clean it up and
1048  * reuse it, call this:
1049  */
1050 EXTERN(void) jpeg_abort_compress (j_compress_ptr cinfo);
1051 EXTERN(void) jpeg_abort_decompress (j_decompress_ptr cinfo);
1052 
1053 /* Generic versions of jpeg_abort and jpeg_destroy that work on either
1054  * flavor of JPEG object. These may be more convenient in some places.
1055  */
1056 EXTERN(void) jpeg_abort (j_common_ptr cinfo);
1057 EXTERN(void) jpeg_destroy (j_common_ptr cinfo);
1058 
1059 /* Default restart-marker-resync procedure for use by data source modules */
1060 EXTERN(boolean) jpeg_resync_to_restart (j_decompress_ptr cinfo, int desired);
1061 
1062 
1063 /* These marker codes are exported since applications and data source modules
1064  * are likely to want to use them.
1065  */
1066 
1067 #define JPEG_RST0 0xD0 /* RST0 marker code */
1068 #define JPEG_EOI 0xD9 /* EOI marker code */
1069 #define JPEG_APP0 0xE0 /* APP0 marker code */
1070 #define JPEG_COM 0xFE /* COM marker code */
1071 
1072 
1073 /* If we have a brain-damaged compiler that emits warnings (or worse, errors)
1074  * for structure definitions that are never filled in, keep it quiet by
1075  * supplying dummy definitions for the various substructures.
1076  */
1077 
1078 #ifdef INCOMPLETE_TYPES_BROKEN
1079 #ifndef JPEG_INTERNALS /* will be defined in jpegint.h */
1080 struct jvirt_sarray_control { long dummy; };
1081 struct jvirt_barray_control { long dummy; };
1082 struct jpeg_comp_master { long dummy; };
1083 struct jpeg_c_main_controller { long dummy; };
1084 struct jpeg_c_prep_controller { long dummy; };
1085 struct jpeg_c_coef_controller { long dummy; };
1086 struct jpeg_marker_writer { long dummy; };
1087 struct jpeg_color_converter { long dummy; };
1088 struct jpeg_downsampler { long dummy; };
1089 struct jpeg_forward_dct { long dummy; };
1090 struct jpeg_entropy_encoder { long dummy; };
1091 struct jpeg_decomp_master { long dummy; };
1092 struct jpeg_d_main_controller { long dummy; };
1093 struct jpeg_d_coef_controller { long dummy; };
1094 struct jpeg_d_post_controller { long dummy; };
1095 struct jpeg_input_controller { long dummy; };
1096 struct jpeg_marker_reader { long dummy; };
1097 struct jpeg_entropy_decoder { long dummy; };
1098 struct jpeg_inverse_dct { long dummy; };
1099 struct jpeg_upsampler { long dummy; };
1100 struct jpeg_color_deconverter { long dummy; };
1101 struct jpeg_color_quantizer { long dummy; };
1102 #endif /* JPEG_INTERNALS */
1103 #endif /* INCOMPLETE_TYPES_BROKEN */
1104 
1105 
1106 /*
1107  * The JPEG library modules define JPEG_INTERNALS before including this file.
1108  * The internal structure declarations are read only when that is true.
1109  * Applications using the library should not include jpegint.h, but may wish
1110  * to include jerror.h.
1111  */
1112 
1113 #ifdef JPEG_INTERNALS
1114 #include "jpegint.h" /* fetch private declarations */
1115 #include "jerror.h" /* fetch error codes too */
1116 #endif
1117 
1118 #ifdef __cplusplus
1119 #ifndef DONT_USE_EXTERN_C
1120 }
1121 #endif
1122 #endif
1123 
1124 #endif /* JPEGLIB_H */
jpeg_component_info::MCU_height
int MCU_height
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:175
j_compress_ptr
struct jpeg_compress_struct * j_compress_ptr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:293
jpeg_memory_mgr::access_virt_barray
JBLOCKARRAY(* access_virt_barray)(j_common_ptr cinfo, jvirt_barray_ptr ptr, JDIMENSION start_row, JDIMENSION num_rows, boolean writable)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:858
jpeg_compress_struct::JFIF_major_version
UINT8 JFIF_major_version
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:390
scan_number
int scan_number
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:1010
jpeg_compress_struct::comp_info
jpeg_component_info * comp_info
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:343
jpeg_error_mgr::s
char s[JMSG_STR_PARM_MAX]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:742
JCS_CMYK
@ JCS_CMYK
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:225
jpeg_decompress_struct::lim_Se
int lim_Se
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:686
jpeg_memory_mgr::alloc_sarray
JSAMPARRAY(* alloc_sarray)(j_common_ptr cinfo, int pool_id, JDIMENSION samplesperrow, JDIMENSION numrows)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:840
jpeg_decompress_struct::MCU_membership
int MCU_membership[D_MAX_BLOCKS_IN_MCU]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:675
jpeg_compress_struct::raw_data_in
boolean raw_data_in
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:369
jpeg_common_struct::jpeg_common_fields
jpeg_common_fields
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:285
JCS_EXT_BGRX
@ JCS_EXT_BGRX
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:230
jpeg_decompress_struct::idct
struct jpeg_inverse_dct * idct
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:705
jpeg_compress_struct::fdct
struct jpeg_forward_dct * fdct
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:465
jpeg_decompress_struct::comps_in_scan
int comps_in_scan
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:667
which_tbl
int which_tbl
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:944
jpeg_marker_parser_method
boolean(* jpeg_marker_parser_method)(j_decompress_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:879
width
JDIMENSION JDIMENSION * width
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:1001
jpeg_progress_mgr::total_passes
int total_passes
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:786
jpeg_destination_mgr::empty_output_buffer
boolean(* empty_output_buffer)(j_compress_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:797
jpeg_decompress_struct::arith_ac_K
UINT8 arith_ac_K[NUM_ARITH_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:609
jpeg_error_mgr::msg_parm
union jpeg_error_mgr::@533 msg_parm
JBLOCK
JCOEF JBLOCK[DCTSIZE2]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:75
JCS_YCbCr
@ JCS_YCbCr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:224
jpeg_decompress_struct::output_scanline
JDIMENSION output_scanline
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:552
jpeg_decompress_struct::min_DCT_h_scaled_size
int min_DCT_h_scaled_size
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:645
jpeg_decompress_struct::output_iMCU_row
JDIMENSION output_iMCU_row
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:565
jpeg_decompress_struct::upsample
struct jpeg_upsampler * upsample
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:706
jpeg_compress_struct::Ss
int Ss
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:447
jpeg_compress_struct::dest
struct jpeg_destination_mgr * dest
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:303
jpeg_decompress_struct::saw_Adobe_marker
boolean saw_Adobe_marker
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:623
jpeg_compress_struct::prep
struct jpeg_c_prep_controller * prep
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:460
UINT8
short UINT8
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jmorecfg.h:134
jpeg_memory_mgr::request_virt_barray
jvirt_barray_ptr(* request_virt_barray)(j_common_ptr cinfo, int pool_id, boolean pre_zero, JDIMENSION blocksperrow, JDIMENSION numrows, JDIMENSION maxaccess)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:849
JSAMPIMAGE
JSAMPARRAY * JSAMPIMAGE
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:73
jpeg_compress_struct::min_DCT_h_scaled_size
int min_DCT_h_scaled_size
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:420
jpeg_error_mgr::num_warnings
long num_warnings
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:755
marker_code
int marker_code
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:1029
jpeg_compress_struct::image_width
JDIMENSION image_width
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:310
outbuffer
unsigned char ** outbuffer
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:923
jpeg_component_info::dct_table
void * dct_table
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:188
JCS_YCCK
@ JCS_YCCK
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:226
jpeg_decompress_struct::input_scan_number
int input_scan_number
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:557
jpeg_decompress_struct::actual_number_of_colors
int actual_number_of_colors
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:541
jpeg_decompress_struct::post
struct jpeg_d_post_controller * post
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:701
J_DCT_METHOD
J_DCT_METHOD
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:248
jpeg_decompress_struct::two_pass_quantize
boolean two_pass_quantize
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:509
jpeg_component_info::downsampled_width
JDIMENSION downsampled_width
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:164
JCS_EXT_RGB
@ JCS_EXT_RGB
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:227
jpeg_destination_mgr::free_in_buffer
size_t free_in_buffer
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:794
jpeg_decompress_struct::arith_dc_U
UINT8 arith_dc_U[NUM_ARITH_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:608
jpeg_error_mgr::last_jpeg_message
int last_jpeg_message
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:768
jpeg_compress_struct::image_height
JDIMENSION image_height
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:311
jpeg_decompress_struct::saw_JFIF_marker
boolean saw_JFIF_marker
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:616
JSAMPLE
char JSAMPLE
Definition: sources/libs/nvll_batch_jpeg_encode/tegra/jmorecfg.h:79
NUM_HUFF_TBLS
#define NUM_HUFF_TBLS
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:51
JHUFF_TBL
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:105
jpeg_component_info::quant_table
JQUANT_TBL * quant_table
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:185
JOCTET
char JOCTET
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jmorecfg.h:109
jpeg_error_mgr::reset_error_mgr
void(* reset_error_mgr)(j_common_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:733
jpeg_decompress_struct::num_components
int num_components
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:485
JCS_EXT_XRGB
@ JCS_EXT_XRGB
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:232
jpeg_compress_struct::next_scanline
JDIMENSION next_scanline
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:406
jpeg_decompress_struct::raw_data_out
boolean raw_data_out
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:500
colorspace
J_COLOR_SPACE colorspace
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:934
jpeg_marker_struct
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:205
jpeg_decompress_struct::inputctl
struct jpeg_input_controller * inputctl
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:702
jpeg_compress_struct::num_components
int num_components
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:340
xoffset
JDIMENSION * xoffset
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:1000
jpeg_destination_mgr::next_output_byte
JOCTET * next_output_byte
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:793
scale_factor
int scale_factor
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:938
jpeg_decompress_struct::dct_method
J_DCT_METHOD dct_method
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:502
jpeg_compress_struct::density_unit
UINT8 density_unit
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:396
jpeg_marker_struct::marker
UINT8 marker
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:207
jpeg_decompress_struct::Se
int Se
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:679
jpeg_decompress_struct::block_size
int block_size
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:684
jpeg_component_info::DCT_h_scaled_size
int DCT_h_scaled_size
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:153
jpeg_decompress_struct::image_width
JDIMENSION image_width
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:483
jpeg_decompress_struct::entropy
struct jpeg_entropy_decoder * entropy
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:704
jpeg_compress_struct::blocks_in_MCU
int blocks_in_MCU
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:442
jpeg_component_info::MCU_width
int MCU_width
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:174
jpeg_decompress_struct::cconvert
struct jpeg_color_deconverter * cconvert
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:707
DCTSIZE2
#define DCTSIZE2
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:49
jpeg_compress_struct::MCU_membership
int MCU_membership[C_MAX_BLOCKS_IN_MCU]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:443
JCS_UNKNOWN
@ JCS_UNKNOWN
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:220
j_decompress_ptr
struct jpeg_decompress_struct * j_decompress_ptr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:294
infile
FILE * infile
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:919
structsize
int size_t structsize
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:909
jpeg_decompress_struct::output_width
JDIMENSION output_width
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:522
jpeg_compress_struct::marker
struct jpeg_marker_writer * marker
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:462
jpeg_compress_struct::max_h_samp_factor
int max_h_samp_factor
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:416
jpeg_memory_mgr::free_pool
void(* free_pool)(j_common_ptr cinfo, int pool_id)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:861
jpeg_decompress_struct::max_h_samp_factor
int max_h_samp_factor
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:641
jpeg_error_mgr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:722
jpeg_component_info::width_in_blocks
JDIMENSION width_in_blocks
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:144
jpeg_scan_info::comps_in_scan
int comps_in_scan
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:195
JCS_GRAYSCALE
@ JCS_GRAYSCALE
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:221
jpeg_decompress_struct::jpeg_color_space
J_COLOR_SPACE jpeg_color_space
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:486
jpeg_compress_struct::cur_comp_info
jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:436
jpeg_marker_struct::data_length
unsigned int data_length
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:209
jpeg_decompress_struct::is_baseline
boolean is_baseline
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:602
jpeg_decompress_struct::cur_comp_info
jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:668
jpeg_compress_struct::script_space
jpeg_scan_info * script_space
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:467
UINT16
unsigned int UINT16
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jmorecfg.h:143
jpeg_error_mgr::trace_level
int trace_level
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:747
jpeg_compress_struct::in_color_space
J_COLOR_SPACE in_color_space
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:313
jpeg_compress_struct::min_DCT_v_scaled_size
int min_DCT_v_scaled_size
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:421
JDITHER_FS
@ JDITHER_FS
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:266
jpeg_decompress_struct::blocks_in_MCU
int blocks_in_MCU
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:674
jpeg_component_info::dc_tbl_no
int dc_tbl_no
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:134
jpeg_component_info::MCU_blocks
int MCU_blocks
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:176
jpeg_compress_struct::MCU_rows_in_scan
JDIMENSION MCU_rows_in_scan
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:440
version
int version
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:908
jpeg_decompress_struct::ac_huff_tbl_ptrs
JHUFF_TBL * ac_huff_tbl_ptrs[NUM_HUFF_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:589
jpeg_decompress_struct::output_height
JDIMENSION output_height
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:523
jpeg_decompress_struct::unread_marker
int unread_marker
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:693
jpeg_source_mgr::fill_input_buffer
boolean(* fill_input_buffer)(j_decompress_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:809
jpeg_compress_struct::total_iMCU_rows
JDIMENSION total_iMCU_rows
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:424
jpeg_component_info::component_needed
boolean component_needed
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:170
jpeg_progress_mgr::completed_passes
int completed_passes
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:785
jpeg_destination_mgr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:792
jpeg_compress_struct::write_JFIF_header
boolean write_JFIF_header
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:389
jpeg_error_mgr::addon_message_table
const char *const * addon_message_table
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:772
jpeg_decompress_struct::dither_mode
J_DITHER_MODE dither_mode
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:508
jpeg_decompress_struct::master
struct jpeg_decomp_master * master
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:698
jpeg_compress_struct::natural_order
const int * natural_order
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:451
max_lines
JSAMPARRAY JDIMENSION max_lines
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:997
jpeg_compress_struct::jpeg_common_fields
jpeg_common_fields
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:300
jpeg_error_mgr::error_exit
void(* error_exit)(j_common_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:724
scanlines
JSAMPARRAY scanlines
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:957
jpeg_decompress_struct::marker_list
jpeg_saved_marker_ptr marker_list
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:632
jpeg_compress_struct::block_size
int block_size
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:450
JBLOCKROW
JBLOCK * JBLOCKROW
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:76
jpeg_compress_struct::q_scale_factor
int q_scale_factor[NUM_QUANT_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:348
jpeg_compress_struct::num_scans
int num_scans
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:362
insize
const unsigned char unsigned long insize
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:927
jpeg_destination_mgr::init_destination
void(* init_destination)(j_compress_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:796
basic_table
int const unsigned int * basic_table
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:945
jpeg_error_mgr::jpeg_message_table
const char *const * jpeg_message_table
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:767
outfile
FILE * outfile
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:918
jpeg_scan_info::Al
int Al
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:198
jpeg_compress_struct::script_space_size
int script_space_size
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:468
jpeg_decompress_struct::total_iMCU_rows
JDIMENSION total_iMCU_rows
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:651
jpeg_scan_info
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:194
D_MAX_BLOCKS_IN_MCU
#define D_MAX_BLOCKS_IN_MCU
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:64
jpeg_common_struct
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:284
jpeg_component_info::ac_tbl_no
int ac_tbl_no
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:135
jpeg_compress_struct::data_precision
int data_precision
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:338
jpeg_source_mgr::bytes_in_buffer
size_t bytes_in_buffer
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:806
J_DITHER_MODE
J_DITHER_MODE
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:263
JHUFF_TBL::sent_table
boolean sent_table
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:115
jpeg_decompress_struct::output_gamma
double output_gamma
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:497
jpeg_marker_struct::original_length
unsigned int original_length
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:208
jpeg_compress_struct
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:299
jpeg_error_mgr::msg_code
int msg_code
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:738
jpeg_decompress_struct::output_components
int output_components
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:525
jpeg_decompress_struct::sample_range_limit
JSAMPLE * sample_range_limit
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:660
jpeg_source_mgr::resync_to_restart
boolean(* resync_to_restart)(j_decompress_ptr cinfo, int desired)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:811
JMSG_STR_PARM_MAX
#define JMSG_STR_PARM_MAX
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:739
jpeg_scan_info::Ss
int Ss
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:197
JDCT_FLOAT
@ JDCT_FLOAT
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:251
JDCT_ISLOW
@ JDCT_ISLOW
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:249
jpeg_error_mgr::output_message
void(* output_message)(j_common_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:728
jpeg_decompress_struct::Ss
int Ss
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:679
JDIMENSION
unsigned int JDIMENSION
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jmorecfg.h:196
jpeg_decompress_struct::min_DCT_v_scaled_size
int min_DCT_v_scaled_size
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:646
jpeg_decompress_struct::quant_tbl_ptrs
JQUANT_TBL * quant_tbl_ptrs[NUM_QUANT_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:585
jpeg_decompress_struct::Al
int Al
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:679
jpeg_progress_mgr::progress_monitor
void(* progress_monitor)(j_common_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:781
jpeg_source_mgr::skip_input_data
void(* skip_input_data)(j_decompress_ptr cinfo, long num_bytes)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:810
jpeg_component_info::component_index
int component_index
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:126
JBLOCKIMAGE
JBLOCKARRAY * JBLOCKIMAGE
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:78
jpeg_compress_struct::jpeg_width
JDIMENSION jpeg_width
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:328
EXTERN
EXTERN(struct jpeg_error_mgr *) jpeg_std_error(struct jpeg_error_mgr *err)
jpeg_compress_struct::input_gamma
double input_gamma
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:315
outsize
unsigned char unsigned long * outsize
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:924
jpeg_compress_struct::jpeg_height
JDIMENSION jpeg_height
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:329
jpeg_decompress_struct::max_v_samp_factor
int max_v_samp_factor
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:642
jpeg_saved_marker_ptr
struct jpeg_marker_struct * jpeg_saved_marker_ptr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:203
jpeg_decompress_struct::enable_external_quant
boolean enable_external_quant
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:513
jpeg_component_info::quant_tbl_no
int quant_tbl_no
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:129
JCS_EXT_BGRA
@ JCS_EXT_BGRA
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:240
jmorecfg.h
jpeg_decompress_struct::Ah
int Ah
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:679
jpeg_memory_mgr::max_memory_to_use
long max_memory_to_use
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:869
jpeg_progress_mgr::pass_counter
long pass_counter
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:783
JCS_EXT_ARGB
@ JCS_EXT_ARGB
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:242
jpeg_compress_struct::Se
int Se
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:447
jpeg_decompress_struct::JFIF_minor_version
UINT8 JFIF_minor_version
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:619
jpeg_component_info::last_row_height
int last_row_height
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:179
jpeg_decompress_struct::arith_dc_L
UINT8 arith_dc_L[NUM_ARITH_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:607
jpeg_memory_mgr::alloc_barray
JBLOCKARRAY(* alloc_barray)(j_common_ptr cinfo, int pool_id, JDIMENSION blocksperrow, JDIMENSION numrows)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:842
jpeg_component_info::component_id
int component_id
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:125
jpeg_compress_struct::smoothing_factor
int smoothing_factor
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:376
jconfig.h
jpeg_decompress_struct::output_scan_number
int output_scan_number
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:564
jpeg_compress_struct::arith_code
boolean arith_code
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:370
jpeg_compress_struct::coef
struct jpeg_c_coef_controller * coef
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:461
JCS_EXT_ABGR
@ JCS_EXT_ABGR
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:241
jpeg_component_info::height_in_blocks
JDIMENSION height_in_blocks
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:145
jpeg_decompress_struct::natural_order
const int * natural_order
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:685
jpeg_memory_mgr::access_virt_sarray
JSAMPARRAY(* access_virt_sarray)(j_common_ptr cinfo, jvirt_sarray_ptr ptr, JDIMENSION start_row, JDIMENSION num_rows, boolean writable)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:855
jpeg_decompress_struct::src
struct jpeg_source_mgr * src
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:478
jpeg_memory_mgr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:835
jpeg_compress_struct::JFIF_minor_version
UINT8 JFIF_minor_version
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:391
jpeg_error_mgr::first_addon_message
int first_addon_message
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:773
jpeg_decompress_struct::quantize_colors
boolean quantize_colors
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:506
dataptr
int const JOCTET * dataptr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:972
jpeg_compress_struct::dct_method
J_DCT_METHOD dct_method
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:377
suppress
boolean suppress
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:949
jpeg_memory_mgr::realize_virt_arrays
void(* realize_virt_arrays)(j_common_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:854
jpeg_decompress_struct::density_unit
UINT8 density_unit
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:620
jpeg_compress_struct::max_v_samp_factor
int max_v_samp_factor
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:417
JCOEFPTR
JCOEF * JCOEFPTR
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:80
jvirt_sarray_ptr
struct jvirt_sarray_control * jvirt_sarray_ptr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:831
require_image
boolean require_image
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:982
jpeg_decompress_struct::scale_num
unsigned int scale_num
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:495
jpeg_compress_struct::scale_denom
unsigned int scale_denom
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:326
jpeg_compress_struct::optimize_coding
boolean optimize_coding
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:371
jpeg_decompress_struct::input_iMCU_row
JDIMENSION input_iMCU_row
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:558
desired
int desired
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:1060
boolean
boolean
Definition: sources/libs/nvll_batch_jpeg_encode/tegra/jmorecfg.h:326
jpeg_decompress_struct::X_density
UINT16 X_density
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:621
jpeg_decompress_struct::coef_bits
int(* coef_bits)[DCTSIZE2]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:574
jpeg_decompress_struct::colormap
JSAMPARRAY colormap
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:542
jpeg_compress_struct::restart_interval
unsigned int restart_interval
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:384
JQUANT_TBL::sent_table
boolean sent_table
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:99
jpeg_decompress_struct::cquantize
struct jpeg_color_quantizer * cquantize
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:708
C_MAX_BLOCKS_IN_MCU
#define C_MAX_BLOCKS_IN_MCU
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:62
jpeg_decompress_struct::out_color_space
J_COLOR_SPACE out_color_space
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:493
jpeg_decompress_struct::comp_info
jpeg_component_info * comp_info
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:598
jpeg_compress_struct::restart_in_rows
int restart_in_rows
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:385
jpeg_compress_struct::arith_dc_U
UINT8 arith_dc_U[NUM_ARITH_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:359
jpeg_compress_struct::quant_tbl_ptrs
JQUANT_TBL * quant_tbl_ptrs[NUM_QUANT_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:346
coef_arrays
jvirt_barray_ptr * coef_arrays
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:1040
force_baseline
int boolean force_baseline
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:937
quality
int quality
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:936
jpeg_decompress_struct::marker
struct jpeg_marker_reader * marker
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:703
jpeg_compress_struct::Ah
int Ah
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:447
inbuffer
const unsigned char * inbuffer
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:926
jpeg_decompress_struct::restart_interval
unsigned int restart_interval
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:611
JCS_EXT_RGBX
@ JCS_EXT_RGBX
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:228
jpeg_decompress_struct::MCUs_per_row
JDIMENSION MCUs_per_row
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:671
jpeg_compress_struct::dc_huff_tbl_ptrs
JHUFF_TBL * dc_huff_tbl_ptrs[NUM_HUFF_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:354
routine
int jpeg_marker_parser_method routine
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:1035
MAX_COMPS_IN_SCAN
#define MAX_COMPS_IN_SCAN
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:53
jpeg_decompress_struct::Y_density
UINT16 Y_density
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:622
jpeg_marker_struct::data
JOCTET * data
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:210
JDCT_IFAST
@ JDCT_IFAST
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:250
jpeg_source_mgr::next_input_byte
const JOCTET * next_input_byte
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:805
write_all_tables
boolean write_all_tables
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:955
jpeg_decompress_struct::rec_outbuf_height
int rec_outbuf_height
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:529
NUM_QUANT_TBLS
#define NUM_QUANT_TBLS
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:50
JCS_EXT_BGR
@ JCS_EXT_BGR
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:229
JSAMPARRAY
JSAMPROW * JSAMPARRAY
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:72
jpeg_compress_struct::arith_ac_K
UINT8 arith_ac_K[NUM_ARITH_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:360
jpeg_compress_struct::arith_dc_L
UINT8 arith_dc_L[NUM_ARITH_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:358
jpeg_compress_struct::X_density
UINT16 X_density
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:397
jpeg_decompress_struct::out_color_components
int out_color_components
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:524
jpeg_compress_struct::Y_density
UINT16 Y_density
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:398
jpeg_decompress_struct::arith_code
boolean arith_code
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:605
jpeg_error_mgr::i
int i[8]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:741
J_COLOR_SPACE
J_COLOR_SPACE
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:219
jpeg_compress_struct::do_fancy_downsampling
boolean do_fancy_downsampling
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:374
JCS_EXT_XBGR
@ JCS_EXT_XBGR
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:231
jpeg_progress_mgr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:780
jpeg_decompress_struct::coef
struct jpeg_d_coef_controller * coef
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:700
val
int val
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:976
jpeg_component_info::MCU_sample_width
int MCU_sample_width
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:177
jpeg_destination_mgr::term_destination
void(* term_destination)(j_compress_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:798
jpeg_compress_struct::MCUs_per_row
JDIMENSION MCUs_per_row
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:439
jpeg_compress_struct::main
struct jpeg_c_main_controller * main
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:459
jpeg_decompress_struct::progressive_mode
boolean progressive_mode
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:604
jpeg_decompress_struct::data_precision
int data_precision
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:596
jpeg_decompress_struct::jpeg_common_fields
jpeg_common_fields
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:475
jpeg_compress_struct::downsample
struct jpeg_downsampler * downsample
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:464
jpeg_decompress_struct::CCIR601_sampling
boolean CCIR601_sampling
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:626
jpeg_decompress_struct::scale_denom
unsigned int scale_denom
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:495
jpeg_compress_struct::write_Adobe_marker
boolean write_Adobe_marker
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:399
jpeg_compress_struct::input_components
int input_components
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:312
NUM_ARITH_TBLS
#define NUM_ARITH_TBLS
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:52
JBLOCKARRAY
JBLOCKROW * JBLOCKARRAY
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:77
jpeg_compress_struct::Al
int Al
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:447
jpeg_compress_struct::entropy
struct jpeg_entropy_encoder * entropy
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:466
jpeg_decompress_struct::do_block_smoothing
boolean do_block_smoothing
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:504
jpeg_compress_struct::progressive_mode
boolean progressive_mode
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:415
jpeg_compress_struct::ac_huff_tbl_ptrs
JHUFF_TBL * ac_huff_tbl_ptrs[NUM_HUFF_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:355
jpeg_progress_mgr::pass_limit
long pass_limit
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:784
jpeg_marker_struct::next
jpeg_saved_marker_ptr next
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:206
jpeg_error_mgr::format_message
void(* format_message)(j_common_ptr cinfo, char *buffer)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:730
jpeg_decompress_struct::Adobe_transform
UINT8 Adobe_transform
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:624
jpeg_compress_struct::cconvert
struct jpeg_color_converter * cconvert
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:463
jpeg_component_info::DCT_v_scaled_size
int DCT_v_scaled_size
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:154
data
JSAMPIMAGE data
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:967
jpeg_component_info::h_samp_factor
int h_samp_factor
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:127
jpeg_decompress_struct::MCU_rows_in_scan
JDIMENSION MCU_rows_in_scan
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:672
marker
int marker
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:971
jpeg_component_info::last_col_width
int last_col_width
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:178
JDITHER_ORDERED
@ JDITHER_ORDERED
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:265
JCOEF
short JCOEF
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jmorecfg.h:93
jpeg_memory_mgr::self_destruct
void(* self_destruct)(j_common_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:862
jpeg_decompress_struct::buffered_image
boolean buffered_image
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:499
JDITHER_NONE
@ JDITHER_NONE
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:264
jpeg_error_mgr::emit_message
void(* emit_message)(j_common_ptr cinfo, int msg_level)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:726
jpeg_compress_struct::comps_in_scan
int comps_in_scan
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:435
jpeg_decompress_struct::do_fancy_upsampling
boolean do_fancy_upsampling
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:503
jpeg_compress_struct::scale_num
unsigned int scale_num
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:326
num_lines
JSAMPARRAY JDIMENSION num_lines
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:958
JCS_RGB565
@ JCS_RGB565
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:243
jpeg_decompress_struct::desired_number_of_colors
int desired_number_of_colors
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:510
jpeg_compress_struct::CCIR601_sampling
boolean CCIR601_sampling
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:372
jpeg_component_info::downsampled_height
JDIMENSION downsampled_height
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:165
jpeg_decompress_struct::dc_huff_tbl_ptrs
JHUFF_TBL * dc_huff_tbl_ptrs[NUM_HUFF_TBLS]
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:588
JQUANT_TBL
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:88
jpeg_decompress_struct::main
struct jpeg_d_main_controller * main
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:699
jpeg_source_mgr::term_source
void(* term_source)(j_decompress_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:812
jpeg_decompress_struct::enable_2pass_quant
boolean enable_2pass_quant
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:514
jpeg_compress_struct::master
struct jpeg_comp_master * master
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:458
jpeg_compress_struct::lim_Se
int lim_Se
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:452
jvirt_barray_ptr
struct jvirt_barray_control * jvirt_barray_ptr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:832
jpeg_decompress_struct::enable_1pass_quant
boolean enable_1pass_quant
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:512
jpeg_source_mgr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:804
jpeg_decompress_struct::JFIF_major_version
UINT8 JFIF_major_version
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:618
jpeg_compress_struct::jpeg_color_space
J_COLOR_SPACE jpeg_color_space
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:341
jpeg_decompress_struct::image_height
JDIMENSION image_height
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:484
j_common_ptr
struct jpeg_common_struct * j_common_ptr
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:292
length_limit
int unsigned int length_limit
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:1030
jpeg_source_mgr::init_source
void(* init_source)(j_decompress_ptr cinfo)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:808
JCS_EXT_RGBA
@ JCS_EXT_RGBA
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:239
JSAMPROW
JSAMPLE * JSAMPROW
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:71
jpeg_component_info::v_samp_factor
int v_samp_factor
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:128
jpeg_decompress_struct
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:474
JCS_RGB
@ JCS_RGB
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:222
dstinfo
j_compress_ptr dstinfo
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:1042
jpeg_component_info
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:121
jpeg_memory_mgr::request_virt_sarray
jvirt_sarray_ptr(* request_virt_sarray)(j_common_ptr cinfo, int pool_id, boolean pre_zero, JDIMENSION samplesperrow, JDIMENSION numrows, JDIMENSION maxaccess)
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:844
datalen
int const JOCTET unsigned int datalen
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:972
jpeg_memory_mgr::max_alloc_chunk
long max_alloc_chunk
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:872
jpeg_error_mgr::last_addon_message
int last_addon_message
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:774
jpeg_compress_struct::scan_info
const jpeg_scan_info * scan_info
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:363