OSDN Git Service

x264 bump to r1339-82b80ef
[handbrake-jp/handbrake-jp-git.git] / libhb / decomb.c
index fc5e863..d2d13f1 100644 (file)
@@ -18,8 +18,11 @@ Appended for EEDI2:
     Magnitude thresh : Variance thresh : Laplacian thresh : Dilation thresh :
     Erosion thresh : Noise thresh : Max search distance : Post-processing
 
+Plus:
+    Parity
+    
 Defaults:
-    7:2:6:9:80:16:16:10:20:20:4:2:50:24:1
+    7:2:6:9:80:16:16:10:20:20:4:2:50:24:-1
 *****/
 
 #define MODE_YADIF       1 // Use yadif
@@ -1644,7 +1647,7 @@ hb_filter_private_t * hb_decomb_init( int pix_fmt,
 
     if( settings )
     {
-        sscanf( settings, "%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d",
+        sscanf( settings, "%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d",
                 &pv->mode,
                 &pv->spatial_metric,
                 &pv->motion_threshold,
@@ -1659,7 +1662,8 @@ hb_filter_private_t * hb_decomb_init( int pix_fmt,
                 &pv->erosion_threshold,
                 &pv->noise_threshold,
                 &pv->maximum_search_distance,
-                &pv->post_processing );
+                &pv->post_processing,
+                &pv->parity );
     }
     
     pv->cpu_count = hb_get_cpu_count();