From a1b59fd5f7ad7d0e50033b2df547c63af20cc29e Mon Sep 17 00:00:00 2001 From: BlueSwordM Date: Thu, 8 Sep 2022 12:33:46 -0400 Subject: [PATCH] Preliminary work on complete next-gen CDEF implementation --- src/bin/common.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/bin/common.rs b/src/bin/common.rs index 8a48dba2ee..c1dde1144b 100644 --- a/src/bin/common.rs +++ b/src/bin/common.rs @@ -174,6 +174,18 @@ pub struct CliOptions { /// Still picture mode #[clap(long, help_heading = "ENCODE SETTINGS")] pub still_picture: bool, + /// Quality tuning for the CDEF strength selection algorithm + /// ssimulacra2 for the highest quality(experimental, can be changed), default for the fastest mode + #[cfg(feature = "unstable")] + #[clap( + long, + value_parser, + hide = true, + default_value_t = default + help_heading = "ENCODE SETTINGS" + )] + pub cdef_tune, + /// Uses grain synthesis to add photon noise to the resulting encode. /// Takes a strength value 0-64. #[cfg(feature = "unstable")]