MCPcopy Create free account
hub / github.com/davisking/dlib / reset_input_controller

Function reset_input_controller

dlib/external/libjpeg/jdinput.c:615–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613 */
614
615METHODDEF(void)
616reset_input_controller (j_decompress_ptr cinfo)
617{
618 my_inputctl_ptr inputctl = (my_inputctl_ptr) cinfo->inputctl;
619
620 inputctl->pub.consume_input = consume_markers;
621 inputctl->pub.has_multiple_scans = FALSE; /* "unknown" would be better */
622 inputctl->pub.eoi_reached = FALSE;
623 inputctl->inheaders = 1;
624 /* Reset other modules */
625 (*cinfo->err->reset_error_mgr) ((j_common_ptr) cinfo);
626 (*cinfo->marker->reset_marker_reader) (cinfo);
627 /* Reset progression state -- would be cleaner if entropy decoder did this */
628 cinfo->coef_bits = NULL;
629}
630
631
632/*

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected