Home
last modified time | relevance | path

Searched refs:global_state (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium_org/third_party/libjpeg_turbo/
Djdapistd.c43 if (cinfo->global_state == DSTATE_READY) { in jpeg_start_decompress()
48 cinfo->global_state = DSTATE_BUFIMAGE; in jpeg_start_decompress()
51 cinfo->global_state = DSTATE_PRELOAD; in jpeg_start_decompress()
53 if (cinfo->global_state == DSTATE_PRELOAD) { in jpeg_start_decompress()
82 } else if (cinfo->global_state != DSTATE_PRESCAN) in jpeg_start_decompress()
83 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_start_decompress()
100 if (cinfo->global_state != DSTATE_PRESCAN) { in output_pass_setup()
104 cinfo->global_state = DSTATE_PRESCAN; in output_pass_setup()
136 cinfo->global_state = cinfo->raw_data_out ? DSTATE_RAW_OK : DSTATE_SCANNING; in output_pass_setup()
160 if (cinfo->global_state != DSTATE_SCANNING) in jpeg_read_scanlines()
[all …]
Djdapimin.c82 cinfo->global_state = DSTATE_START; in jpeg_CreateDecompress()
245 if (cinfo->global_state != DSTATE_START && in jpeg_read_header()
246 cinfo->global_state != DSTATE_INHEADER) in jpeg_read_header()
247 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_read_header()
292 switch (cinfo->global_state) { in jpeg_consume_input()
298 cinfo->global_state = DSTATE_INHEADER; in jpeg_consume_input()
306 cinfo->global_state = DSTATE_READY; in jpeg_consume_input()
323 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_consume_input()
337 if (cinfo->global_state < DSTATE_START || in jpeg_input_complete()
338 cinfo->global_state > DSTATE_STOPPING) in jpeg_input_complete()
[all …]
Djcapimin.c91 cinfo->global_state = CSTATE_START; in jpeg_CreateCompress()
163 if (cinfo->global_state == CSTATE_SCANNING || in jpeg_finish_compress()
164 cinfo->global_state == CSTATE_RAW_OK) { in jpeg_finish_compress()
169 } else if (cinfo->global_state != CSTATE_WRCOEFS) in jpeg_finish_compress()
170 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_finish_compress()
210 (cinfo->global_state != CSTATE_SCANNING && in jpeg_write_marker()
211 cinfo->global_state != CSTATE_RAW_OK && in jpeg_write_marker()
212 cinfo->global_state != CSTATE_WRCOEFS)) in jpeg_write_marker()
213 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_marker()
229 (cinfo->global_state != CSTATE_SCANNING && in jpeg_write_m_header()
[all …]
Djdtrans.c47 if (cinfo->global_state == DSTATE_READY) { in jpeg_read_coefficients()
50 cinfo->global_state = DSTATE_RDCOEFS; in jpeg_read_coefficients()
52 if (cinfo->global_state == DSTATE_RDCOEFS) { in jpeg_read_coefficients()
75 cinfo->global_state = DSTATE_STOPPING; in jpeg_read_coefficients()
81 if ((cinfo->global_state == DSTATE_STOPPING || in jpeg_read_coefficients()
82 cinfo->global_state == DSTATE_BUFIMAGE) && cinfo->buffered_image) { in jpeg_read_coefficients()
86 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_read_coefficients()
Djcapistd.c40 if (cinfo->global_state != CSTATE_START) in jpeg_start_compress()
41 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_start_compress()
57 cinfo->global_state = (cinfo->raw_data_in ? CSTATE_RAW_OK : CSTATE_SCANNING); in jpeg_start_compress()
82 if (cinfo->global_state != CSTATE_SCANNING) in jpeg_write_scanlines()
83 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_scanlines()
125 if (cinfo->global_state != CSTATE_RAW_OK) in jpeg_write_raw_data()
126 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_raw_data()
Djcomapi.c46 cinfo->global_state = DSTATE_START; in jpeg_abort()
52 cinfo->global_state = CSTATE_START; in jpeg_abort()
76 cinfo->global_state = 0; /* mark it destroyed */ in jpeg_destroy()
/external/qemu/distrib/jpeg-6b/
Djdtrans.c47 if (cinfo->global_state == DSTATE_READY) { in jpeg_read_coefficients()
50 cinfo->global_state = DSTATE_RDCOEFS; in jpeg_read_coefficients()
52 if (cinfo->global_state == DSTATE_RDCOEFS) { in jpeg_read_coefficients()
75 cinfo->global_state = DSTATE_STOPPING; in jpeg_read_coefficients()
81 if ((cinfo->global_state == DSTATE_STOPPING || in jpeg_read_coefficients()
82 cinfo->global_state == DSTATE_BUFIMAGE) && cinfo->buffered_image) { in jpeg_read_coefficients()
86 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_read_coefficients()
94 if (cinfo->global_state == DSTATE_READY) { in jpeg_build_huffman_index_progressive()
98 cinfo->global_state = DSTATE_RDCOEFS; in jpeg_build_huffman_index_progressive()
100 if (cinfo->global_state == DSTATE_RDCOEFS) { in jpeg_build_huffman_index_progressive()
[all …]
Djdapistd.c40 if (cinfo->global_state == DSTATE_READY) { in jpeg_start_decompress()
45 cinfo->global_state = DSTATE_BUFIMAGE; in jpeg_start_decompress()
48 cinfo->global_state = DSTATE_PRELOAD; in jpeg_start_decompress()
50 if (cinfo->global_state == DSTATE_PRELOAD) { in jpeg_start_decompress()
79 } else if (cinfo->global_state != DSTATE_PRESCAN) in jpeg_start_decompress()
80 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_start_decompress()
93 if (cinfo->global_state == DSTATE_READY) { in jpeg_start_tile_decompress()
98 cinfo->global_state = DSTATE_BUFIMAGE; in jpeg_start_tile_decompress()
101 cinfo->global_state = DSTATE_PRELOAD; in jpeg_start_tile_decompress()
103 if (cinfo->global_state == DSTATE_PRELOAD) { in jpeg_start_tile_decompress()
[all …]
Djdapimin.c83 cinfo->global_state = DSTATE_START; in jpeg_CreateDecompress()
246 if (cinfo->global_state != DSTATE_START && in jpeg_read_header()
247 cinfo->global_state != DSTATE_INHEADER) in jpeg_read_header()
248 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_read_header()
293 switch (cinfo->global_state) { in jpeg_consume_input()
299 cinfo->global_state = DSTATE_INHEADER; in jpeg_consume_input()
307 cinfo->global_state = DSTATE_READY; in jpeg_consume_input()
324 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_consume_input()
338 if (cinfo->global_state < DSTATE_START || in jpeg_input_complete()
339 cinfo->global_state > DSTATE_STOPPING) in jpeg_input_complete()
[all …]
Djcapimin.c79 cinfo->global_state = CSTATE_START; in jpeg_CreateCompress()
151 if (cinfo->global_state == CSTATE_SCANNING || in jpeg_finish_compress()
152 cinfo->global_state == CSTATE_RAW_OK) { in jpeg_finish_compress()
157 } else if (cinfo->global_state != CSTATE_WRCOEFS) in jpeg_finish_compress()
158 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_finish_compress()
198 (cinfo->global_state != CSTATE_SCANNING && in jpeg_write_marker()
199 cinfo->global_state != CSTATE_RAW_OK && in jpeg_write_marker()
200 cinfo->global_state != CSTATE_WRCOEFS)) in jpeg_write_marker()
201 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_marker()
217 (cinfo->global_state != CSTATE_SCANNING && in jpeg_write_m_header()
[all …]
Djcapistd.c40 if (cinfo->global_state != CSTATE_START) in jpeg_start_compress()
41 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_start_compress()
57 cinfo->global_state = (cinfo->raw_data_in ? CSTATE_RAW_OK : CSTATE_SCANNING); in jpeg_start_compress()
82 if (cinfo->global_state != CSTATE_SCANNING) in jpeg_write_scanlines()
83 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_scanlines()
125 if (cinfo->global_state != CSTATE_RAW_OK) in jpeg_write_raw_data()
126 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_raw_data()
Djcomapi.c46 cinfo->global_state = DSTATE_START; in jpeg_abort()
52 cinfo->global_state = CSTATE_START; in jpeg_abort()
76 cinfo->global_state = 0; /* mark it destroyed */ in jpeg_destroy()
/external/jpeg/
Djdtrans.c47 if (cinfo->global_state == DSTATE_READY) { in jpeg_read_coefficients()
50 cinfo->global_state = DSTATE_RDCOEFS; in jpeg_read_coefficients()
52 if (cinfo->global_state == DSTATE_RDCOEFS) { in jpeg_read_coefficients()
75 cinfo->global_state = DSTATE_STOPPING; in jpeg_read_coefficients()
81 if ((cinfo->global_state == DSTATE_STOPPING || in jpeg_read_coefficients()
82 cinfo->global_state == DSTATE_BUFIMAGE) && cinfo->buffered_image) { in jpeg_read_coefficients()
86 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_read_coefficients()
94 if (cinfo->global_state == DSTATE_READY) { in jpeg_build_huffman_index_progressive()
98 cinfo->global_state = DSTATE_RDCOEFS; in jpeg_build_huffman_index_progressive()
100 if (cinfo->global_state == DSTATE_RDCOEFS) { in jpeg_build_huffman_index_progressive()
[all …]
Djdapistd.c40 if (cinfo->global_state == DSTATE_READY) { in jpeg_start_decompress()
45 cinfo->global_state = DSTATE_BUFIMAGE; in jpeg_start_decompress()
48 cinfo->global_state = DSTATE_PRELOAD; in jpeg_start_decompress()
50 if (cinfo->global_state == DSTATE_PRELOAD) { in jpeg_start_decompress()
79 } else if (cinfo->global_state != DSTATE_PRESCAN) in jpeg_start_decompress()
80 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_start_decompress()
93 if (cinfo->global_state == DSTATE_READY) { in jpeg_start_tile_decompress()
98 cinfo->global_state = DSTATE_BUFIMAGE; in jpeg_start_tile_decompress()
101 cinfo->global_state = DSTATE_PRELOAD; in jpeg_start_tile_decompress()
103 if (cinfo->global_state == DSTATE_PRELOAD) { in jpeg_start_tile_decompress()
[all …]
Djdapimin.c83 cinfo->global_state = DSTATE_START; in jpeg_CreateDecompress()
246 if (cinfo->global_state != DSTATE_START && in jpeg_read_header()
247 cinfo->global_state != DSTATE_INHEADER) in jpeg_read_header()
248 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_read_header()
293 switch (cinfo->global_state) { in jpeg_consume_input()
299 cinfo->global_state = DSTATE_INHEADER; in jpeg_consume_input()
307 cinfo->global_state = DSTATE_READY; in jpeg_consume_input()
324 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_consume_input()
338 if (cinfo->global_state < DSTATE_START || in jpeg_input_complete()
339 cinfo->global_state > DSTATE_STOPPING) in jpeg_input_complete()
[all …]
Djcapimin.c79 cinfo->global_state = CSTATE_START; in jpeg_CreateCompress()
151 if (cinfo->global_state == CSTATE_SCANNING || in jpeg_finish_compress()
152 cinfo->global_state == CSTATE_RAW_OK) { in jpeg_finish_compress()
157 } else if (cinfo->global_state != CSTATE_WRCOEFS) in jpeg_finish_compress()
158 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_finish_compress()
198 (cinfo->global_state != CSTATE_SCANNING && in jpeg_write_marker()
199 cinfo->global_state != CSTATE_RAW_OK && in jpeg_write_marker()
200 cinfo->global_state != CSTATE_WRCOEFS)) in jpeg_write_marker()
201 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_marker()
217 (cinfo->global_state != CSTATE_SCANNING && in jpeg_write_m_header()
[all …]
Djcapistd.c40 if (cinfo->global_state != CSTATE_START) in jpeg_start_compress()
41 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_start_compress()
57 cinfo->global_state = (cinfo->raw_data_in ? CSTATE_RAW_OK : CSTATE_SCANNING); in jpeg_start_compress()
82 if (cinfo->global_state != CSTATE_SCANNING) in jpeg_write_scanlines()
83 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_scanlines()
125 if (cinfo->global_state != CSTATE_RAW_OK) in jpeg_write_raw_data()
126 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_raw_data()
Djcomapi.c46 cinfo->global_state = DSTATE_START; in jpeg_abort()
52 cinfo->global_state = CSTATE_START; in jpeg_abort()
76 cinfo->global_state = 0; /* mark it destroyed */ in jpeg_destroy()
Djcparam.c37 if (cinfo->global_state != CSTATE_START) in jpeg_add_quant_table()
38 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_add_quant_table()
273 if (cinfo->global_state != CSTATE_START) in jpeg_set_defaults()
274 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_set_defaults()
406 if (cinfo->global_state != CSTATE_START) in jpeg_set_colorspace()
407 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_set_colorspace()
544 if (cinfo->global_state != CSTATE_START) in jpeg_simple_progression()
545 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_simple_progression()
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jdapistd.c41 if (cinfo->global_state == DSTATE_READY) { in jpeg_start_decompress()
46 cinfo->global_state = DSTATE_BUFIMAGE; in jpeg_start_decompress()
49 cinfo->global_state = DSTATE_PRELOAD; in jpeg_start_decompress()
51 if (cinfo->global_state == DSTATE_PRELOAD) { in jpeg_start_decompress()
80 } else if (cinfo->global_state != DSTATE_PRESCAN) in jpeg_start_decompress()
81 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_start_decompress()
98 if (cinfo->global_state != DSTATE_PRESCAN) { in output_pass_setup()
102 cinfo->global_state = DSTATE_PRESCAN; in output_pass_setup()
134 cinfo->global_state = cinfo->raw_data_out ? DSTATE_RAW_OK : DSTATE_SCANNING; in output_pass_setup()
158 if (cinfo->global_state != DSTATE_SCANNING) in jpeg_read_scanlines()
[all …]
Dfpdfapi_jdapimin.c83 cinfo->global_state = DSTATE_START; in jpeg_CreateDecompress()
246 if (cinfo->global_state != DSTATE_START && in jpeg_read_header()
247 cinfo->global_state != DSTATE_INHEADER) in jpeg_read_header()
248 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_read_header()
293 switch (cinfo->global_state) { in jpeg_consume_input()
299 cinfo->global_state = DSTATE_INHEADER; in jpeg_consume_input()
307 cinfo->global_state = DSTATE_READY; in jpeg_consume_input()
324 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_consume_input()
338 if (cinfo->global_state < DSTATE_START || in jpeg_input_complete()
339 cinfo->global_state > DSTATE_STOPPING) in jpeg_input_complete()
[all …]
Dfpdfapi_jcapimin.c80 cinfo->global_state = CSTATE_START; in jpeg_CreateCompress()
152 if (cinfo->global_state == CSTATE_SCANNING || in jpeg_finish_compress()
153 cinfo->global_state == CSTATE_RAW_OK) { in jpeg_finish_compress()
158 } else if (cinfo->global_state != CSTATE_WRCOEFS) in jpeg_finish_compress()
159 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_finish_compress()
199 (cinfo->global_state != CSTATE_SCANNING && in jpeg_write_marker()
200 cinfo->global_state != CSTATE_RAW_OK && in jpeg_write_marker()
201 cinfo->global_state != CSTATE_WRCOEFS)) in jpeg_write_marker()
202 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_marker()
218 (cinfo->global_state != CSTATE_SCANNING && in jpeg_write_m_header()
[all …]
Dfpdfapi_jdtrans.c48 if (cinfo->global_state == DSTATE_READY) { in jpeg_read_coefficients()
51 cinfo->global_state = DSTATE_RDCOEFS; in jpeg_read_coefficients()
53 if (cinfo->global_state == DSTATE_RDCOEFS) { in jpeg_read_coefficients()
76 cinfo->global_state = DSTATE_STOPPING; in jpeg_read_coefficients()
82 if ((cinfo->global_state == DSTATE_STOPPING || in jpeg_read_coefficients()
83 cinfo->global_state == DSTATE_BUFIMAGE) && cinfo->buffered_image) { in jpeg_read_coefficients()
87 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_read_coefficients()
Dfpdfapi_jcapistd.c41 if (cinfo->global_state != CSTATE_START) in jpeg_start_compress()
42 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_start_compress()
58 cinfo->global_state = (cinfo->raw_data_in ? CSTATE_RAW_OK : CSTATE_SCANNING); in jpeg_start_compress()
83 if (cinfo->global_state != CSTATE_SCANNING) in jpeg_write_scanlines()
84 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_scanlines()
126 if (cinfo->global_state != CSTATE_RAW_OK) in jpeg_write_raw_data()
127 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state); in jpeg_write_raw_data()
Dfpdfapi_jcomapi.c47 cinfo->global_state = DSTATE_START; in jpeg_abort()
53 cinfo->global_state = CSTATE_START; in jpeg_abort()
77 cinfo->global_state = 0; /* mark it destroyed */ in jpeg_destroy()

12