vdr
2.0.4
|
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 |
cFrameParser::cFrameParser | ( | void | ) |
Definition at line 1111 of file remux.c.
References debug, independentFrame, and newFrame.
|
inline |
Definition at line 1108 of file remux.c.
References independentFrame.
Referenced by cFrameDetector::Analyze().
|
inline |
Definition at line 1107 of file remux.c.
References newFrame.
Referenced by cFrameDetector::Analyze().
|
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().
|
inline |
|
protected |
Definition at line 1093 of file remux.c.
Referenced by cFrameParser(), cAudioParser::Parse(), cMpeg2Parser::Parse(), cH264Parser::Parse(), cH264Parser::ParseAccessUnitDelimiter(), cH264Parser::ParseSequenceParameterSet(), cH264Parser::ParseSliceHeader(), and SetDebug().
|
protected |
Definition at line 1095 of file remux.c.
Referenced by cFrameParser(), IndependentFrame(), cAudioParser::Parse(), cMpeg2Parser::Parse(), cH264Parser::Parse(), and cH264Parser::ParseSliceHeader().
|
protected |
Definition at line 1094 of file remux.c.
Referenced by cFrameParser(), NewFrame(), cAudioParser::Parse(), cMpeg2Parser::Parse(), cH264Parser::Parse(), and cH264Parser::ParseSliceHeader().