jdmaster.h 788 B

12345678910111213141516171819202122232425262728
  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. /* Private state */
  12. typedef struct {
  13. struct jpeg_decomp_master pub; /* public fields */
  14. int pass_number; /* # of passes completed */
  15. boolean using_merged_upsample; /* TRUE if using merged upsample/cconvert */
  16. /* Saved references to initialized quantizer modules,
  17. * in case we need to switch modes.
  18. */
  19. struct jpeg_color_quantizer *quantizer_1pass;
  20. struct jpeg_color_quantizer *quantizer_2pass;
  21. } my_decomp_master;
  22. typedef my_decomp_master *my_master_ptr;