aboutsummaryrefslogtreecommitdiff
path: root/evc/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'evc/src/bin')
-rw-r--r--evc/src/bin/encode.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/evc/src/bin/encode.rs b/evc/src/bin/encode.rs
index 6f3f0a7..fe03023 100644
--- a/evc/src/bin/encode.rs
+++ b/evc/src/bin/encode.rs
@@ -26,6 +26,9 @@ pub struct EncodeArgs {
#[arg(short, long, default_value = "8")]
jobs: usize,
+ #[arg(short, long, default_value = "8")]
+ min_block_size: isize,
+
#[arg(short = 't', long, default_value = "100")]
ref_thres: f64,
#[arg(short = 'T', long)]
@@ -43,7 +46,7 @@ fn main() -> anyhow::Result<()> {
mode: args.mode,
ref_thres: args.ref_thres,
max_diff_area: 10_000,
- min_block_size: 8,
+ min_block_size: args.min_block_size,
max_threads: args.jobs,
};