Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

fadeengine.h

Go to the documentation of this file.
00001 #ifndef FADEENGINE_H
00002 #define FADEENGINE_H
00003 
00004 #include "loadbalance.h"
00005 #include "vframe.inc"
00006 
00007 
00008 class FadeEngine;
00009 
00010 class FadePackage : public LoadPackage
00011 {
00012 public:
00013         FadePackage();
00014 
00015         int out_row1, out_row2;
00016 };
00017 
00018 
00019 
00020 class FadeUnit : public LoadClient
00021 {
00022 public:
00023         FadeUnit(FadeEngine *engine);
00024         ~FadeUnit();
00025         
00026         void process_package(LoadPackage *package);
00027         
00028         FadeEngine *engine;
00029 };
00030 
00031 class FadeEngine : public LoadServer
00032 {
00033 public:
00034         FadeEngine(int cpus);
00035         ~FadeEngine();
00036         
00037         void do_fade(VFrame *output, VFrame *input, float alpha);
00038         
00039         void init_packages();
00040         LoadClient* new_client();
00041         LoadPackage* new_package();
00042         
00043         VFrame *output;
00044         VFrame *input;
00045         float alpha;
00046 };
00047 
00048 
00049 
00050 #endif

Generated on Sun Jan 8 13:38:54 2006 for Cinelerra-svn by  doxygen 1.4.4