4 * This file was part of the Independent JPEG Group's software:
5 * Copyright (C) 1991-1995, Thomas G. Lane.
6 * libjpeg-turbo Modifications:
7 * Copyright (C) 2016, D. R. Commander.
8 * For conditions of distribution and use, see the accompanying README.ijg
11 * This file contains master control structure for the JPEG compressor.
17 main_pass, /* input data, also do first output step */
18 huff_opt_pass, /* Huffman code optimization pass */
19 output_pass /* data output pass */
23 struct jpeg_comp_master pub; /* public fields */
25 c_pass_type pass_type; /* the type of the current pass */
27 int pass_number; /* # of passes completed */
28 int total_passes; /* total # of passes needed */
30 int scan_number; /* current index in scan_info[] */
33 * This is here so we can add libjpeg-turbo version/build information to the
34 * global string table without introducing a new global symbol. Adding this
35 * information to the global string table allows one to examine a binary
36 * object and determine which version of libjpeg-turbo it was built from or
39 const char *jpeg_version;
43 typedef my_comp_master *my_master_ptr;