vdr  2.0.6
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)
 
int IFrameTemporalReferenceOffset (void)
 

Protected Attributes

bool debug
 
bool newFrame
 
bool independentFrame
 
int iFrameTemporalReferenceOffset
 

Detailed Description

Definition at line 1033 of file remux.c.

Constructor & Destructor Documentation

cFrameParser::cFrameParser ( void  )

Definition at line 1055 of file remux.c.

References debug, iFrameTemporalReferenceOffset, independentFrame, and newFrame.

virtual cFrameParser::~cFrameParser ( )
inlinevirtual

Definition at line 1041 of file remux.c.

Member Function Documentation

int cFrameParser::IFrameTemporalReferenceOffset ( void  )
inline

Definition at line 1052 of file remux.c.

References iFrameTemporalReferenceOffset.

Referenced by cFrameDetector::Analyze().

bool cFrameParser::IndependentFrame ( void  )
inline

Definition at line 1051 of file remux.c.

References independentFrame.

Referenced by cFrameDetector::Analyze().

bool cFrameParser::NewFrame ( void  )
inline

Definition at line 1050 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 1049 of file remux.c.

Referenced by cFrameDetector::Analyze().

Member Data Documentation

bool cFrameParser::debug
protected
int cFrameParser::iFrameTemporalReferenceOffset
protected

Definition at line 1038 of file remux.c.

Referenced by cFrameParser(), IFrameTemporalReferenceOffset(), and cMpeg2Parser::Parse().

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

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