7 #include "gammawindow.h"
8 #include "loadbalance.h"
9 #include "plugincolors.h"
11 #include "pluginvclient.h"
14 #define HISTOGRAM_SIZE 256
21 int equivalent(GammaConfig
&that
);
22 void copy_from(GammaConfig
&that
);
23 void interpolate(GammaConfig
&prev
,
27 int64_t current_frame
);
36 class GammaPackage
: public LoadPackage
43 class GammaUnit
: public LoadClient
46 GammaUnit(GammaMain
*plugin
);
47 void process_package(LoadPackage
*package
);
49 int accum
[HISTOGRAM_SIZE
];
52 class GammaEngine
: public LoadServer
55 GammaEngine(GammaMain
*plugin
);
57 void process_packages(int operation
, VFrame
*data
);
59 LoadClient
* new_client();
60 LoadPackage
* new_package();
69 int accum
[HISTOGRAM_SIZE
];
72 class GammaMain
: public PluginVClient
75 GammaMain(PluginServer
*server
);
78 // required for all realtime plugins
79 int process_buffer(VFrame
*frame
,
80 int64_t start_position
,
82 void calculate_max(VFrame
*frame
);
85 void save_data(KeyFrame
*keyframe
);
86 void read_data(KeyFrame
*keyframe
);
89 void render_gui(void *data
);
95 PLUGIN_CLASS_MEMBERS(GammaConfig
, GammaThread
)