Home | History | Annotate | Download | only in libtests

Lines Matching refs:opts

321 print_opts(png_uint_32 opts)
323 if (opts & READ_FILE)
325 if (opts & USE_STDIO)
327 if (opts & STRICT)
329 if (opts & VERBOSE)
331 if (opts & KEEP_TMPFILES)
333 if (opts & KEEP_GOING)
335 if (opts & ACCUMULATE)
337 if (!(opts & FAST_WRITE)) /* --fast is currently the default */
339 if (opts & sRGB_16BIT)
551 png_uint_32 opts;
616 if (image->tmpfile_name[0] != 0 && (image->opts & KEEP_TMPFILES) == 0)
626 static void initimage(Image *image, png_uint_32 opts, const char *file_name,
631 image->opts = opts;
744 else if (image->image.warning_or_error != 0 && (image->opts & STRICT) != 0)
2203 result->accumulate = (in_image->opts & ACCUMULATE) != 0;
2819 if ((a->opts & ACCUMULATE) == 0)
2831 if ((a->opts & ACCUMULATE) == 0)
2847 if (a->opts & ACCUMULATE)
2863 else if ((a->opts & ACCUMULATE) == 0)
3036 if (!cmppixel(&tr, psa, psb, x, y) && (a->opts & KEEP_GOING) == 0)
3042 if (a->opts & ACCUMULATE)
3090 if (image->opts & sRGB_16BIT)
3103 if (image->opts & VERBOSE)
3154 * image->opts to choose the method. The file is always read in its native
3160 if (!(image->opts & READ_FILE) || (image->opts & USE_STDIO))
3167 if (image->opts & READ_FILE)
3230 if (image->opts & FAST_WRITE)
3233 if (image->opts & USE_STDIO)
3245 initimage(output, image->opts, "tmpfile", image->stride_extra);
3276 initimage(output, image->opts, output->tmpfile_name,
3318 testimage(Image *image, png_uint_32 opts, format_list *pf)
3327 copy.opts = opts;
3392 copy.opts = opts; /* in case read_file needs to change it */
3408 output.opts = opts;
3425 output.opts = opts;
3456 test_one_file(const char *file_name, format_list *formats, png_uint_32 opts,
3463 initimage(&image, opts, file_name, stride_extra);
3466 result = testimage(&image, opts, formats);
3484 print_opts(opts);
3499 png_uint_32 opts = FAST_WRITE;
3527 opts |= READ_FILE;
3532 opts &= ~READ_FILE;
3535 opts |= USE_STDIO;
3540 opts &= ~USE_STDIO;
3542 opts |= VERBOSE;
3544 opts &= ~VERBOSE;
3546 opts |= KEEP_TMPFILES;
3548 opts &= ~KEEP_TMPFILES;
3550 opts |= KEEP_GOING;
3552 opts |= FAST_WRITE;
3554 opts &= ~FAST_WRITE;
3556 opts |= ACCUMULATE;
3560 opts &= ~KEEP_GOING;
3562 opts |= STRICT;
3564 opts |= sRGB_16BIT;
3566 opts &= ~sRGB_16BIT;
3645 if (ich > 0 && !test_one_file(buffer, &formats, opts,
3670 else if (!test_one_file(arg, &formats, opts, stride_extra, log_pass))
3675 if (opts & ACCUMULATE)