vdr 2.6.3
Public Member Functions | List of all members
cAudioParser Class Reference

Public Member Functions

 cAudioParser (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)
 
uint16_t FrameWidth (void)
 
uint16_t FrameHeight (void)
 
double FramesPerSecond (void)
 
bool Progressive (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
 
bool progressive
 

Detailed Description

Definition at line 1215 of file remux.c.

Constructor & Destructor Documentation

◆ cAudioParser()

cAudioParser::cAudioParser ( void  )

Definition at line 1221 of file remux.c.

Member Function Documentation

◆ Parse()

int cAudioParser::Parse ( const uchar Data,
int  Length,
int  Pid 
)
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 1225 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: