4 * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #include "pluginvclient.h"
30 class _720to480Direction;
32 class _720to480Window : public BC_Window
35 _720to480Window(_720to480Main *client, int x, int y);
38 void create_objects();
40 void set_first_field(int first_field);
41 void set_direction(int direction);
43 _720to480Main *client;
44 _720to480Order *odd_first;
45 _720to480Order *even_first;
46 _720to480Direction *forward;
47 _720to480Direction *reverse;
51 class _720to480Order : public BC_Radial
54 _720to480Order(_720to480Main *client,
55 _720to480Window *window,
62 _720to480Main *client;
63 _720to480Window *window;
67 class _720to480Direction : public BC_Radial
70 _720to480Direction(_720to480Main *client,
71 _720to480Window *window,
78 _720to480Main *client;
79 _720to480Window *window;
92 class _720to480Main : public PluginVClient
95 _720to480Main(PluginServer *server);
98 // required for all non realtime plugins
99 const char* plugin_title();
100 int get_parameters();
104 void save_data(KeyFrame *keyframe);
105 void read_data(KeyFrame *keyframe);
108 double get_framerate();
109 int process_loop(VFrame *output);
111 void reduce_field(VFrame *output, VFrame *input, int dest_row);
114 MainProgressBar *progress;
116 _720to480Config config;