vdr  2.0.4
Public Member Functions | Protected Attributes | List of all members
cFrameParser Class Referenceabstract

Public Member Functions

 cFrameParser (void)
 
virtual ~cFrameParser ()
 
virtual int Parse (const uchar *Data, int Length, int Pid)=0
 
void SetDebug (bool Debug)
 
bool NewFrame (void)
 
bool IndependentFrame (void)
 

Protected Attributes

bool debug
 
bool newFrame
 
bool independentFrame
 

Detailed Description

Definition at line 1091 of file remux.c.

Constructor & Destructor Documentation

cFrameParser::cFrameParser ( void  )

Definition at line 1111 of file remux.c.

References debug, independentFrame, and newFrame.

virtual cFrameParser::~cFrameParser ( )
inlinevirtual

Definition at line 1098 of file remux.c.

Member Function Documentation

bool cFrameParser::IndependentFrame ( void  )
inline

Definition at line 1108 of file remux.c.

References independentFrame.

Referenced by cFrameDetector::Analyze().

bool cFrameParser::NewFrame ( void  )
inline

Definition at line 1107 of file remux.c.

References newFrame.

Referenced by cFrameDetector::Analyze().

virtual int cFrameParser::Parse ( const uchar Data,
int  Length,
int  Pid 
)
pure virtual

Parses the given Data, which is a sequence of Length bytes of TS packets.

The payload in the TS packets with the given Pid is searched for just enough information to determine the beginning and type of the next video frame. Returns the number of bytes parsed. Upon return, the functions NewFrame() and IndependentFrame() can be called to retrieve the required information.

Implemented in cH264Parser, cMpeg2Parser, and cAudioParser.

Referenced by cFrameDetector::Analyze().

void cFrameParser::SetDebug ( bool  Debug)
inline

Definition at line 1106 of file remux.c.

References debug.

Referenced by cFrameDetector::Analyze().

Member Data Documentation

bool cFrameParser::debug
protected
bool cFrameParser::independentFrame
protected
bool cFrameParser::newFrame
protected

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