-class ReframeRT;
-class ReframeRTWindow;
-
-class ReframeRTConfig
-{
-public:
- ReframeRTConfig();
- void boundaries();
- int equivalent(ReframeRTConfig &src);
- void copy_from(ReframeRTConfig &src);
- void interpolate(ReframeRTConfig &prev,
- ReframeRTConfig &next,
- int64_t prev_frame,
- int64_t next_frame,
- int64_t current_frame);
-// was scale
- double num;
- double denom;
- int stretch;
- int interp;
- int optic_flow;
-};
-
-
-class ReframeRTNum : public BC_TumbleTextBox
-{
-public:
- ReframeRTNum(ReframeRT *plugin,
- ReframeRTWindow *gui,
- int x,
- int y);
- int handle_event();
- ReframeRT *plugin;
-};
-
-class ReframeRTDenom : public BC_TumbleTextBox
-{
-public:
- ReframeRTDenom(ReframeRT *plugin,
- ReframeRTWindow *gui,
- int x,
- int y);
- int handle_event();
- ReframeRT *plugin;
-};
-
-class ReframeRTStretch : public BC_Radial
-{
-public:
- ReframeRTStretch(ReframeRT *plugin,
- ReframeRTWindow *gui,
- int x,
- int y);
- int handle_event();
- ReframeRT *plugin;
- ReframeRTWindow *gui;
-};
-
-class ReframeRTDownsample : public BC_Radial
-{
-public:
- ReframeRTDownsample(ReframeRT *plugin,
- ReframeRTWindow *gui,
- int x,
- int y);
- int handle_event();
- ReframeRT *plugin;
- ReframeRTWindow *gui;
-};
-
-class ReframeRTInterpolate : public BC_CheckBox
-{
-public:
- ReframeRTInterpolate(ReframeRT *plugin,
- ReframeRTWindow *gui,
- int x,
- int y);
- int handle_event();
- ReframeRT *plugin;
- ReframeRTWindow *gui;
-};
-
-class ReframeRTWindow : public PluginClientWindow
-{
-public:
- ReframeRTWindow(ReframeRT *plugin);
- ~ReframeRTWindow();
- void create_objects();
- ReframeRT *plugin;
- ReframeRTNum *num;
- ReframeRTDenom *denom;
- ReframeRTStretch *stretch;
- ReframeRTDownsample *downsample;
- ReframeRTInterpolate *interpolate;
-};
-
-
-class ReframeRT : public PluginVClient
-{
-public:
- ReframeRT(PluginServer *server);
- ~ReframeRT();
-
- PLUGIN_CLASS_MEMBERS(ReframeRTConfig)
-
- void save_data(KeyFrame *keyframe);
- void read_data(KeyFrame *keyframe);
- void update_gui();
- int is_realtime();
- int is_synthesis();
- int process_buffer(VFrame *frame,
- int64_t start_position,
- double frame_rate);
-};
-
-
-
-