|
vdr 2.6.1
|
Public Member Functions | |
| cH265Parser (void) | |
| virtual int | Parse (const uchar *Data, int Length, int Pid) |
Public Member Functions inherited from cH264Parser | |
| cH264Parser (void) | |
| virtual int | Parse (const uchar *Data, int Length, int Pid) |
Public Member Functions inherited from cFrameParser | |
| 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) |
Private Types | |
| enum | eNalUnitType { nutSliceSegmentTrailingN = 0 , nutSliceSegmentTrailingR = 1 , nutSliceSegmentTSAN = 2 , nutSliceSegmentTSAR = 3 , nutSliceSegmentSTSAN = 4 , nutSliceSegmentSTSAR = 5 , nutSliceSegmentRADLN = 6 , nutSliceSegmentRADLR = 7 , nutSliceSegmentRASLN = 8 , nutSliceSegmentRASLR = 9 , nutSliceSegmentBLAWLP = 16 , nutSliceSegmentBLAWRADL = 17 , nutSliceSegmentBLANLP = 18 , nutSliceSegmentIDRWRADL = 19 , nutSliceSegmentIDRNLP = 20 , nutSliceSegmentCRANUT = 21 , nutVideoParameterSet = 32 , nutSequenceParameterSet = 33 , nutPictureParameterSet = 34 , nutAccessUnitDelimiter = 35 , nutEndOfSequence = 36 , nutEndOfBitstream = 37 , nutFillerData = 38 , nutPrefixSEI = 39 , nutSuffixSEI = 40 , nutNonVCLRes0 = 41 , nutNonVCLRes3 = 44 , nutUnspecified0 = 48 , nutUnspecified7 = 55 } |
Additional Inherited Members | |
Protected Member Functions inherited from cH264Parser | |
| uchar | GetByte (bool Raw=false) |
| uchar | GetBit (void) |
| uint32_t | GetBits (int Bits) |
| uint32_t | GetGolombUe (void) |
| int32_t | GetGolombSe (void) |
| void | ParseAccessUnitDelimiter (void) |
| void | ParseSequenceParameterSet (void) |
| void | ParseSliceHeader (void) |
Protected Attributes inherited from cH264Parser | |
| cTsPayload | tsPayload |
| uint32_t | scanner |
| bool | gotAccessUnitDelimiter |
| bool | gotSequenceParameterSet |
Protected Attributes inherited from cFrameParser | |
| bool | debug |
| bool | newFrame |
| bool | independentFrame |
| int | iFrameTemporalReferenceOffset |
|
private |
|
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.
Reimplemented from cH264Parser.
Definition at line 1619 of file remux.c.
References cTsPayload::AtPayloadStart(), EMPTY_SCANNER, cTsPayload::Eof(), cH264Parser::GetBit(), cH264Parser::GetByte(), cFrameParser::independentFrame, cFrameParser::newFrame, nutSliceSegmentBLAWLP, nutSliceSegmentCRANUT, nutSliceSegmentIDRNLP, nutSliceSegmentIDRWRADL, nutSliceSegmentRASLR, cH264Parser::scanner, cTsPayload::Setup(), cTsPayload::SkipPesHeader(), cTsPayload::Statistics(), cH264Parser::tsPayload, TsPayloadStart(), and cTsPayload::Used().