• Home
  • Raw
  • Download

Lines Matching refs:cinfo

22 LOCAL(void) transdecode_master_selection(j_decompress_ptr cinfo);
48 jpeg_read_coefficients(j_decompress_ptr cinfo) in jpeg_read_coefficients() argument
50 if (cinfo->global_state == DSTATE_READY) { in jpeg_read_coefficients()
52 transdecode_master_selection(cinfo); in jpeg_read_coefficients()
53 cinfo->global_state = DSTATE_RDCOEFS; in jpeg_read_coefficients()
55 if (cinfo->global_state == DSTATE_RDCOEFS) { in jpeg_read_coefficients()
60 if (cinfo->progress != NULL) in jpeg_read_coefficients()
61 (*cinfo->progress->progress_monitor) ((j_common_ptr)cinfo); in jpeg_read_coefficients()
63 retcode = (*cinfo->inputctl->consume_input) (cinfo); in jpeg_read_coefficients()
69 if (cinfo->progress != NULL && in jpeg_read_coefficients()
71 if (++cinfo->progress->pass_counter >= cinfo->progress->pass_limit) { in jpeg_read_coefficients()
73 cinfo->progress->pass_limit += (long)cinfo->total_iMCU_rows; in jpeg_read_coefficients()
78 cinfo->global_state = DSTATE_STOPPING; in jpeg_read_coefficients()
84 if ((cinfo->global_state == DSTATE_STOPPING || in jpeg_read_coefficients()
85 cinfo->global_state == DSTATE_BUFIMAGE) && cinfo->buffered_image) { in jpeg_read_coefficients()
86 return cinfo->coef->coef_arrays; in jpeg_read_coefficients()
89 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_read_coefficients()
100 transdecode_master_selection(j_decompress_ptr cinfo) in transdecode_master_selection() argument
103 cinfo->buffered_image = TRUE; in transdecode_master_selection()
107 jpeg_core_output_dimensions(cinfo); in transdecode_master_selection()
111 if (cinfo->arith_code) { in transdecode_master_selection()
113 jinit_arith_decoder(cinfo); in transdecode_master_selection()
115 ERREXIT(cinfo, JERR_ARITH_NOTIMPL); in transdecode_master_selection()
118 if (cinfo->progressive_mode) { in transdecode_master_selection()
120 jinit_phuff_decoder(cinfo); in transdecode_master_selection()
122 ERREXIT(cinfo, JERR_NOT_COMPILED); in transdecode_master_selection()
125 jinit_huff_decoder(cinfo); in transdecode_master_selection()
129 jinit_d_coef_controller(cinfo, TRUE); in transdecode_master_selection()
132 (*cinfo->mem->realize_virt_arrays) ((j_common_ptr)cinfo); in transdecode_master_selection()
135 (*cinfo->inputctl->start_input_pass) (cinfo); in transdecode_master_selection()
138 if (cinfo->progress != NULL) { in transdecode_master_selection()
141 if (cinfo->progressive_mode) { in transdecode_master_selection()
143 nscans = 2 + 3 * cinfo->num_components; in transdecode_master_selection()
144 } else if (cinfo->inputctl->has_multiple_scans) { in transdecode_master_selection()
146 nscans = cinfo->num_components; in transdecode_master_selection()
150 cinfo->progress->pass_counter = 0L; in transdecode_master_selection()
151 cinfo->progress->pass_limit = (long)cinfo->total_iMCU_rows * nscans; in transdecode_master_selection()
152 cinfo->progress->completed_passes = 0; in transdecode_master_selection()
153 cinfo->progress->total_passes = 1; in transdecode_master_selection()