9 #include "loadbalance.h"
11 #include "pluginvclient.h"
12 #include "dotwindow.h"
27 return 1 << dot_depth
;
31 class DotPackage
: public LoadPackage
39 class DotServer
: public LoadServer
42 DotServer(DotMain
*plugin
, int total_clients
, int total_packages
);
44 LoadClient
* new_client();
45 LoadPackage
* new_package();
50 class DotClient
: public LoadClient
53 DotClient(DotServer
*server
);
55 void process_package(LoadPackage
*package
);
59 unsigned char **output_rows
,
62 unsigned char RGBtoY(unsigned char *row
, int color_model
);
68 class DotMain
: public PluginVClient
71 DotMain(PluginServer
*server
);
74 // required for all realtime plugins
75 int process_realtime(VFrame
*input_ptr
, VFrame
*output_ptr
);
81 void load_configuration();
82 void save_data(KeyFrame
*keyframe
);
83 void read_data(KeyFrame
*keyframe
);
89 void init_sampxy_table();
92 // a thread for the GUI
94 DotServer
*dot_server
;
95 DotClient
*dot_client
;
99 VFrame
*input_ptr
, *output_ptr
;
106 int need_reconfigure
;