Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / plugins / invertvideo / invert.h
blobf736c4dc123af690478ef5d26d7fed514b6518ad
1 #ifndef FLIP_H
2 #define FLIP_H
4 // the simplest plugin possible
6 class InvertMain;
8 #include "bcbase.h"
9 #include "invertwindow.h"
10 #include "pluginvclient.h"
13 class InvertMain : public PluginVClient
15 public:
16 InvertMain(int argc, char *argv[]);
17 ~InvertMain();
19 // required for all realtime plugins
20 int process_realtime(long size, VFrame **input_ptr, VFrame **output_ptr);
21 int plugin_is_realtime();
22 int plugin_is_multi_channel();
23 char* plugin_title();
24 int start_realtime();
25 int stop_realtime();
26 int start_gui();
27 int stop_gui();
28 int show_gui();
29 int hide_gui();
30 int set_string();
31 int save_data(char *text);
32 int read_data(char *text);
34 // parameters needed for invert
35 int invert;
37 // a thread for the GUI
38 InvertThread *thread;
40 private:
41 // Utilities used by invert.
45 #endif