Valkka  1.6.1
OpenSource Video Management
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RepeatH264ParsFrameFilter Class Reference

For H264, some cameras don't send sps and pps packets again before every keyframe. More...

#include <framefilter.h>

Inheritance diagram for RepeatH264ParsFrameFilter:
Inheritance graph
[legend]
Collaboration diagram for RepeatH264ParsFrameFilter:
Collaboration graph
[legend]

Public Member Functions

 RepeatH264ParsFrameFilter (const char *name, 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

BasicFrame sps
 
BasicFrame pps
 
int phase
 

Additional Inherited Members

- Public Attributes inherited from FrameFilter
std::string name
 
FrameFilternext
 The next frame filter in the chain to be applied.
 

Detailed Description

For H264, some cameras don't send sps and pps packets again before every keyframe.

In that case, this filter sends sps and pps before each keyframe.

WARNING: UNTESTED! // TODO: make tests with dummy H264 packets


The documentation for this class was generated from the following files: