8 #include "loadbalance.h"
10 #include "pluginvclient.h"
11 #include "blurzoomwindow.h"
12 #include <sys/types.h>
14 #define SCRATCH_MAX 20
17 typedef struct _scratch
32 class BlurZoomPackage
: public LoadPackage
40 class BlurZoomServer
: public LoadServer
43 BlurZoomServer(BlurZoomMain
*plugin
, int total_clients
, int total_packages
);
45 LoadClient
* new_client();
46 LoadPackage
* new_package();
51 class BlurZoomClient
: public LoadClient
54 BlurZoomClient(BlurZoomServer
*server
);
56 void process_package(LoadPackage
*package
);
62 class BlurZoomMain
: public PluginVClient
65 BlurZoomMain(PluginServer
*server
);
68 // required for all realtime plugins
69 int process_realtime(VFrame
*input_ptr
, VFrame
*output_ptr
);
77 void load_configuration();
78 void save_data(KeyFrame
*keyframe
);
79 void read_data(KeyFrame
*keyframe
);
85 // a thread for the GUI
86 BlurZoomThread
*thread
;
87 BlurZoomServer
*blurzoom_server
;
88 BlurZoomClient
*blurzoom_client
;
89 BlurZoomConfig config
;
91 unsigned char *blurzoombuf
;
102 int palette_r
[COLORS
];
103 int palette_g
[COLORS
];
104 int palette_b
[COLORS
];
109 BlurZoomEngine
**engine
;
110 VFrame
*input_ptr
, *output_ptr
;