|
Valkka
1.6.1
OpenSource Video Management
|
The mother class of all frame filters!
FrameFilters are used to create "filter chains".
More...
#include <framefilter.h>


Public Member Functions | |
| FrameFilter (const char *name, FrameFilter *next=NULL) | |
| Default constructor. More... | |
| virtual | ~FrameFilter () |
| Virtual destructor // <pyapi> | |
| virtual void | run (Frame *frame) |
| Calls this->go(Frame* frame) and then calls the this->next->run(Frame* frame) (if this->next != NULL) | |
| void | setVoid () |
| nullifies the next framefilter in the chain -> cuts the framefilter chain | |
Public Attributes | |
| std::string | name |
| FrameFilter * | next |
| The next frame filter in the chain to be applied. | |
Protected Member Functions | |
| virtual void | go (Frame *frame)=0 |
| Does the actual filtering/modification to the Frame. Define in subclass. | |
The mother class of all frame filters!
FrameFilters are used to create "filter chains".
These chains can be used to manipulate the frames, feed them to fifo's, copy them, etc.
| FrameFilter::FrameFilter | ( | const char * | name, |
| FrameFilter * | next = NULL |
||
| ) |
Default constructor.
| name | Name of the filter |
| next | Next FrameFilter instance in the filter chain |