vdr  2.2.0
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 1155 of file remux.c.

Constructor & Destructor Documentation

cFrameParser::cFrameParser ( void  )

Definition at line 1177 of file remux.c.

virtual cFrameParser::~cFrameParser ( )
inlinevirtual

Definition at line 1163 of file remux.c.

Member Function Documentation

int cFrameParser::IFrameTemporalReferenceOffset ( void  )
inline

Definition at line 1174 of file remux.c.

bool cFrameParser::IndependentFrame ( void  )
inline

Definition at line 1173 of file remux.c.

bool cFrameParser::NewFrame ( void  )
inline

Definition at line 1172 of file remux.c.

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.

void cFrameParser::SetDebug ( bool  Debug)
inline

Definition at line 1171 of file remux.c.

Member Data Documentation

bool cFrameParser::debug
protected

Definition at line 1157 of file remux.c.

int cFrameParser::iFrameTemporalReferenceOffset
protected

Definition at line 1160 of file remux.c.

bool cFrameParser::independentFrame
protected

Definition at line 1159 of file remux.c.

bool cFrameParser::newFrame
protected

Definition at line 1158 of file remux.c.


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