Main MRPT website > C++ reference for MRPT 1.5.7
jpegint.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 
10 
11 /* Declarations for both compression & decompression */
12 
13 typedef enum { /* Operating modes for buffer controllers */
14  JBUF_PASS_THRU, /* Plain stripwise operation */
15  /* Remaining modes require a full-image buffer to have been created */
16  JBUF_SAVE_SOURCE, /* Run source subobject only, save output */
17  JBUF_CRANK_DEST, /* Run dest subobject only, using saved data */
18  JBUF_SAVE_AND_PASS /* Run both subobjects, save output */
19 } J_BUF_MODE;
20 
21 /* Values of global_state field (jdapi.c has some dependencies on ordering!) */
22 #define CSTATE_START 100 /* after create_compress */
23 #define CSTATE_SCANNING 101 /* start_compress done, write_scanlines OK */
24 #define CSTATE_RAW_OK 102 /* start_compress done, write_raw_data OK */
25 #define CSTATE_WRCOEFS 103 /* jpeg_write_coefficients done */
26 #define DSTATE_START 200 /* after create_decompress */
27 #define DSTATE_INHEADER 201 /* reading header markers, no SOS yet */
28 #define DSTATE_READY 202 /* found SOS, ready for start_decompress */
29 #define DSTATE_PRELOAD 203 /* reading multiscan file in start_decompress*/
30 #define DSTATE_PRESCAN 204 /* performing dummy pass for 2-pass quant */
31 #define DSTATE_SCANNING 205 /* start_decompress done, read_scanlines OK */
32 #define DSTATE_RAW_OK 206 /* start_decompress done, read_raw_data OK */
33 #define DSTATE_BUFIMAGE 207 /* expecting jpeg_start_output */
34 #define DSTATE_BUFPOST 208 /* looking for SOS/EOI in jpeg_finish_output */
35 #define DSTATE_RDCOEFS 209 /* reading file in jpeg_read_coefficients */
36 #define DSTATE_STOPPING 210 /* looking for EOI in jpeg_finish_decompress */
37 
38 
39 /* Declarations for compression modules */
40 
41 /* Master control module */
43  JMETHOD(void, prepare_for_pass, (j_compress_ptr cinfo));
44  JMETHOD(void, pass_startup, (j_compress_ptr cinfo));
45  JMETHOD(void, finish_pass, (j_compress_ptr cinfo));
46 
47  /* State variables made visible to other modules */
48  boolean call_pass_startup; /* True if pass_startup must be called */
49  boolean is_last_pass; /* True during last pass */
50 };
51 
52 /* Main buffer control (downsampled-data buffer) */
54  JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
55  JMETHOD(void, process_data, (j_compress_ptr cinfo,
58 };
59 
60 /* Compression preprocessing (downsampling input buffer control) */
62  JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
68  JDIMENSION *out_row_group_ctr,
69  JDIMENSION out_row_groups_avail));
70 };
71 
72 /* Coefficient buffer control */
74  JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
75  JMETHOD(boolean, compress_data, (j_compress_ptr cinfo,
77 };
78 
79 /* Colorspace conversion */
81  JMETHOD(void, start_pass, (j_compress_ptr cinfo));
82  JMETHOD(void, color_convert, (j_compress_ptr cinfo,
85 };
86 
87 /* Downsampling */
89  JMETHOD(void, start_pass, (j_compress_ptr cinfo));
90  JMETHOD(void, downsample, (j_compress_ptr cinfo,
91  JSAMPIMAGE input_buf, JDIMENSION in_row_index,
93  JDIMENSION out_row_group_index));
94 
95  boolean need_context_rows; /* TRUE if need rows above & below */
96 };
97 
98 /* Forward DCT (also controls coefficient quantization) */
100  JMETHOD(void, start_pass, (j_compress_ptr cinfo));
101  /* perhaps this should be an array??? */
102  JMETHOD(void, forward_DCT, (j_compress_ptr cinfo,
104  JSAMPARRAY sample_data, JBLOCKROW coef_blocks,
105  JDIMENSION start_row, JDIMENSION start_col,
107 };
108 
109 /* Entropy encoding */
111  JMETHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics));
112  JMETHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data));
113  JMETHOD(void, finish_pass, (j_compress_ptr cinfo));
114 };
115 
116 /* Marker writing */
118  JMETHOD(void, write_file_header, (j_compress_ptr cinfo));
119  JMETHOD(void, write_frame_header, (j_compress_ptr cinfo));
120  JMETHOD(void, write_scan_header, (j_compress_ptr cinfo));
121  JMETHOD(void, write_file_trailer, (j_compress_ptr cinfo));
122  JMETHOD(void, write_tables_only, (j_compress_ptr cinfo));
123  /* These routines are exported to allow insertion of extra markers */
124  /* Probably only COM and APPn markers should be written this way */
126  unsigned int datalen));
127  JMETHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val));
128 };
129 
130 
131 /* Declarations for decompression modules */
132 
133 /* Master control module */
137 
138  /* State variables made visible to other modules */
139  boolean is_dummy_pass; /* True during 1st pass for 2-pass quant */
140 };
141 
142 /* Input control module */
144  JMETHOD(int, consume_input, (j_decompress_ptr cinfo));
146  JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo));
148 
149  /* State variables made visible to other modules */
150  boolean has_multiple_scans; /* True if file has multiple scans */
151  boolean eoi_reached; /* True when EOI has been consumed */
152 };
153 
154 /* Main buffer control (downsampled-data buffer) */
156  JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
157  JMETHOD(void, process_data, (j_decompress_ptr cinfo,
160 };
161 
162 /* Coefficient buffer control */
164  JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo));
165  JMETHOD(int, consume_data, (j_decompress_ptr cinfo));
169  /* Pointer to array of coefficient virtual arrays, or NULL if none */
171 };
172 
173 /* Decompression postprocessing (color quantization buffer control) */
175  JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
176  JMETHOD(void, post_process_data, (j_decompress_ptr cinfo,
183 };
184 
185 /* Marker reading & parsing */
188  /* Read markers until SOS or EOI.
189  * Returns same codes as are defined for jpeg_consume_input:
190  * JPEG_SUSPENDED, JPEG_REACHED_SOS, or JPEG_REACHED_EOI.
191  */
192  JMETHOD(int, read_markers, (j_decompress_ptr cinfo));
193  /* Read a restart marker --- exported for use by entropy decoder only */
194  jpeg_marker_parser_method read_restart_marker;
195 
196  /* State of marker reader --- nominally internal, but applications
197  * supplying COM or APPn handlers might like to know the state.
198  */
199  boolean saw_SOI; /* found SOI? */
200  boolean saw_SOF; /* found SOF? */
201  int next_restart_num; /* next restart number expected (0-7) */
202  unsigned int discarded_bytes; /* # of bytes skipped looking for a marker */
203 };
204 
205 /* Entropy decoding */
207  JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
208  JMETHOD(boolean, decode_mcu, (j_decompress_ptr cinfo,
209  JBLOCKROW *MCU_data));
210 
211  /* This is here to share code between baseline and progressive decoders; */
212  /* other modules probably should not use it */
213  boolean insufficient_data; /* set TRUE after emitting warning */
214 };
215 
216 /* Inverse DCT (also performs dequantization) */
217 typedef JMETHOD(void, inverse_DCT_method_ptr,
221 
223  JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
224  /* It is useful to allow each component to have a separate IDCT method. */
225  inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS];
226 };
227 
228 /* Upsampling (note that upsampler must also call color converter) */
230  JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
231  JMETHOD(void, upsample, (j_decompress_ptr cinfo,
238 
239  boolean need_context_rows; /* TRUE if need rows above & below */
240 };
241 
242 /* Colorspace conversion */
244  JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
245  JMETHOD(void, color_convert, (j_decompress_ptr cinfo,
246  JSAMPIMAGE input_buf, JDIMENSION input_row,
248 };
249 
250 /* Color quantization or color precision reduction */
252  JMETHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan));
255  int num_rows));
256  JMETHOD(void, finish_pass, (j_decompress_ptr cinfo));
257  JMETHOD(void, new_color_map, (j_decompress_ptr cinfo));
258 };
259 
260 
261 /* Miscellaneous useful macros */
262 
263 #undef MAX
264 #define MAX(a,b) ((a) > (b) ? (a) : (b))
265 #undef MIN
266 #define MIN(a,b) ((a) < (b) ? (a) : (b))
267 
268 
269 /* We assume that right shift corresponds to signed division by 2 with
270  * rounding towards minus infinity. This is correct for typical "arithmetic
271  * shift" instructions that shift in copies of the sign bit. But some
272  * C compilers implement >> with an unsigned shift. For these machines you
273  * must define RIGHT_SHIFT_IS_UNSIGNED.
274  * RIGHT_SHIFT provides a proper signed right shift of an INT32 quantity.
275  * It is only applied with constant shift counts. SHIFT_TEMPS must be
276  * included in the variables of any routine using RIGHT_SHIFT.
277  */
278 
279 #ifdef RIGHT_SHIFT_IS_UNSIGNED
280 #define SHIFT_TEMPS INT32 shift_temp;
281 #define RIGHT_SHIFT(x,shft) \
282  ((shift_temp = (x)) < 0 ? \
283  (shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \
284  (shift_temp >> (shft)))
285 #else
286 #define SHIFT_TEMPS
287 #define RIGHT_SHIFT(x,shft) ((x) >> (shft))
288 #endif
289 
290 
291 /* Short forms of external names for systems with brain-damaged linkers. */
292 
293 #ifdef NEED_SHORT_EXTERNAL_NAMES
294 #define jinit_compress_master jICompress
295 #define jinit_c_master_control jICMaster
296 #define jinit_c_main_controller jICMainC
297 #define jinit_c_prep_controller jICPrepC
298 #define jinit_c_coef_controller jICCoefC
299 #define jinit_color_converter jICColor
300 #define jinit_downsampler jIDownsampler
301 #define jinit_forward_dct jIFDCT
302 #define jinit_huff_encoder jIHEncoder
303 #define jinit_phuff_encoder jIPHEncoder
304 #define jinit_marker_writer jIMWriter
305 #define jinit_master_decompress jIDMaster
306 #define jinit_d_main_controller jIDMainC
307 #define jinit_d_coef_controller jIDCoefC
308 #define jinit_d_post_controller jIDPostC
309 #define jinit_input_controller jIInCtlr
310 #define jinit_marker_reader jIMReader
311 #define jinit_huff_decoder jIHDecoder
312 #define jinit_phuff_decoder jIPHDecoder
313 #define jinit_inverse_dct jIIDCT
314 #define jinit_upsampler jIUpsampler
315 #define jinit_color_deconverter jIDColor
316 #define jinit_1pass_quantizer jI1Quant
317 #define jinit_2pass_quantizer jI2Quant
318 #define jinit_merged_upsampler jIMUpsampler
319 #define jinit_memory_mgr jIMemMgr
320 #define jdiv_round_up jDivRound
321 #define jround_up jRound
322 #define jcopy_sample_rows jCopySamples
323 #define jcopy_block_row jCopyBlocks
324 #define jzero_far jZeroFar
325 #define jpeg_zigzag_order jZIGTable
326 #define jpeg_natural_order jZAGTable
327 #endif /* NEED_SHORT_EXTERNAL_NAMES */
328 
329 
330 /* Compression module initialization routines */
333  boolean transcode_only));
335  boolean need_full_buffer));
337  boolean need_full_buffer));
339  boolean need_full_buffer));
346 /* Decompression module initialization routines */
349  boolean need_full_buffer));
351  boolean need_full_buffer));
353  boolean need_full_buffer));
364 /* Memory manager initialization */
365 EXTERN(void) jinit_memory_mgr JPP((j_common_ptr cinfo));
366 
367 /* Utility routines in jutils.c */
368 EXTERN(long) jdiv_round_up JPP((long a, long b));
369 EXTERN(long) jround_up JPP((long a, long b));
375 EXTERN(void) jzero_far JPP((void FAR * target, size_t bytestozero));
376 /* Constant tables in jutils.c */
377 #if 0 /* This table is not actually needed in v6a */
378 extern const int jpeg_zigzag_order[]; /* natural coef order to zigzag order */
379 #endif
380 extern const int jpeg_natural_order[]; /* zigzag coef order to natural order */
381 
382 /* Suppress undefined-structure complaints if necessary. */
383 
384 #ifdef INCOMPLETE_TYPES_BROKEN
385 #ifndef AM_MEMORY_MANAGER /* only jmemmgr.c defines these */
386 struct jvirt_sarray_control { long dummy; };
387 struct jvirt_barray_control { long dummy; };
388 #endif
389 #endif /* INCOMPLETE_TYPES_BROKEN */
jinit_marker_reader(j_decompress_ptr cinfo)
Definition: jdmarker.cpp:1257
jinit_downsampler(j_compress_ptr cinfo)
Definition: jcsample.cpp:426
JMETHOD(void, prepare_for_pass,(j_compress_ptr cinfo))
jzero_far(void FAR *target, size_t bytestozero)
Definition: jutils.cpp:161
jdiv_round_up(long a, long b)
Definition: jutils.cpp:68
boolean has_multiple_scans
Definition: jpegint.h:150
consume_data(j_decompress_ptr cinfo)
Definition: jdcoefct.cpp:237
jinit_d_post_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
Definition: jdpostct.cpp:243
jinit_merged_upsampler(j_decompress_ptr cinfo)
Definition: jdmerge.cpp:348
unsigned int discarded_bytes
Definition: jpegint.h:202
compress_data(j_compress_ptr cinfo, JSAMPIMAGE input_buf)
Definition: jccoefct.cpp:140
JBLOCKROW * MCU_data
Definition: jchuff.cpp:83
JMETHOD(void, start_pass,(j_compress_ptr cinfo))
boolean is_dummy_pass
Definition: jpegint.h:139
jinit_1pass_quantizer(j_decompress_ptr cinfo)
Definition: jquant1.cpp:822
jinit_input_controller(j_decompress_ptr cinfo)
Definition: jdinput.cpp:357
jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks)
Definition: jutils.cpp:141
jinit_inverse_dct(j_decompress_ptr cinfo)
Definition: jddctmgr.cpp:239
jpeg_component_info JCOEFPTR coef_block
Definition: jdct.h:97
JMETHOD(void, start_pass,(j_decompress_ptr cinfo, J_BUF_MODE pass_mode))
inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS]
Definition: jpegint.h:225
JMETHOD(void, write_file_header,(j_compress_ptr cinfo))
const int jpeg_natural_order[]
Definition: jutils.cpp:49
prepare_for_pass(j_compress_ptr cinfo)
Definition: jcmaster.cpp:397
jround_up(long a, long b)
Definition: jutils.cpp:77
pass_startup(j_compress_ptr cinfo)
Definition: jcmaster.cpp:485
#define MAX_COMPONENTS
Definition: jmorecfg.h:32
JSAMPARRAY JDIMENSION * out_row_ctr
Definition: jdmainct.cpp:138
JMETHOD(void, prepare_for_output_pass,(j_decompress_ptr cinfo))
Definition: jpegint.h:174
jvirt_barray_ptr * coef_arrays
Definition: jpegint.h:170
write_scan_header(j_compress_ptr cinfo)
Definition: jcmarker.cpp:550
boolean need_full_buffer
Definition: jpegint.h:335
read_markers(j_decompress_ptr cinfo)
Definition: jdmarker.cpp:947
write_file_header(j_compress_ptr cinfo)
Definition: jcmarker.cpp:468
boolean call_pass_startup
Definition: jpegint.h:48
JMETHOD(void, start_pass,(j_compress_ptr cinfo, J_BUF_MODE pass_mode))
jpeg_component_info * compptr
Definition: jdct.h:97
int marker
Definition: mrpt_jpeglib.h:947
JMETHOD(void, start_pass,(j_decompress_ptr cinfo))
jcopy_sample_rows(JSAMPARRAY input_array, int source_row, JSAMPARRAY output_array, int dest_row, int num_rows, JDIMENSION num_cols)
Definition: jutils.cpp:107
jinit_phuff_encoder(j_compress_ptr cinfo)
Definition: jcphuff.cpp:809
boolean is_last_pass
Definition: jpegint.h:49
jinit_d_coef_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
Definition: jdcoefct.cpp:669
write_marker_header(j_compress_ptr cinfo, int marker, unsigned int datalen)
Definition: jcmarker.cpp:437
jinit_compress_master(j_compress_ptr cinfo)
Definition: jcinit.cpp:22
jinit_2pass_quantizer(j_decompress_ptr cinfo)
Definition: jquant2.cpp:1236
jpeg_component_info JCOEFPTR JSAMPARRAY JDIMENSION output_col
Definition: jdct.h:97
jinit_huff_encoder(j_compress_ptr cinfo)
Definition: jchuff.cpp:884
JMETHOD(void, start_pass,(j_compress_ptr cinfo, J_BUF_MODE pass_mode))
JSAMPIMAGE input_buf
Definition: jccoefct.cpp:59
int JSAMPARRAY int dest_row
Definition: jpegint.h:370
jinit_color_deconverter(j_decompress_ptr cinfo)
Definition: jdcolor.cpp:303
jinit_memory_mgr(j_common_ptr cinfo)
Definition: jmemmgr.cpp:1011
JMETHOD(void, start_pass,(j_compress_ptr cinfo, J_BUF_MODE pass_mode))
jinit_huff_decoder(j_decompress_ptr cinfo)
Definition: jdhuff.cpp:625
JMETHOD(void, start_pass,(j_decompress_ptr cinfo, J_BUF_MODE pass_mode))
JBLOCKROW JDIMENSION num_blocks
Definition: jpegint.h:373
JMETHOD(void, reset_marker_reader,(j_decompress_ptr cinfo))
int const JOCTET unsigned int datalen
Definition: mrpt_jpeglib.h:947
JSAMPROW * JSAMPARRAY
Definition: mrpt_jpeglib.h:64
write_tables_only(j_compress_ptr cinfo)
Definition: jcmarker.cpp:615
JCOEF FAR * JCOEFPTR
Definition: mrpt_jpeglib.h:72
boolean saw_SOF
Definition: jpegint.h:200
int val
Definition: mrpt_jpeglib.h:953
GLubyte GLubyte b
Definition: glext.h:5575
int source_row
Definition: jpegint.h:370
write_frame_header(j_compress_ptr cinfo)
Definition: jcmarker.cpp:493
jinit_d_main_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
Definition: jdmainct.cpp:470
reset_marker_reader(j_decompress_ptr cinfo)
Definition: jdmarker.cpp:1237
JBLOCKROW output_row
Definition: jpegint.h:373
JMETHOD(void, start_pass,(j_compress_ptr cinfo, boolean gather_statistics))
JMETHOD(void, start_pass,(j_decompress_ptr cinfo))
size_t bytestozero
Definition: jpegint.h:375
int JSAMPARRAY int int num_rows
Definition: jpegint.h:370
jinit_c_prep_controller(j_compress_ptr cinfo, boolean need_full_buffer)
Definition: jcprepct.cpp:308
int JSAMPARRAY int int JDIMENSION num_cols
Definition: jpegint.h:370
JMETHOD(void, start_pass,(j_decompress_ptr cinfo, boolean is_pre_scan))
jinit_phuff_decoder(j_decompress_ptr cinfo)
Definition: jdphuff.cpp:631
#define JPP(arglist)
Definition: mrpt_jpeglib.h:815
JMETHOD(void, start_pass,(j_decompress_ptr cinfo))
forward_DCT(j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks)
Definition: jcdctmgr.cpp:176
start_output_pass(j_decompress_ptr cinfo)
Definition: jdcoefct.cpp:112
finish_input_pass(j_decompress_ptr cinfo)
Definition: jdinput.cpp:267
JSAMPARRAY * JSAMPIMAGE
Definition: mrpt_jpeglib.h:65
JMETHOD(void, start_pass,(j_compress_ptr cinfo))
pre_process_data(j_compress_ptr cinfo, JSAMPARRAY input_buf, JDIMENSION *in_row_ctr, JDIMENSION in_rows_avail, JSAMPIMAGE output_buf, JDIMENSION *out_row_group_ctr, JDIMENSION out_row_groups_avail)
Definition: jcprepct.cpp:121
jinit_c_main_controller(j_compress_ptr cinfo, boolean need_full_buffer)
Definition: jcmainct.cpp:242
JSAMPIMAGE output_buf
Definition: jdcoefct.cpp:59
typedef JMETHOD(void, inverse_DCT_method_ptr,(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col))
jinit_forward_dct(j_compress_ptr cinfo)
Definition: jcdctmgr.cpp:341
jinit_color_converter(j_compress_ptr cinfo)
Definition: jccolor.cpp:351
start_input_pass(j_decompress_ptr cinfo)
Definition: jdcoefct.cpp:100
write_file_trailer(j_compress_ptr cinfo)
Definition: jcmarker.cpp:601
finish_output_pass(j_decompress_ptr cinfo)
Definition: jdmaster.cpp:494
start_pass(j_decompress_ptr cinfo)
Definition: jddctmgr.cpp:81
JMETHOD(int, consume_input,(j_decompress_ptr cinfo))
JSAMPARRAY JDIMENSION JDIMENSION in_rows_avail
Definition: jcmainct.cpp:52
decode_mcu(j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
Definition: jdhuff.cpp:507
J_BUF_MODE
Definition: jpegint.h:13
JMETHOD(void, start_input_pass,(j_decompress_ptr cinfo))
boolean need_context_rows
Definition: jpegint.h:239
JBLOCK FAR * JBLOCKROW
Definition: mrpt_jpeglib.h:68
write_marker_byte(j_compress_ptr cinfo, int val)
Definition: jcmarker.cpp:449
jinit_c_coef_controller(j_compress_ptr cinfo, boolean need_full_buffer)
Definition: jccoefct.cpp:402
jinit_c_master_control(j_compress_ptr cinfo, boolean transcode_only)
Definition: jcmaster.cpp:539
color_quantize(j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
Definition: jquant1.cpp:459
prepare_for_output_pass(j_decompress_ptr cinfo)
Definition: jdmaster.cpp:434
unsigned int JDIMENSION
Definition: jmorecfg.h:168
JMETHOD(void, start_pass,(j_compress_ptr cinfo))
#define FAR
Definition: zconf.h:261
decompress_data(j_decompress_ptr cinfo, JSAMPIMAGE output_buf)
Definition: jdcoefct.cpp:308
JSAMPARRAY JDIMENSION * in_row_ctr
Definition: jcmainct.cpp:52
EXTERN(void) jinit_compress_master JPP((j_compress_ptr cinfo))
boolean insufficient_data
Definition: jpegint.h:213
jinit_upsampler(j_decompress_ptr cinfo)
Definition: jdsample.cpp:388
reset_input_controller(j_decompress_ptr cinfo)
Definition: jdinput.cpp:335
JSAMPIMAGE JDIMENSION * in_row_group_ctr
Definition: jdpostct.cpp:39
jinit_marker_writer(j_compress_ptr cinfo)
Definition: jcmarker.cpp:644
GLubyte GLubyte GLubyte a
Definition: glext.h:5575
jpeg_marker_parser_method read_restart_marker
Definition: jpegint.h:194
int JSAMPARRAY output_array
Definition: jpegint.h:370
jinit_master_decompress(j_decompress_ptr cinfo)
Definition: jdmaster.cpp:539
boolean saw_SOI
Definition: jpegint.h:199
boolean need_context_rows
Definition: jpegint.h:95
JMETHOD(void, start_pass,(j_decompress_ptr cinfo))
boolean transcode_only
Definition: jpegint.h:333
JSAMPIMAGE JDIMENSION JDIMENSION in_row_groups_avail
Definition: jdpostct.cpp:39
JSAMPARRAY JDIMENSION JDIMENSION out_rows_avail
Definition: jdmainct.cpp:138



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019