Valkka
1.6.1
OpenSource Video Management
|
Replicates frame flow to two filters Use this frame filter to create frame filter tree structures. More...
#include <framefilter.h>
Public Member Functions | |
ForkFrameFilter (const char *name, FrameFilter *next=NULL, FrameFilter *next2=NULL) | |
Default constructor. More... | |
void | run (Frame *frame) |
Calls this->go(Frame* frame) and then calls the this->next->run(Frame* frame) (if this->next != NULL) | |
Public Member Functions inherited from FrameFilter | |
FrameFilter (const char *name, FrameFilter *next=NULL) | |
Default constructor. More... | |
virtual | ~FrameFilter () |
Virtual destructor // <pyapi> | |
void | setVoid () |
nullifies the next framefilter in the chain -> cuts the framefilter chain | |
Protected Member Functions | |
void | go (Frame *frame) |
Does the actual filtering/modification to the Frame. Define in subclass. | |
Protected Attributes | |
FrameFilter * | next2 |
Additional Inherited Members | |
Public Attributes inherited from FrameFilter | |
std::string | name |
FrameFilter * | next |
The next frame filter in the chain to be applied. | |
Replicates frame flow to two filters Use this frame filter to create frame filter tree structures.
ForkFrameFilter::ForkFrameFilter | ( | const char * | name, |
FrameFilter * | next = NULL , |
||
FrameFilter * | next2 = NULL |
||
) |
Default constructor.
name | Name of the filter |
next | Next FrameFilter instance in the filter chain |
next2 | Yet another next FrameFilter instance to be applied in the chain |