vdr  2.4.1
Public Member Functions | Protected Attributes | List of all members
cFrameParser Class Referenceabstract

Public Member Functions

 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)
 

Protected Attributes

bool debug
 
bool newFrame
 
bool independentFrame
 
int iFrameTemporalReferenceOffset
 

Detailed Description

Definition at line 1207 of file remux.c.

Constructor & Destructor Documentation

◆ cFrameParser()

cFrameParser::cFrameParser ( void  )

Definition at line 1229 of file remux.c.

References debug, iFrameTemporalReferenceOffset, independentFrame, and newFrame.

◆ ~cFrameParser()

virtual cFrameParser::~cFrameParser ( )
inlinevirtual

Definition at line 1215 of file remux.c.

Member Function Documentation

◆ IFrameTemporalReferenceOffset()

int cFrameParser::IFrameTemporalReferenceOffset ( void  )
inline

Definition at line 1226 of file remux.c.

References iFrameTemporalReferenceOffset.

Referenced by cFrameDetector::Analyze().

◆ IndependentFrame()

bool cFrameParser::IndependentFrame ( void  )
inline

Definition at line 1225 of file remux.c.

References independentFrame.

Referenced by cFrameDetector::Analyze().

◆ NewFrame()

bool cFrameParser::NewFrame ( void  )
inline

Definition at line 1224 of file remux.c.

References newFrame.

Referenced by cFrameDetector::Analyze().

◆ Parse()

virtual int cFrameParser::Parse ( const uchar Data,
int  Length,
int  Pid 
)
pure 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.

Implemented in cH265Parser, cH264Parser, cMpeg2Parser, and cAudioParser.

Referenced by cFrameDetector::Analyze().

◆ SetDebug()

void cFrameParser::SetDebug ( bool  Debug)
inline

Definition at line 1223 of file remux.c.

References debug.

Referenced by cFrameDetector::Analyze().

Member Data Documentation

◆ debug

bool cFrameParser::debug
protected

◆ iFrameTemporalReferenceOffset

int cFrameParser::iFrameTemporalReferenceOffset
protected

Definition at line 1212 of file remux.c.

Referenced by cFrameParser(), IFrameTemporalReferenceOffset(), and cMpeg2Parser::Parse().

◆ independentFrame

bool cFrameParser::independentFrame
protected

◆ newFrame

bool cFrameParser::newFrame
protected

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