Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/3rdparty/libjpeg/jpegint.h

    r2 r846  
    33 *
    44 * Copyright (C) 1991-1997, Thomas G. Lane.
     5 * Modified 1997-2009 by Guido Vollbeding.
    56 * This file is part of the Independent JPEG Group's software.
    67 * For conditions of distribution and use, see the accompanying README file.
     
    100101
    101102/* Forward DCT (also controls coefficient quantization) */
     103typedef 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
    102109struct jpeg_forward_dct {
    103110  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];
    110113};
    111114
     
    211214  JMETHOD(boolean, decode_mcu, (j_decompress_ptr cinfo,
    212215                                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 */
    217216};
    218217
     
    304303#define jinit_forward_dct       jIFDCT
    305304#define jinit_huff_encoder      jIHEncoder
    306 #define jinit_phuff_encoder     jIPHEncoder
     305#define jinit_arith_encoder     jIAEncoder
    307306#define jinit_marker_writer     jIMWriter
    308307#define jinit_master_decompress jIDMaster
     
    313312#define jinit_marker_reader     jIMReader
    314313#define jinit_huff_decoder      jIHDecoder
    315 #define jinit_phuff_decoder     jIPHDecoder
     314#define jinit_arith_decoder     jIADecoder
    316315#define jinit_inverse_dct       jIIDCT
    317316#define jinit_upsampler         jIUpsampler
     
    328327#define jpeg_zigzag_order       jZIGTable
    329328#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
    330336#endif /* NEED_SHORT_EXTERNAL_NAMES */
    331337
     
    345351EXTERN(void) jinit_forward_dct JPP((j_compress_ptr cinfo));
    346352EXTERN(void) jinit_huff_encoder JPP((j_compress_ptr cinfo));
    347 EXTERN(void) jinit_phuff_encoder JPP((j_compress_ptr cinfo));
     353EXTERN(void) jinit_arith_encoder JPP((j_compress_ptr cinfo));
    348354EXTERN(void) jinit_marker_writer JPP((j_compress_ptr cinfo));
    349355/* Decompression module initialization routines */
     
    358364EXTERN(void) jinit_marker_reader JPP((j_decompress_ptr cinfo));
    359365EXTERN(void) jinit_huff_decoder JPP((j_decompress_ptr cinfo));
    360 EXTERN(void) jinit_phuff_decoder JPP((j_decompress_ptr cinfo));
     366EXTERN(void) jinit_arith_decoder JPP((j_decompress_ptr cinfo));
    361367EXTERN(void) jinit_inverse_dct JPP((j_decompress_ptr cinfo));
    362368EXTERN(void) jinit_upsampler JPP((j_decompress_ptr cinfo));
     
    382388#endif
    383389extern const int jpeg_natural_order[]; /* zigzag coef order to natural order */
     390extern const int jpeg_natural_order7[]; /* zz to natural order for 7x7 block */
     391extern const int jpeg_natural_order6[]; /* zz to natural order for 6x6 block */
     392extern const int jpeg_natural_order5[]; /* zz to natural order for 5x5 block */
     393extern const int jpeg_natural_order4[]; /* zz to natural order for 4x4 block */
     394extern const int jpeg_natural_order3[]; /* zz to natural order for 3x3 block */
     395extern const int jpeg_natural_order2[]; /* zz to natural order for 2x2 block */
     396
     397/* Arithmetic coding probability estimation tables in jaricom.c */
     398extern const INT32 jpeg_aritab[];
    384399
    385400/* Suppress undefined-structure complaints if necessary. */
Note: See TracChangeset for help on using the changeset viewer.