MCPcopy Create free account
hub / github.com/Proryanator/encoder-benchmark / log_special_arguments

Function log_special_arguments

permutor-cli/src/main.rs:53–76  ·  view source on GitHub ↗
(cli: &PermutorCli)

Source from the content-addressed store, hash-verified

51}
52
53fn log_special_arguments(cli: &PermutorCli) {
54 if cli.has_special_options() {
55 println!("\nOptions:");
56 if cli.detect_overload {
57 println!(" -encoding will stop if overload detected");
58 }
59
60 if cli.check_quality {
61 println!(" -calculating vmaf score");
62 }
63
64 if cli.allow_duplicate_scores {
65 println!(" -ignoring whether expected vmaf score will be duplicated");
66 }
67
68 if cli.verbose {
69 println!(" -verbose enabled");
70 }
71
72 if cli.test_run {
73 println!(" -test run, will only run 1 permutation");
74 }
75 }
76}
77
78fn build_nvenc_setting_permutations(
79 engine: &mut PermutationEngine,

Callers 1

mainFunction · 0.85

Calls 1

has_special_optionsMethod · 0.80

Tested by

no test coverage detected