vdr  2.2.0
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 ()
 
void SetDebug (bool Debug)
 
bool NewFrame (void)
 
bool IndependentFrame (void)
 
int IFrameTemporalReferenceOffset (void)
 

Additional Inherited Members

- Protected Attributes inherited from cFrameParser
bool debug
 
bool newFrame
 
bool independentFrame
 
int iFrameTemporalReferenceOffset
 

Detailed Description

Definition at line 1187 of file remux.c.

Constructor & Destructor Documentation

cAudioParser::cAudioParser ( void  )

Definition at line 1193 of file remux.c.

Member Function Documentation

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

References dbgframes, TS_SIZE, and TsPayloadStart().


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