r1053: Add Russian translation.
[cinelerra_cv.git] / cinelerra / fadeengine.h
blob23aa2d784f158cb1479576db4e3a58a759e65447
1 #ifndef FADEENGINE_H
2 #define FADEENGINE_H
4 #include "loadbalance.h"
5 #include "vframe.inc"
8 class FadeEngine;
10 class FadePackage : public LoadPackage
12 public:
13 FadePackage();
15 int out_row1, out_row2;
20 class FadeUnit : public LoadClient
22 public:
23 FadeUnit(FadeEngine *engine);
24 ~FadeUnit();
26 void process_package(LoadPackage *package);
28 FadeEngine *engine;
31 class FadeEngine : public LoadServer
33 public:
34 FadeEngine(int cpus);
35 ~FadeEngine();
37 // the input pointer is never different than the output pointer in any
38 // of the callers
39 void do_fade(VFrame *output, VFrame *input, float alpha);
41 void init_packages();
42 LoadClient* new_client();
43 LoadPackage* new_package();
45 VFrame *output;
46 VFrame *input;
47 float alpha;
52 #endif