vdr 2.7.6
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)
 
uint16_t FrameWidth (void)
 
uint16_t FrameHeight (void)
 
double FramesPerSecond (void)
 
eScanType ScanType (void)
 
eAspectRatio AspectRatio (void)
 

Protected Attributes

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

Constructor & Destructor Documentation

◆ cFrameParser()

cFrameParser::cFrameParser ( void )

◆ ~cFrameParser()

virtual cFrameParser::~cFrameParser ( )
inlinevirtual

Definition at line 1186 of file remux.c.

Member Function Documentation

◆ AspectRatio()

eAspectRatio cFrameParser::AspectRatio ( void )
inline

Definition at line 1202 of file remux.c.

References aspectRatio.

◆ FrameHeight()

uint16_t cFrameParser::FrameHeight ( void )
inline

Definition at line 1199 of file remux.c.

References frameHeight.

◆ FramesPerSecond()

double cFrameParser::FramesPerSecond ( void )
inline

Definition at line 1200 of file remux.c.

References framesPerSecond.

◆ FrameWidth()

uint16_t cFrameParser::FrameWidth ( void )
inline

Definition at line 1198 of file remux.c.

References frameWidth.

◆ IFrameTemporalReferenceOffset()

int cFrameParser::IFrameTemporalReferenceOffset ( void )
inline

Definition at line 1197 of file remux.c.

References iFrameTemporalReferenceOffset.

◆ IndependentFrame()

bool cFrameParser::IndependentFrame ( void )
inline

Definition at line 1196 of file remux.c.

References independentFrame.

◆ NewFrame()

bool cFrameParser::NewFrame ( void )
inline

Definition at line 1195 of file remux.c.

References newFrame.

◆ 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 cAudioParser, cH264Parser, cH265Parser, and cMpeg2Parser.

◆ ScanType()

eScanType cFrameParser::ScanType ( void )
inline

Definition at line 1201 of file remux.c.

References scanType.

◆ SetDebug()

void cFrameParser::SetDebug ( bool Debug)
inline

Definition at line 1194 of file remux.c.

References debug.

Member Data Documentation

◆ aspectRatio

◆ debug

◆ frameHeight

uint16_t cFrameParser::frameHeight
protected

◆ framesPerSecond

double cFrameParser::framesPerSecond
protected

◆ frameWidth

◆ iFrameTemporalReferenceOffset

int cFrameParser::iFrameTemporalReferenceOffset
protected

Definition at line 1178 of file remux.c.

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

◆ independentFrame

bool cFrameParser::independentFrame
protected

◆ newFrame

bool cFrameParser::newFrame
protected

◆ scanType


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