no longer need ffmpeg patch0 which was for Termux
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / irissquare / irissquare.h
1
2 /*
3  * CINELERRA
4  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
5  *
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.
10  *
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.
15  *
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
19  *
20  */
21
22 #ifndef IRISSQUARE_H
23 #define IRISSQUARE_H
24
25 class IrisSquareMain;
26 class IrisSquareWindow;
27
28
29 #include "overlayframe.inc"
30 #include "pluginvclient.h"
31 #include "vframe.inc"
32
33
34
35
36 class IrisSquareIn : public BC_Radial
37 {
38 public:
39         IrisSquareIn(IrisSquareMain *plugin,
40                 IrisSquareWindow *window,
41                 int x,
42                 int y);
43         int handle_event();
44         IrisSquareMain *plugin;
45         IrisSquareWindow *window;
46 };
47
48 class IrisSquareOut : public BC_Radial
49 {
50 public:
51         IrisSquareOut(IrisSquareMain *plugin,
52                 IrisSquareWindow *window,
53                 int x,
54                 int y);
55         int handle_event();
56         IrisSquareMain *plugin;
57         IrisSquareWindow *window;
58 };
59
60
61
62
63 class IrisSquareWindow : public PluginClientWindow
64 {
65 public:
66         IrisSquareWindow(IrisSquareMain *plugin);
67         void create_objects();
68         IrisSquareMain *plugin;
69         IrisSquareIn *in;
70         IrisSquareOut *out;
71 };
72
73
74
75
76 class IrisSquareMain : public PluginVClient
77 {
78 public:
79         IrisSquareMain(PluginServer *server);
80         ~IrisSquareMain();
81
82 // required for all realtime plugins
83         int process_realtime(VFrame *incoming, VFrame *outgoing);
84         PluginClientWindow* new_window();
85         int load_configuration();
86         void save_data(KeyFrame *keyframe);
87         void read_data(KeyFrame *keyframe);
88         int uses_gui();
89         int is_transition();
90         int is_video();
91         const char* plugin_title();
92
93         int direction;
94 };
95
96 #endif