Helpful for debugging the new swscale code, since it dumps the operations list in verbose logging mode.
Unified · Split
| @@ -526,6 +526,8 @@ int main(int argc, char **argv) · 525 unmodified lines | |||
| 526 | " Use the specified number of threads\n" | 526 | " Use the specified number of threads\n" |
| 527 | " -cpuflags <cpuflags>\n" | 527 | " -cpuflags <cpuflags>\n" |
| 528 | " Uses the specified cpuflags in the tests\n" | 528 | " Uses the specified cpuflags in the tests\n" |
| 529 | " -v <level>\n" | ||
| 530 | " Enable log verbosity at given level\n" | ||
| 529 | ); | 531 | ); |
| 530 | return 0; | 532 | return 0; |
| 531 | } | 533 | } |
| @@ -573,6 +575,8 @@ int main(int argc, char **argv) · 41 unmodified lines | |||
| 573 | opts.threads = atoi(argv[i + 1]); | 575 | opts.threads = atoi(argv[i + 1]); |
| 574 | } else if (!strcmp(argv[i], "-p")) { | 576 | } else if (!strcmp(argv[i], "-p")) { |
| 575 | opts.prob = atof(argv[i + 1]); | 577 | opts.prob = atof(argv[i + 1]); |
| 578 | } else if (!strcmp(argv[i], "-v")) { | ||
| 579 | av_log_set_level(atoi(argv[i + 1])); | ||
| 576 | } else { | 580 | } else { |
| 577 | bad_option: | 581 | bad_option: |
| 578 | fprintf(stderr, "bad option or argument missing (%s) see -help\n", argv[i]); | 582 | fprintf(stderr, "bad option or argument missing (%s) see -help\n", argv[i]); |