X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=libhb%2Fdecomb.c;h=d2d13f1b086cb127766b390be5ed2a3d0e6a4d0b;hb=033e32de9c380f54c7d1362a3979da205ebc3a29;hp=fc5e863b8650a8b21c4971cfe361b8840cb9209e;hpb=557e0bd0824130e82068cf76735caf958e5956b4;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/libhb/decomb.c b/libhb/decomb.c index fc5e863b..d2d13f1b 100644 --- a/libhb/decomb.c +++ b/libhb/decomb.c @@ -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();