jdmaster.h 894 B

123456789101112131415161718192021222324252627282930313233
  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. /*
  22. * Permit users to replace the IDCT method
  23. */
  24. jpeg_idct_method_selector custom_idct_selector;
  25. } my_decomp_master;
  26. typedef my_decomp_master *my_master_ptr;