|
Valkka
1.6.1
OpenSource Video Management
|
Pass frames, but not all of them - only on regular intervals. More...
#include <framefilter.h>


Public Member Functions | |
| TimeIntervalFrameFilter (const char *name, long int mstimedelta, FrameFilter *next=NULL) | |
| 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 | |
| long int | mstimedelta |
| long int | prevmstimestamp |
Additional Inherited Members | |
Public Attributes inherited from FrameFilter | |
| std::string | name |
| FrameFilter * | next |
| The next frame filter in the chain to be applied. | |
Pass frames, but not all of them - only on regular intervals.
This serves for downshifting the fps rate.
Should be used, of course, only for decoded frames..!
| name | A name identifying the frame filter |
| mstimedelta | Time interval in milliseconds |
| next | Next filter in chain |