vdr 2.7.5
cAudioParser Class Reference

Public Member Functions

 cAudioParser (void)
virtual int Parse (const uchar *Data, int Length, int Pid) override
Public Member Functions inherited from cFrameParser
 cFrameParser (void)
virtual ~cFrameParser ()
void SetDebug (bool Debug)
bool NewFrame (void)
bool IndependentFrame (void)
int IFrameTemporalReferenceOffset (void)
uint16_t FrameWidth (void)
uint16_t FrameHeight (void)
double FramesPerSecond (void)
eScanType ScanType (void)
eAspectRatio AspectRatio (void)

Additional Inherited Members

Protected Attributes inherited from cFrameParser
bool debug
bool newFrame
bool independentFrame
int iFrameTemporalReferenceOffset
uint16_t frameWidth
uint16_t frameHeight
double framesPerSecond
eScanType scanType
eAspectRatio aspectRatio

Detailed Description

Definition at line 1220 of file remux.c.

Constructor & Destructor Documentation

◆ cAudioParser()

cAudioParser::cAudioParser ( void )

Definition at line 1226 of file remux.c.

Member Function Documentation

◆ Parse()

int cAudioParser::Parse ( const uchar * Data,
int Length,
int Pid )
overridevirtual

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 1230 of file remux.c.

References dbgframes, cFrameParser::debug, cFrameParser::independentFrame, cFrameParser::newFrame, TS_SIZE, and TsPayloadStart().


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