r1007: Make configure detect and work on amd64.
[cinelerra_cv/mob.git] / plugins / flip / flip.h
blobde14fc1f7947af14205e8266315c359d04774168
1 #ifndef FLIP_H
2 #define FLIP_H
5 class FlipMain;
7 #include "filexml.h"
8 #include "flipwindow.h"
9 #include "guicast.h"
10 #include "pluginvclient.h"
12 class FlipConfig
14 public:
15 FlipConfig();
16 void copy_from(FlipConfig &that);
17 int equivalent(FlipConfig &that);
18 void interpolate(FlipConfig &prev,
19 FlipConfig &next,
20 long prev_frame,
21 long next_frame,
22 long current_frame);
23 int flip_horizontal;
24 int flip_vertical;
27 class FlipMain : public PluginVClient
29 public:
30 FlipMain(PluginServer *server);
31 ~FlipMain();
33 PLUGIN_CLASS_MEMBERS(FlipConfig, FlipThread);
35 // required for all realtime plugins
36 int process_buffer(VFrame *frame,
37 int64_t start_position,
38 double frame_rate);
39 int is_realtime();
40 void update_gui();
41 void save_data(KeyFrame *keyframe);
42 void read_data(KeyFrame *keyframe);
43 int load_defaults();
44 int save_defaults();
45 int handle_opengl();
49 #endif