summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-03-08 13:11:02 -0700
committerJohn Stebbins <[email protected]>2016-03-11 14:13:33 -0700
commit2fc857d1a2eafcaa3771cc9cbc293a7fcc8076e7 (patch)
tree4820a70357b6c8e28abc2e176bd140a85b7a87b1
parent58dfee860f22add29cd4b3fad598602c5e5a24a8 (diff)
comb-detect: adjust default sensitivity and add "Less Sensitive" preset
-rw-r--r--libhb/param.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/libhb/param.c b/libhb/param.c
index e83d919e5..6b3e0b16f 100644
--- a/libhb/param.c
+++ b/libhb/param.c
@@ -80,17 +80,21 @@ static hb_filter_param_t detelecine_presets[] =
static hb_filter_param_t comb_detect_presets[] =
{
- { 0, "Off", "off", "disable=1" },
- { 1, "Custom", "custom", NULL },
- { 2, "Default", "default",
+ { 0, "Off", "off", "disable=1" },
+ { 1, "Custom", "custom", NULL },
+ { 2, "Default", "default",
+ "mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:"
+ "filter-mode=2:block-thresh=40:block-width=16:block-height=16"
+ },
+ { 3, "Less Sensitive", "permissive",
"mode=3:spatial-metric=2:motion-thresh=3:spatial-thresh=3:"
"filter-mode=2:block-thresh=40:block-width=16:block-height=16"
- },
- { 3, "Fast", "fast",
- "mode=0:spatial-metric=2:motion-thresh=6:spatial-thresh=9:"
+ },
+ { 4, "Fast", "fast",
+ "mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:"
"filter-mode=1:block-thresh=80:block-width=16:block-height=16"
- },
- { 0, NULL, NULL, NULL }
+ },
+ { 0, NULL, NULL, NULL }
};
static hb_filter_param_t decomb_presets[] =