shun-iwasawa 82a8f5
/*
shun-iwasawa 82a8f5
 * jdmaster.h
shun-iwasawa 82a8f5
 *
shun-iwasawa 82a8f5
 * This file was part of the Independent JPEG Group's software:
shun-iwasawa 82a8f5
 * Copyright (C) 1991-1995, Thomas G. Lane.
shun-iwasawa 82a8f5
 * For conditions of distribution and use, see the accompanying README.ijg
shun-iwasawa 82a8f5
 * file.
shun-iwasawa 82a8f5
 *
shun-iwasawa 82a8f5
 * This file contains the master control structure for the JPEG decompressor.
shun-iwasawa 82a8f5
 */
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Private state */
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
typedef struct {
shun-iwasawa 82a8f5
  struct jpeg_decomp_master pub; /* public fields */
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
  int pass_number;              /* # of passes completed */
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
  boolean using_merged_upsample; /* TRUE if using merged upsample/cconvert */
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
  /* Saved references to initialized quantizer modules,
shun-iwasawa 82a8f5
   * in case we need to switch modes.
shun-iwasawa 82a8f5
   */
shun-iwasawa 82a8f5
  struct jpeg_color_quantizer *quantizer_1pass;
shun-iwasawa 82a8f5
  struct jpeg_color_quantizer *quantizer_2pass;
shun-iwasawa 82a8f5
} my_decomp_master;
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
typedef my_decomp_master *my_master_ptr;