13 #define JPEG_INTERNALS 57 if (cinfo->progress != NULL)
58 (*cinfo->progress->progress_monitor) ((
j_common_ptr) cinfo);
60 retcode = (*cinfo->inputctl->consume_input) (cinfo);
66 if (cinfo->progress != NULL &&
68 if (++cinfo->progress->pass_counter >= cinfo->progress->pass_limit) {
70 cinfo->progress->pass_limit += (long) cinfo->total_iMCU_rows;
83 return cinfo->coef->coef_arrays;
86 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
100 cinfo->buffered_image =
TRUE;
103 if (cinfo->arith_code) {
104 ERREXIT(cinfo, JERR_ARITH_NOTIMPL);
106 if (cinfo->progressive_mode) {
107 #ifdef D_PROGRESSIVE_SUPPORTED 110 ERREXIT(cinfo, JERR_NOT_COMPILED);
120 (*cinfo->mem->realize_virt_arrays) ((
j_common_ptr) cinfo);
123 (*cinfo->inputctl->start_input_pass) (cinfo);
126 if (cinfo->progress != NULL) {
129 if (cinfo->progressive_mode) {
131 nscans = 2 + 3 * cinfo->num_components;
132 }
else if (cinfo->inputctl->has_multiple_scans) {
134 nscans = cinfo->num_components;
138 cinfo->progress->pass_counter = 0L;
139 cinfo->progress->pass_limit = (long) cinfo->total_iMCU_rows * nscans;
140 cinfo->progress->completed_passes = 0;
141 cinfo->progress->total_passes = 1;
transdecode_master_selection(j_decompress_ptr cinfo)
jinit_d_coef_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
#define ERREXIT(cinfo, code)
#define JPEG_ROW_COMPLETED
jinit_phuff_decoder(j_decompress_ptr cinfo)
#define ERREXIT1(cinfo, code, p1)
jinit_huff_decoder(j_decompress_ptr cinfo)