14#ifdef NEED_SIGNAL_CATCHER
30#ifdef NEED_SIGNAL_CATCHER
35signal_catcher (
int signum)
37 if (sig_cinfo !=
NULL) {
38 if (sig_cinfo->err !=
NULL)
39 sig_cinfo->err->trace_level = 0;
71 int total_passes =
prog->pub.total_passes +
prog->total_extra_passes;
72 int percent_done = (
int) (
prog->pub.pass_counter*100L/
prog->pub.pass_limit);
74 if (percent_done !=
prog->percent_done) {
75 prog->percent_done = percent_done;
76 if (total_passes > 1) {
78 prog->pub.completed_passes +
prog->completed_extra_passes + 1,
79 total_passes, percent_done);
92 if (cinfo->err->trace_level == 0) {
106 if (cinfo->err->trace_level == 0) {
125 register int nmatched = 0;
127 while ((
ca = *
arg++) !=
'\0') {
keymatch(char *arg, const char *keyword, int minchars)
struct cdjpeg_progress_mgr * cd_progress_ptr
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_opt_ _CRTIMP int __cdecl fflush(_Inout_opt_ FILE *_File)
_Check_return_ _CRTIMP FILE *__cdecl fdopen(_In_ int _FileHandle, _In_z_ const char *_Format)
jpeg_destroy(j_common_ptr cinfo)
struct jpeg_progress_mgr pub
int completed_extra_passes