vdr
2.0.7
|
Public Member Functions | |
cMpeg2Parser (void) | |
virtual int | Parse (const uchar *Data, int Length, int Pid) |
![]() | |
cFrameParser (void) | |
virtual | ~cFrameParser () |
void | SetDebug (bool Debug) |
bool | NewFrame (void) |
bool | IndependentFrame (void) |
int | IFrameTemporalReferenceOffset (void) |
Private Attributes | |
uint32_t | scanner |
bool | seenIndependentFrame |
int | lastIFrameTemporalReference |
Additional Inherited Members | |
![]() | |
bool | debug |
bool | newFrame |
bool | independentFrame |
int | iFrameTemporalReferenceOffset |
cMpeg2Parser::cMpeg2Parser | ( | void | ) |
Definition at line 1188 of file remux.c.
References EMPTY_SCANNER, lastIFrameTemporalReference, scanner, and seenIndependentFrame.
|
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.
Implements cFrameParser.
Definition at line 1195 of file remux.c.
References cTsPayload::AtPayloadStart(), cTsPayload::AtTsStart(), dbgframes, cFrameParser::debug, EMPTY_SCANNER, cTsPayload::Eof(), cTsPayload::Find(), cTsPayload::GetByte(), cTsPayload::GetLastIndex(), cFrameParser::iFrameTemporalReferenceOffset, cFrameParser::independentFrame, lastIFrameTemporalReference, cFrameParser::newFrame, scanner, seenIndependentFrame, cTsPayload::SkipPesHeader(), cTsPayload::Statistics(), TS_SIZE, TsPayloadStart(), and cTsPayload::Used().
|
private |
Definition at line 1182 of file remux.c.
Referenced by cMpeg2Parser(), and Parse().
|
private |
Definition at line 1180 of file remux.c.
Referenced by cMpeg2Parser(), and Parse().
|
private |
Definition at line 1181 of file remux.c.
Referenced by cMpeg2Parser(), and Parse().