Main MRPT website > C++ reference for MRPT 1.9.9
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 /* Declarations for both compression & decompression */
11 
12 typedef enum { /* Operating modes for buffer controllers */
13  JBUF_PASS_THRU, /* Plain stripwise operation */
14  /* Remaining modes require a full-image buffer to have been
15  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 /* Declarations for compression modules */
39 
40 /* Master control module */
42 {
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 {
55  JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
56  JMETHOD(
57  void, process_data, (j_compress_ptr cinfo, JSAMPARRAY input_buf,
58  JDIMENSION* in_row_ctr, JDIMENSION in_rows_avail));
59 };
60 
61 /* Compression preprocessing (downsampling input buffer control) */
63 {
64  JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
65  JMETHOD(
66  void, pre_process_data,
67  (j_compress_ptr cinfo, JSAMPARRAY input_buf, JDIMENSION* in_row_ctr,
68  JDIMENSION in_rows_avail, JSAMPIMAGE output_buf,
69  JDIMENSION* out_row_group_ctr, JDIMENSION out_row_groups_avail));
70 };
71 
72 /* Coefficient buffer control */
74 {
75  JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
76  JMETHOD(
77  boolean, compress_data, (j_compress_ptr cinfo, JSAMPIMAGE input_buf));
78 };
79 
80 /* Colorspace conversion */
82 {
83  JMETHOD(void, start_pass, (j_compress_ptr cinfo));
84  JMETHOD(
85  void, color_convert,
87  JDIMENSION output_row, int num_rows));
88 };
89 
90 /* Downsampling */
92 {
93  JMETHOD(void, start_pass, (j_compress_ptr cinfo));
94  JMETHOD(
95  void, downsample,
96  (j_compress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION in_row_index,
97  JSAMPIMAGE output_buf, JDIMENSION out_row_group_index));
98 
99  boolean need_context_rows; /* TRUE if need rows above & below */
100 };
101 
102 /* Forward DCT (also controls coefficient quantization) */
104 {
105  JMETHOD(void, start_pass, (j_compress_ptr cinfo));
106  /* perhaps this should be an array??? */
107  JMETHOD(
108  void, forward_DCT,
110  JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row,
111  JDIMENSION start_col, JDIMENSION num_blocks));
112 };
113 
114 /* Entropy encoding */
116 {
117  JMETHOD(
118  void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics));
119  JMETHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW* MCU_data));
120  JMETHOD(void, finish_pass, (j_compress_ptr cinfo));
121 };
122 
123 /* Marker writing */
125 {
126  JMETHOD(void, write_file_header, (j_compress_ptr cinfo));
127  JMETHOD(void, write_frame_header, (j_compress_ptr cinfo));
128  JMETHOD(void, write_scan_header, (j_compress_ptr cinfo));
129  JMETHOD(void, write_file_trailer, (j_compress_ptr cinfo));
130  JMETHOD(void, write_tables_only, (j_compress_ptr cinfo));
131  /* These routines are exported to allow insertion of extra markers */
132  /* Probably only COM and APPn markers should be written this way */
133  JMETHOD(
134  void, write_marker_header,
135  (j_compress_ptr cinfo, int marker, unsigned int datalen));
136  JMETHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val));
137 };
138 
139 /* Declarations for decompression modules */
140 
141 /* Master control module */
143 {
146 
147  /* State variables made visible to other modules */
148  boolean is_dummy_pass; /* True during 1st pass for 2-pass quant */
149 };
150 
151 /* Input control module */
153 {
154  JMETHOD(int, consume_input, (j_decompress_ptr cinfo));
156  JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo));
158 
159  /* State variables made visible to other modules */
160  boolean has_multiple_scans; /* True if file has multiple scans */
161  boolean eoi_reached; /* True when EOI has been consumed */
162 };
163 
164 /* Main buffer control (downsampled-data buffer) */
166 {
167  JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
168  JMETHOD(
169  void, process_data,
170  (j_decompress_ptr cinfo, JSAMPARRAY output_buf, JDIMENSION* out_row_ctr,
171  JDIMENSION out_rows_avail));
172 };
173 
174 /* Coefficient buffer control */
176 {
177  JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo));
178  JMETHOD(int, consume_data, (j_decompress_ptr cinfo));
180  JMETHOD(
182  /* Pointer to array of coefficient virtual arrays, or nullptr if none */
184 };
185 
186 /* Decompression postprocessing (color quantization buffer control) */
188 {
189  JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
190  JMETHOD(
191  void, post_process_data,
192  (j_decompress_ptr cinfo, JSAMPIMAGE input_buf,
193  JDIMENSION* in_row_group_ctr, JDIMENSION in_row_groups_avail,
194  JSAMPARRAY output_buf, JDIMENSION* out_row_ctr,
195  JDIMENSION out_rows_avail));
196 };
197 
198 /* Marker reading & parsing */
200 {
202  /* Read markers until SOS or EOI.
203  * Returns same codes as are defined for jpeg_consume_input:
204  * JPEG_SUSPENDED, JPEG_REACHED_SOS, or JPEG_REACHED_EOI.
205  */
206  JMETHOD(int, read_markers, (j_decompress_ptr cinfo));
207  /* Read a restart marker --- exported for use by entropy decoder only */
208  jpeg_marker_parser_method read_restart_marker;
209 
210  /* State of marker reader --- nominally internal, but applications
211  * supplying COM or APPn handlers might like to know the state.
212  */
213  boolean saw_SOI; /* found SOI? */
214  boolean saw_SOF; /* found SOF? */
215  int next_restart_num; /* next restart number expected (0-7) */
216  unsigned int discarded_bytes; /* # of bytes skipped looking for a marker */
217 };
218 
219 /* Entropy decoding */
221 {
222  JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
223  JMETHOD(boolean, decode_mcu, (j_decompress_ptr cinfo, JBLOCKROW* MCU_data));
224 
225  /* This is here to share code between baseline and progressive decoders; */
226  /* other modules probably should not use it */
227  boolean insufficient_data; /* set TRUE after emitting warning */
228 };
229 
230 /* Inverse DCT (also performs dequantization) */
231 typedef JMETHOD(
232  void, inverse_DCT_method_ptr,
235 
237 {
238  JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
239  /* It is useful to allow each component to have a separate IDCT method. */
240  inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS];
241 };
242 
243 /* Upsampling (note that upsampler must also call color converter) */
245 {
246  JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
247  JMETHOD(
248  void, upsample, (j_decompress_ptr cinfo, JSAMPIMAGE input_buf,
249  JDIMENSION* in_row_group_ctr,
250  JDIMENSION in_row_groups_avail, JSAMPARRAY output_buf,
251  JDIMENSION* out_row_ctr, JDIMENSION out_rows_avail));
252 
253  boolean need_context_rows; /* TRUE if need rows above & below */
254 };
255 
256 /* Colorspace conversion */
258 {
259  JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
260  JMETHOD(
261  void, color_convert,
262  (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row,
263  JSAMPARRAY output_buf, int num_rows));
264 };
265 
266 /* Color quantization or color precision reduction */
268 {
269  JMETHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan));
270  JMETHOD(
271  void, color_quantize, (j_decompress_ptr cinfo, JSAMPARRAY input_buf,
272  JSAMPARRAY output_buf, int num_rows));
273  JMETHOD(void, finish_pass, (j_decompress_ptr cinfo));
274  JMETHOD(void, new_color_map, (j_decompress_ptr cinfo));
275 };
276 
277 /* Miscellaneous useful macros */
278 
279 #undef MAX
280 #define MAX(a, b) ((a) > (b) ? (a) : (b))
281 #undef MIN
282 #define MIN(a, b) ((a) < (b) ? (a) : (b))
283 
284 /* We assume that right shift corresponds to signed division by 2 with
285  * rounding towards minus infinity. This is correct for typical "arithmetic
286  * shift" instructions that shift in copies of the sign bit. But some
287  * C compilers implement >> with an unsigned shift. For these machines you
288  * must define RIGHT_SHIFT_IS_UNSIGNED.
289  * RIGHT_SHIFT provides a proper signed right shift of an INT32 quantity.
290  * It is only applied with constant shift counts. SHIFT_TEMPS must be
291  * included in the variables of any routine using RIGHT_SHIFT.
292  */
293 
294 #ifdef RIGHT_SHIFT_IS_UNSIGNED
295 #define SHIFT_TEMPS INT32 shift_temp;
296 #define RIGHT_SHIFT(x, shft) \
297  ((shift_temp = (x)) < 0 \
298  ? (shift_temp >> (shft)) | ((~((INT32)0)) << (32 - (shft))) \
299  : (shift_temp >> (shft)))
300 #else
301 #define SHIFT_TEMPS
302 #define RIGHT_SHIFT(x, shft) ((x) >> (shft))
303 #endif
304 
305 /* Short forms of external names for systems with brain-damaged linkers. */
306 
307 #ifdef NEED_SHORT_EXTERNAL_NAMES
308 #define jinit_compress_master jICompress
309 #define jinit_c_master_control jICMaster
310 #define jinit_c_main_controller jICMainC
311 #define jinit_c_prep_controller jICPrepC
312 #define jinit_c_coef_controller jICCoefC
313 #define jinit_color_converter jICColor
314 #define jinit_downsampler jIDownsampler
315 #define jinit_forward_dct jIFDCT
316 #define jinit_huff_encoder jIHEncoder
317 #define jinit_phuff_encoder jIPHEncoder
318 #define jinit_marker_writer jIMWriter
319 #define jinit_master_decompress jIDMaster
320 #define jinit_d_main_controller jIDMainC
321 #define jinit_d_coef_controller jIDCoefC
322 #define jinit_d_post_controller jIDPostC
323 #define jinit_input_controller jIInCtlr
324 #define jinit_marker_reader jIMReader
325 #define jinit_huff_decoder jIHDecoder
326 #define jinit_phuff_decoder jIPHDecoder
327 #define jinit_inverse_dct jIIDCT
328 #define jinit_upsampler jIUpsampler
329 #define jinit_color_deconverter jIDColor
330 #define jinit_1pass_quantizer jI1Quant
331 #define jinit_2pass_quantizer jI2Quant
332 #define jinit_merged_upsampler jIMUpsampler
333 #define jinit_memory_mgr jIMemMgr
334 #define jdiv_round_up jDivRound
335 #define jround_up jRound
336 #define jcopy_sample_rows jCopySamples
337 #define jcopy_block_row jCopyBlocks
338 #define jzero_far jZeroFar
339 #define jpeg_zigzag_order jZIGTable
340 #define jpeg_natural_order jZAGTable
341 #endif /* NEED_SHORT_EXTERNAL_NAMES */
342 
343 /* Compression module initialization routines */
345 EXTERN(void)
346 jinit_c_master_control JPP((j_compress_ptr cinfo, boolean transcode_only));
347 EXTERN(void)
348 jinit_c_main_controller JPP((j_compress_ptr cinfo, boolean need_full_buffer));
349 EXTERN(void)
350 jinit_c_prep_controller JPP((j_compress_ptr cinfo, boolean need_full_buffer));
351 EXTERN(void)
352 jinit_c_coef_controller JPP((j_compress_ptr cinfo, boolean need_full_buffer));
359 /* Decompression module initialization routines */
361 EXTERN(void)
362 jinit_d_main_controller JPP((j_decompress_ptr cinfo, boolean need_full_buffer));
363 EXTERN(void)
364 jinit_d_coef_controller JPP((j_decompress_ptr cinfo, boolean need_full_buffer));
365 EXTERN(void)
366 jinit_d_post_controller JPP((j_decompress_ptr cinfo, boolean need_full_buffer));
377 /* Memory manager initialization */
378 EXTERN(void) jinit_memory_mgr JPP((j_common_ptr cinfo));
379 
380 /* Utility routines in jutils.c */
381 EXTERN(long) jdiv_round_up JPP((long a, long b));
382 EXTERN(long) jround_up JPP((long a, long b));
383 EXTERN(void)
385  (JSAMPARRAY input_array, int source_row, JSAMPARRAY output_array,
386  int dest_row, int num_rows, JDIMENSION num_cols));
387 EXTERN(void)
389  (JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks));
390 EXTERN(void) jzero_far JPP((void FAR* target, size_t bytestozero));
391 /* Constant tables in jutils.c */
392 #if 0 /* This table is not actually needed in v6a */
393 extern const int jpeg_zigzag_order[]; /* natural coef order to zigzag order */
394 #endif
395 extern const int jpeg_natural_order[]; /* zigzag coef order to natural order */
396 
397 /* Suppress undefined-structure complaints if necessary. */
398 
399 #ifdef INCOMPLETE_TYPES_BROKEN
400 #ifndef AM_MEMORY_MANAGER /* only jmemmgr.c defines these */
402 {
403  long dummy;
404 };
406 {
407  long dummy;
408 };
409 #endif
410 #endif /* INCOMPLETE_TYPES_BROKEN */
jinit_marker_reader(j_decompress_ptr cinfo)
Definition: jdmarker.cpp:1275
jinit_downsampler(j_compress_ptr cinfo)
Definition: jcsample.cpp:452
JMETHOD(void, prepare_for_pass,(j_compress_ptr cinfo))
jzero_far(void FAR *target, size_t bytestozero)
Definition: jutils.cpp:150
jdiv_round_up(long a, long b)
Definition: jutils.cpp:63
boolean has_multiple_scans
Definition: jpegint.h:160
consume_data(j_decompress_ptr cinfo)
Definition: jdcoefct.cpp:253
jinit_d_post_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
Definition: jdpostct.cpp:246
jinit_merged_upsampler(j_decompress_ptr cinfo)
Definition: jdmerge.cpp:347
unsigned int discarded_bytes
Definition: jpegint.h:216
compress_data(j_compress_ptr cinfo, JSAMPIMAGE input_buf)
Definition: jccoefct.cpp:142
JMETHOD(void, start_pass,(j_compress_ptr cinfo))
boolean is_dummy_pass
Definition: jpegint.h:148
jinit_1pass_quantizer(j_decompress_ptr cinfo)
Definition: jquant1.cpp:855
jinit_input_controller(j_decompress_ptr cinfo)
Definition: jdinput.cpp:364
jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks)
Definition: jutils.cpp:130
jinit_inverse_dct(j_decompress_ptr cinfo)
Definition: jddctmgr.cpp:246
JMETHOD(void, start_pass,(j_decompress_ptr cinfo, J_BUF_MODE pass_mode))
inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS]
Definition: jpegint.h:240
JMETHOD(void, write_file_header,(j_compress_ptr cinfo))
const int jpeg_natural_order[]
Definition: jutils.cpp:48
prepare_for_pass(j_compress_ptr cinfo)
Definition: jcmaster.cpp:424
jround_up(long a, long b)
Definition: jutils.cpp:67
pass_startup(j_compress_ptr cinfo)
Definition: jcmaster.cpp:523
#define MAX_COMPONENTS
Definition: jmorecfg.h:30
JMETHOD(void, prepare_for_output_pass,(j_decompress_ptr cinfo))
Definition: jpegint.h:187
jvirt_barray_ptr * coef_arrays
Definition: jpegint.h:183
write_scan_header(j_compress_ptr cinfo)
Definition: jcmarker.cpp:558
read_markers(j_decompress_ptr cinfo)
Definition: jdmarker.cpp:964
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))
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:96
jinit_phuff_encoder(j_compress_ptr cinfo)
Definition: jcphuff.cpp:844
boolean is_last_pass
Definition: jpegint.h:49
jinit_d_coef_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
Definition: jdcoefct.cpp:723
write_marker_header(j_compress_ptr cinfo, int marker, unsigned int datalen)
Definition: jcmarker.cpp:438
jinit_compress_master(j_compress_ptr cinfo)
Definition: jcinit.cpp:21
jinit_2pass_quantizer(j_decompress_ptr cinfo)
Definition: jquant2.cpp:1328
jinit_c_master_control JPP((j_compress_ptr cinfo, boolean transcode_only))
jinit_huff_encoder(j_compress_ptr cinfo)
Definition: jchuff.cpp:914
JMETHOD(void, start_pass,(j_compress_ptr cinfo, J_BUF_MODE pass_mode))
jinit_color_deconverter(j_decompress_ptr cinfo)
Definition: jdcolor.cpp:299
jinit_memory_mgr(j_common_ptr cinfo)
Definition: jmemmgr.cpp:1050
JMETHOD(void, start_pass,(j_compress_ptr cinfo, J_BUF_MODE pass_mode))
jinit_huff_decoder(j_decompress_ptr cinfo)
Definition: jdhuff.cpp:669
jpeg_component_info JCOEFPTR JSAMPARRAY output_buf
Definition: jidctflt.cpp:36
JMETHOD(void, start_pass,(j_decompress_ptr cinfo, J_BUF_MODE pass_mode))
JMETHOD(void, reset_marker_reader,(j_decompress_ptr cinfo))
JSAMPROW * JSAMPARRAY
Definition: mrpt_jpeglib.h:61
write_tables_only(j_compress_ptr cinfo)
Definition: jcmarker.cpp:630
JCOEF FAR * JCOEFPTR
Definition: mrpt_jpeglib.h:69
boolean saw_SOF
Definition: jpegint.h:214
int val
Definition: mrpt_jpeglib.h:955
GLubyte GLubyte b
Definition: glext.h:6279
write_frame_header(j_compress_ptr cinfo)
Definition: jcmarker.cpp:492
jinit_d_main_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
Definition: jdmainct.cpp:490
reset_marker_reader(j_decompress_ptr cinfo)
Definition: jdmarker.cpp:1256
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:390
jinit_c_prep_controller(j_compress_ptr cinfo, boolean need_full_buffer)
Definition: jcprepct.cpp:318
JMETHOD(void, start_pass,(j_decompress_ptr cinfo, boolean is_pre_scan))
jinit_phuff_decoder(j_decompress_ptr cinfo)
Definition: jdphuff.cpp:674
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:189
start_output_pass(j_decompress_ptr cinfo)
Definition: jdcoefct.cpp:115
finish_input_pass(j_decompress_ptr cinfo)
Definition: jdinput.cpp:268
JSAMPARRAY * JSAMPIMAGE
Definition: mrpt_jpeglib.h:62
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:116
jinit_c_main_controller(j_compress_ptr cinfo, boolean need_full_buffer)
Definition: jcmainct.cpp:259
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:386
jinit_color_converter(j_compress_ptr cinfo)
Definition: jccolor.cpp:354
start_input_pass(j_decompress_ptr cinfo)
Definition: jdcoefct.cpp:104
write_file_trailer(j_compress_ptr cinfo)
Definition: jcmarker.cpp:621
finish_output_pass(j_decompress_ptr cinfo)
Definition: jdmaster.cpp:540
start_pass(j_decompress_ptr cinfo)
Definition: jddctmgr.cpp:77
JMETHOD(int, consume_input,(j_decompress_ptr cinfo))
decode_mcu(j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
Definition: jdhuff.cpp:540
J_BUF_MODE
Definition: jpegint.h:12
JMETHOD(void, start_input_pass,(j_decompress_ptr cinfo))
boolean need_context_rows
Definition: jpegint.h:253
JBLOCK FAR * JBLOCKROW
Definition: mrpt_jpeglib.h:65
write_marker_byte(j_compress_ptr cinfo, int val)
Definition: jcmarker.cpp:450
jinit_c_coef_controller(j_compress_ptr cinfo, boolean need_full_buffer)
Definition: jccoefct.cpp:445
jinit_c_master_control(j_compress_ptr cinfo, boolean transcode_only)
Definition: jcmaster.cpp:574
color_quantize(j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
Definition: jquant1.cpp:470
prepare_for_output_pass(j_decompress_ptr cinfo)
Definition: jdmaster.cpp:466
unsigned int JDIMENSION
Definition: jmorecfg.h:161
JMETHOD(void, start_pass,(j_compress_ptr cinfo))
#define FAR
Definition: zconf.h:262
decompress_data(j_decompress_ptr cinfo, JSAMPIMAGE output_buf)
Definition: jdcoefct.cpp:331
EXTERN(void) jinit_compress_master JPP((j_compress_ptr cinfo))
boolean insufficient_data
Definition: jpegint.h:227
jinit_upsampler(j_decompress_ptr cinfo)
Definition: jdsample.cpp:403
reset_input_controller(j_decompress_ptr cinfo)
Definition: jdinput.cpp:342
jpeg_component_info JCOEFPTR coef_block
Definition: jidctflt.cpp:36
jinit_marker_writer(j_compress_ptr cinfo)
Definition: jcmarker.cpp:659
GLubyte GLubyte GLubyte a
Definition: glext.h:6279
jpeg_marker_parser_method read_restart_marker
Definition: jpegint.h:208
jinit_master_decompress(j_decompress_ptr cinfo)
Definition: jdmaster.cpp:584
jpeg_component_info JCOEFPTR JSAMPARRAY JDIMENSION output_col
Definition: jidctflt.cpp:38
boolean saw_SOI
Definition: jpegint.h:213
boolean need_context_rows
Definition: jpegint.h:99
jpeg_component_info * compptr
Definition: jidctflt.cpp:36
JMETHOD(void, start_pass,(j_decompress_ptr cinfo))



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019