5 class DenoiseVideoWindow
;
7 #include "bcdisplayinfo.h"
9 #include "pluginvclient.h"
14 class DenoiseVideoConfig
19 int equivalent(DenoiseVideoConfig
&that
);
20 void copy_from(DenoiseVideoConfig
&that
);
21 void interpolate(DenoiseVideoConfig
&prev
,
22 DenoiseVideoConfig
&next
,
29 int do_r
, do_g
, do_b
, do_a
;
35 class DenoiseVideoFrames
: public BC_ISlider
38 DenoiseVideoFrames(DenoiseVideo
*plugin
, int x
, int y
);
44 class DenoiseVideoThreshold
: public BC_TextBox
47 DenoiseVideoThreshold(DenoiseVideo
*plugin
, int x
, int y
);
52 class DenoiseVideoToggle
: public BC_CheckBox
55 DenoiseVideoToggle(DenoiseVideo
*plugin
,
56 DenoiseVideoWindow
*gui
,
67 class DenoiseVideoWindow
: public BC_Window
70 DenoiseVideoWindow(DenoiseVideo
*plugin
, int x
, int y
);
72 void create_objects();
76 DenoiseVideoFrames
*frames
;
77 DenoiseVideoThreshold
*threshold
;
78 DenoiseVideoToggle
*do_r
, *do_g
, *do_b
, *do_a
;
82 PLUGIN_THREAD_HEADER(DenoiseVideo
, DenoiseVideoThread
, DenoiseVideoWindow
)
84 class DenoiseVideo
: public PluginVClient
87 DenoiseVideo(PluginServer
*server
);
90 int process_realtime(VFrame
*input
, VFrame
*output
);
95 int load_configuration();
99 void save_data(KeyFrame
*keyframe
);
100 void read_data(KeyFrame
*keyframe
);
105 DenoiseVideoThread
*thread
;
106 DenoiseVideoConfig config
;