8 #include "loadbalance.h"
10 #include "pluginvclient.h"
11 #include "agingwindow.h"
12 #include <sys/types.h>
14 #define SCRATCH_MAX 20
17 typedef struct _scratch
32 scratch_t scratches
[SCRATCH_MAX
];
51 class AgingPackage
: public LoadPackage
59 class AgingServer
: public LoadServer
62 AgingServer(AgingMain
*plugin
, int total_clients
, int total_packages
);
64 LoadClient
* new_client();
65 LoadPackage
* new_package();
70 class AgingClient
: public LoadClient
73 AgingClient(AgingServer
*server
);
75 void coloraging(unsigned char **output_ptr
,
76 unsigned char **input_ptr
,
80 void scratching(unsigned char **output_ptr
,
84 void pits(unsigned char **output_ptr
,
88 void dusts(unsigned char **output_ptr
,
92 void process_package(LoadPackage
*package
);
98 class AgingMain
: public PluginVClient
101 AgingMain(PluginServer
*server
);
104 // required for all realtime plugins
105 int process_realtime(VFrame
*input_ptr
, VFrame
*output_ptr
);
107 char* plugin_title();
111 void load_configuration();
112 void save_data(KeyFrame
*keyframe
);
113 void read_data(KeyFrame
*keyframe
);
119 // a thread for the GUI
121 AgingServer
*aging_server
;
122 AgingClient
*aging_client
;
126 AgingEngine
**engine
;
127 VFrame
*input_ptr
, *output_ptr
;