6 #include "defaults.inc"
9 #include "pluginvclient.h"
20 class DelayVideoConfig
25 int equivalent(DelayVideoConfig
&that
);
26 void copy_from(DelayVideoConfig
&that
);
27 void interpolate(DelayVideoConfig
&prev
,
28 DelayVideoConfig
&next
,
31 int64_t current_frame
);
33 // kjb - match defined update() type of float instead of double.
38 class DelayVideoSlider
: public BC_TextBox
41 DelayVideoSlider(DelayVideo
*plugin
, int x
, int y
);
50 class DelayVideoWindow
: public BC_Window
53 DelayVideoWindow(DelayVideo
*plugin
, int x
, int y
);
56 void create_objects();
61 DelayVideoSlider
*slider
;
65 PLUGIN_THREAD_HEADER(DelayVideo
, DelayVideoThread
, DelayVideoWindow
)
70 class DelayVideo
: public PluginVClient
73 DelayVideo(PluginServer
*server
);
76 int process_realtime(VFrame
*input_ptr
, VFrame
*output_ptr
);
82 void save_data(KeyFrame
*keyframe
);
83 void read_data(KeyFrame
*keyframe
);
90 int load_configuration();
98 DelayVideoConfig config
;
99 DelayVideoThread
*thread
;
102 VFrame
*input
, *output
;