10 #include "keyframe.inc"
11 #include "loadbalance.h"
12 #include "pluginvclient.h"
13 #include "unsharp.inc"
14 #include "unsharpwindow.inc"
24 int equivalent(UnsharpConfig
&that
);
25 void copy_from(UnsharpConfig
&that
);
26 void interpolate(UnsharpConfig
&prev
,
30 int64_t current_frame
);
39 class UnsharpMain
: public PluginVClient
42 UnsharpMain(PluginServer
*server
);
45 int process_buffer(VFrame
*frame
,
46 int64_t start_position
,
51 void save_data(KeyFrame
*keyframe
);
52 void read_data(KeyFrame
*keyframe
);
55 PLUGIN_CLASS_MEMBERS(UnsharpConfig
, UnsharpThread
)
57 UnsharpEngine
*engine
;
61 class UnsharpPackage
: public LoadPackage
68 class UnsharpUnit
: public LoadClient
71 UnsharpUnit(UnsharpEngine
*server
, UnsharpMain
*plugin
);
74 void process_package(LoadPackage
*package
);
76 UnsharpEngine
*server
;
81 class UnsharpEngine
: public LoadServer
84 UnsharpEngine(UnsharpMain
*plugin
,
89 LoadClient
* new_client();
90 LoadPackage
* new_package();
91 void do_unsharp(VFrame
*src
);