Changeset 846 for trunk/src/3rdparty/libjpeg/jpegint.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/3rdparty/libjpeg/jpegint.h
r2 r846 3 3 * 4 4 * Copyright (C) 1991-1997, Thomas G. Lane. 5 * Modified 1997-2009 by Guido Vollbeding. 5 6 * This file is part of the Independent JPEG Group's software. 6 7 * For conditions of distribution and use, see the accompanying README file. … … 100 101 101 102 /* Forward DCT (also controls coefficient quantization) */ 103 typedef JMETHOD(void, forward_DCT_ptr, 104 (j_compress_ptr cinfo, jpeg_component_info * compptr, 105 JSAMPARRAY sample_data, JBLOCKROW coef_blocks, 106 JDIMENSION start_row, JDIMENSION start_col, 107 JDIMENSION num_blocks)); 108 102 109 struct jpeg_forward_dct { 103 110 JMETHOD(void, start_pass, (j_compress_ptr cinfo)); 104 /* perhaps this should be an array??? */ 105 JMETHOD(void, forward_DCT, (j_compress_ptr cinfo, 106 jpeg_component_info * compptr, 107 JSAMPARRAY sample_data, JBLOCKROW coef_blocks, 108 JDIMENSION start_row, JDIMENSION start_col, 109 JDIMENSION num_blocks)); 111 /* It is useful to allow each component to have a separate FDCT method. */ 112 forward_DCT_ptr forward_DCT[MAX_COMPONENTS]; 110 113 }; 111 114 … … 211 214 JMETHOD(boolean, decode_mcu, (j_decompress_ptr cinfo, 212 215 JBLOCKROW *MCU_data)); 213 214 /* This is here to share code between baseline and progressive decoders; */215 /* other modules probably should not use it */216 boolean insufficient_data; /* set TRUE after emitting warning */217 216 }; 218 217 … … 304 303 #define jinit_forward_dct jIFDCT 305 304 #define jinit_huff_encoder jIHEncoder 306 #define jinit_ phuff_encoder jIPHEncoder305 #define jinit_arith_encoder jIAEncoder 307 306 #define jinit_marker_writer jIMWriter 308 307 #define jinit_master_decompress jIDMaster … … 313 312 #define jinit_marker_reader jIMReader 314 313 #define jinit_huff_decoder jIHDecoder 315 #define jinit_ phuff_decoder jIPHDecoder314 #define jinit_arith_decoder jIADecoder 316 315 #define jinit_inverse_dct jIIDCT 317 316 #define jinit_upsampler jIUpsampler … … 328 327 #define jpeg_zigzag_order jZIGTable 329 328 #define jpeg_natural_order jZAGTable 329 #define jpeg_natural_order7 jZAGTable7 330 #define jpeg_natural_order6 jZAGTable6 331 #define jpeg_natural_order5 jZAGTable5 332 #define jpeg_natural_order4 jZAGTable4 333 #define jpeg_natural_order3 jZAGTable3 334 #define jpeg_natural_order2 jZAGTable2 335 #define jpeg_aritab jAriTab 330 336 #endif /* NEED_SHORT_EXTERNAL_NAMES */ 331 337 … … 345 351 EXTERN(void) jinit_forward_dct JPP((j_compress_ptr cinfo)); 346 352 EXTERN(void) jinit_huff_encoder JPP((j_compress_ptr cinfo)); 347 EXTERN(void) jinit_ phuff_encoder JPP((j_compress_ptr cinfo));353 EXTERN(void) jinit_arith_encoder JPP((j_compress_ptr cinfo)); 348 354 EXTERN(void) jinit_marker_writer JPP((j_compress_ptr cinfo)); 349 355 /* Decompression module initialization routines */ … … 358 364 EXTERN(void) jinit_marker_reader JPP((j_decompress_ptr cinfo)); 359 365 EXTERN(void) jinit_huff_decoder JPP((j_decompress_ptr cinfo)); 360 EXTERN(void) jinit_ phuff_decoder JPP((j_decompress_ptr cinfo));366 EXTERN(void) jinit_arith_decoder JPP((j_decompress_ptr cinfo)); 361 367 EXTERN(void) jinit_inverse_dct JPP((j_decompress_ptr cinfo)); 362 368 EXTERN(void) jinit_upsampler JPP((j_decompress_ptr cinfo)); … … 382 388 #endif 383 389 extern const int jpeg_natural_order[]; /* zigzag coef order to natural order */ 390 extern const int jpeg_natural_order7[]; /* zz to natural order for 7x7 block */ 391 extern const int jpeg_natural_order6[]; /* zz to natural order for 6x6 block */ 392 extern const int jpeg_natural_order5[]; /* zz to natural order for 5x5 block */ 393 extern const int jpeg_natural_order4[]; /* zz to natural order for 4x4 block */ 394 extern const int jpeg_natural_order3[]; /* zz to natural order for 3x3 block */ 395 extern const int jpeg_natural_order2[]; /* zz to natural order for 2x2 block */ 396 397 /* Arithmetic coding probability estimation tables in jaricom.c */ 398 extern const INT32 jpeg_aritab[]; 384 399 385 400 /* Suppress undefined-structure complaints if necessary. */
Note:
See TracChangeset
for help on using the changeset viewer.