5 #include "overlayframe.inc"
6 #include "pluginvclient.h"
9 class _1080to480Option
;
11 class _1080to480Window
: public BC_Window
14 _1080to480Window(_1080to480Main
*client
, int x
, int y
);
19 int set_first_field(int first_field
, int send_event
);
21 _1080to480Main
*client
;
22 _1080to480Option
*odd_first
;
23 _1080to480Option
*even_first
;
26 PLUGIN_THREAD_HEADER(_1080to480Main
, _1080to480Thread
, _1080to480Window
);
28 class _1080to480Option
: public BC_Radial
31 _1080to480Option(_1080to480Main
*client
,
32 _1080to480Window
*window
,
39 _1080to480Main
*client
;
40 _1080to480Window
*window
;
44 class _1080to480Config
49 int equivalent(_1080to480Config
&that
);
50 void copy_from(_1080to480Config
&that
);
51 void interpolate(_1080to480Config
&prev
,
52 _1080to480Config
&next
,
60 class _1080to480Main
: public PluginVClient
63 _1080to480Main(PluginServer
*server
);
67 PLUGIN_CLASS_MEMBERS(_1080to480Config
, _1080to480Thread
)
70 // required for all realtime plugins
71 int process_realtime(VFrame
*input
, VFrame
*output
);
75 void save_data(KeyFrame
*keyframe
);
76 void read_data(KeyFrame
*keyframe
);
80 void reduce_field(VFrame
*output
, VFrame
*input
, int src_field
, int dst_field
);