Home | History | Annotate | Download | only in libjpeg-turbo
      1 /*
      2  * jdmaster.h
      3  *
      4  * This file was part of the Independent JPEG Group's software:
      5  * Copyright (C) 1991-1995, Thomas G. Lane.
      6  * For conditions of distribution and use, see the accompanying README.ijg
      7  * file.
      8  *
      9  * This file contains the master control structure for the JPEG decompressor.
     10  */
     11 
     12 /* Private state */
     13 
     14 typedef struct {
     15   struct jpeg_decomp_master pub; /* public fields */
     16 
     17   int pass_number;              /* # of passes completed */
     18 
     19   boolean using_merged_upsample; /* TRUE if using merged upsample/cconvert */
     20 
     21   /* Saved references to initialized quantizer modules,
     22    * in case we need to switch modes.
     23    */
     24   struct jpeg_color_quantizer *quantizer_1pass;
     25   struct jpeg_color_quantizer *quantizer_2pass;
     26 } my_decomp_master;
     27 
     28 typedef my_decomp_master *my_master_ptr;
     29