Home | History | Annotate | Download | only in jpeg

Lines Matching full:global_state

83   cinfo->global_state = DSTATE_START;
246 if (cinfo->global_state != DSTATE_START &&
247 cinfo->global_state != DSTATE_INHEADER)
248 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
293 switch (cinfo->global_state) {
299 cinfo->global_state = DSTATE_INHEADER;
307 cinfo->global_state = DSTATE_READY;
324 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
338 if (cinfo->global_state < DSTATE_START ||
339 cinfo->global_state > DSTATE_STOPPING)
340 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
353 if (cinfo->global_state < DSTATE_READY ||
354 cinfo->global_state > DSTATE_STOPPING)
355 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
372 if ((cinfo->global_state == DSTATE_SCANNING ||
373 cinfo->global_state == DSTATE_RAW_OK) && ! cinfo->buffered_image) {
381 cinfo->global_state = DSTATE_STOPPING;
382 } else if (cinfo->global_state == DSTATE_BUFIMAGE) {
384 cinfo->global_state = DSTATE_STOPPING;
385 } else if (cinfo->global_state != DSTATE_STOPPING) {
387 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
398 /* We can use jpeg_abort to release memory and reset global_state */