4 class BrightnessEngine
;
7 #include "brightnesswindow.h"
8 #include "loadbalance.h"
9 #include "plugincolors.h"
10 #include "pluginvclient.h"
12 class BrightnessConfig
17 int equivalent(BrightnessConfig
&that
);
18 void copy_from(BrightnessConfig
&that
);
19 void interpolate(BrightnessConfig
&prev
,
20 BrightnessConfig
&next
,
23 int64_t current_frame
);
30 class BrightnessMain
: public PluginVClient
33 BrightnessMain(PluginServer
*server
);
36 // required for all realtime plugins
37 int process_realtime(VFrame
*input_ptr
, VFrame
*output_ptr
);
44 int load_configuration();
45 void save_data(KeyFrame
*keyframe
);
46 void read_data(KeyFrame
*keyframe
);
58 BrightnessConfig config
;
59 // a thread for the GUI
60 BrightnessThread
*thread
;
61 BrightnessEngine
*engine
;
66 VFrame
*input
, *output
;
74 class BrightnessPackage
: public LoadPackage
82 class BrightnessUnit
: public LoadClient
85 BrightnessUnit(BrightnessEngine
*server
, BrightnessMain
*plugin
);
88 void process_package(LoadPackage
*package
);
90 BrightnessMain
*plugin
;
93 class BrightnessEngine
: public LoadServer
96 BrightnessEngine(BrightnessMain
*plugin
, int cpus
);
100 LoadClient
* new_client();
101 LoadPackage
* new_package();
103 BrightnessMain
*plugin
;