9 #include "holowindow.h"
10 #include "loadbalance.h"
12 #include "plugincolors.inc"
13 #include "pluginvclient.h"
25 double recycle
; // Number of seconds between recycles
28 class HoloPackage
: public LoadPackage
36 class HoloServer
: public LoadServer
39 HoloServer(HoloMain
*plugin
, int total_clients
, int total_packages
);
41 LoadClient
* new_client();
42 LoadPackage
* new_package();
47 class HoloClient
: public LoadClient
50 HoloClient(HoloServer
*server
);
52 void process_package(LoadPackage
*package
);
59 class HoloMain
: public PluginVClient
62 HoloMain(PluginServer
*server
);
65 // required for all realtime plugins
66 int process_realtime(VFrame
*input_ptr
, VFrame
*output_ptr
);
72 void load_configuration();
73 void save_data(KeyFrame
*keyframe
);
74 void read_data(KeyFrame
*keyframe
);
82 void add_frames(VFrame
*output
, VFrame
*input
);
83 void set_background();
85 // a thread for the GUI
87 HoloServer
*holo_server
;
91 VFrame
*input_ptr
, *output_ptr
;
95 unsigned int noisepattern
[256];
96 VFrame
*bgimage
, *tmp
;