aboutsummaryrefslogtreecommitdiff
path: root/flowy/src/motion/enc.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-01-24 02:16:03 +0100
committermetamuffin <metamuffin@disroot.org>2024-01-24 02:16:03 +0100
commit330cbef6f1953de3e1cbeb5aed03e951bc101965 (patch)
treefc4566dc27ac3d6487fbfe125166335324fd7d88 /flowy/src/motion/enc.rs
parent754ebf34cbb6280ef77421e1ca54d35d727dc6f7 (diff)
downloadvideo-codec-experiments-330cbef6f1953de3e1cbeb5aed03e951bc101965.tar
video-codec-experiments-330cbef6f1953de3e1cbeb5aed03e951bc101965.tar.bz2
video-codec-experiments-330cbef6f1953de3e1cbeb5aed03e951bc101965.tar.zst
fix it?
Diffstat (limited to 'flowy/src/motion/enc.rs')
-rw-r--r--flowy/src/motion/enc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/flowy/src/motion/enc.rs b/flowy/src/motion/enc.rs
index d3e8a81..1a46aa6 100644
--- a/flowy/src/motion/enc.rs
+++ b/flowy/src/motion/enc.rs
@@ -37,8 +37,8 @@ impl MotionEncoder {
let uniform = EncoderUniform {
block_size: [params.block_width as i32, params.block_height as i32],
output_stride: (params.width / params.block_width) as u32,
- search_radius: 16,
- skip_threshold: 0.1,
+ search_radius: 24,
+ skip_threshold: 1.,
..Default::default()
};