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
);
37 class DelayVideoSlider
: public BC_TextBox
40 DelayVideoSlider(DelayVideo
*plugin
, int x
, int y
);
49 class DelayVideoWindow
: public BC_Window
52 DelayVideoWindow(DelayVideo
*plugin
, int x
, int y
);
55 void create_objects();
60 DelayVideoSlider
*slider
;
65 class DelayVideoThread
: public Thread
68 DelayVideoThread(DelayVideo
*plugin
);
74 DelayVideoWindow
*window
;
82 class DelayVideo
: public PluginVClient
85 DelayVideo(PluginServer
*server
);
88 int process_realtime(VFrame
*input_ptr
, VFrame
*output_ptr
);
94 void save_data(KeyFrame
*keyframe
);
95 void read_data(KeyFrame
*keyframe
);
102 int load_configuration();
108 int need_reconfigure
;
110 DelayVideoConfig config
;
111 DelayVideoThread
*thread
;
114 VFrame
*input
, *output
;