File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ struct F3KDB final : Filter {
4848 Param {" random_algo_grain" , Integer},
4949 Param {" random_param_ref" , Float},
5050 Param {" random_param_grain" , Float},
51- Param {" preset" , String}
51+ Param {" preset" , String},
52+ Param {" mt" , Boolean},
53+ Param {" opt" , Integer}
5254 };
5355 }
5456 void Initialize (InDelegator* in, DSVideoInfo in_vi, FetchFrameFunctor* fetch_frame) override
@@ -97,10 +99,13 @@ struct F3KDB final : Filter {
9799 in->Read (" random_param_ref" , ep.random_param_ref );
98100 in->Read (" random_param_grain" , ep.random_param_grain );
99101
102+ int opt_in = -1 ;
103+ in->Read (" opt" , opt_in);
104+
100105 OPTIMIZATION_MODE opt = IMPL_C;
101106 int CPUFlags = GetCPUFlags ();
102107
103- if (CPUFlags & CPUF_SSE4_1)
108+ if (( CPUFlags & CPUF_SSE4_1) && (opt_in > 0 || opt_in < 0 ) )
104109 opt = IMPL_SSE4;
105110
106111 #define INVALID_PARAM_IF (cond ) \
You can’t perform that action at this time.
0 commit comments