vdr 2.6.3
|
Public Member Functions | |
cMpeg2Parser (void) | |
virtual int | Parse (const uchar *Data, int Length, int Pid) |
![]() | |
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) |
uint16_t | FrameWidth (void) |
uint16_t | FrameHeight (void) |
double | FramesPerSecond (void) |
bool | Progressive (void) |
Private Attributes | |
uint32_t | scanner |
bool | seenIndependentFrame |
int | lastIFrameTemporalReference |
bool | seenScanType |
const double | frame_rate_table [9] |
Additional Inherited Members | |
![]() | |
bool | debug |
bool | newFrame |
bool | independentFrame |
int | iFrameTemporalReferenceOffset |
uint16_t | frameWidth |
uint16_t | frameHeight |
double | framesPerSecond |
bool | progressive |
cMpeg2Parser::cMpeg2Parser | ( | void | ) |
Definition at line 1261 of file remux.c.
References EMPTY_SCANNER, lastIFrameTemporalReference, scanner, seenIndependentFrame, and seenScanType.
|
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 1269 of file remux.c.
References cTsPayload::AtPayloadStart(), cTsPayload::AtTsStart(), dbgframes, cFrameParser::debug, dsyslog, EMPTY_SCANNER, cTsPayload::Eof(), cTsPayload::Find(), frame_rate_table, cFrameParser::frameHeight, cFrameParser::framesPerSecond, cFrameParser::frameWidth, cTsPayload::GetByte(), cTsPayload::GetLastIndex(), cFrameParser::iFrameTemporalReferenceOffset, cFrameParser::independentFrame, lastIFrameTemporalReference, cFrameParser::newFrame, cFrameParser::progressive, scanner, seenIndependentFrame, seenScanType, cTsPayload::SkipPesHeader(), cString::sprintf(), cTsPayload::Statistics(), TS_SIZE, TsPayloadStart(), and cTsPayload::Used().
|
private |
|
private |
Definition at line 1243 of file remux.c.
Referenced by cMpeg2Parser(), and Parse().
|
private |
Definition at line 1241 of file remux.c.
Referenced by cMpeg2Parser(), and Parse().
|
private |
Definition at line 1242 of file remux.c.
Referenced by cMpeg2Parser(), and Parse().
|
private |
Definition at line 1244 of file remux.c.
Referenced by cMpeg2Parser(), and Parse().