1 #ifndef HUESATURATION_H
2 #define HUESATURATION_H
11 #include "../colors/colors.h"
12 #include "huewindow.h"
13 #include "pluginvclient.h"
16 class HueMain
: public PluginVClient
19 HueMain(int argc
, char *argv
[]);
22 // required for all realtime plugins
23 int process_realtime(long size
, VFrame
**input_ptr
, VFrame
**output_ptr
);
24 int plugin_is_realtime();
25 int plugin_is_multi_channel();
36 int save_data(char *text
);
37 int read_data(char *text
);
41 int reconfigure(); // Rebuild tables
45 int automated_function
;
48 // a thread for the GUI
56 class HueEngine
: public Thread
59 HueEngine(HueMain
*plugin
, int start_y
, int end_y
);
62 int start_process_frame(VFrame
**output
, VFrame
**input
, int size
);
63 int wait_process_frame();
70 VFrame
**output
, **input
;
72 Mutex input_lock
, output_lock
;