vdr 2.6.8
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 1171 of file remux.c.

Constructor & Destructor Documentation

◆ cFrameParser()

cFrameParser::cFrameParser ( void )

◆ ~cFrameParser()

virtual cFrameParser::~cFrameParser ( )
inlinevirtual

Definition at line 1184 of file remux.c.

Member Function Documentation

◆ AspectRatio()

eAspectRatio cFrameParser::AspectRatio ( void )
inline

Definition at line 1200 of file remux.c.

References aspectRatio.

Referenced by cFrameDetector::Analyze().

◆ FrameHeight()

uint16_t cFrameParser::FrameHeight ( void )
inline

Definition at line 1197 of file remux.c.

References frameHeight.

Referenced by cFrameDetector::Analyze().

◆ FramesPerSecond()

double cFrameParser::FramesPerSecond ( void )
inline

Definition at line 1198 of file remux.c.

References framesPerSecond.

Referenced by cFrameDetector::Analyze().

◆ FrameWidth()

uint16_t cFrameParser::FrameWidth ( void )
inline

Definition at line 1196 of file remux.c.

References frameWidth.

Referenced by cFrameDetector::Analyze().

◆ IFrameTemporalReferenceOffset()

int cFrameParser::IFrameTemporalReferenceOffset ( void )
inline

Definition at line 1195 of file remux.c.

References iFrameTemporalReferenceOffset.

Referenced by cFrameDetector::Analyze().

◆ IndependentFrame()

bool cFrameParser::IndependentFrame ( void )
inline

Definition at line 1194 of file remux.c.

References independentFrame.

Referenced by cFrameDetector::Analyze().

◆ NewFrame()

bool cFrameParser::NewFrame ( void )
inline

Definition at line 1193 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 cAudioParser, cH264Parser, cH265Parser, and cMpeg2Parser.

Referenced by cFrameDetector::Analyze().

◆ ScanType()

eScanType cFrameParser::ScanType ( void )
inline

Definition at line 1199 of file remux.c.

References scanType.

Referenced by cFrameDetector::Analyze().

◆ SetDebug()

void cFrameParser::SetDebug ( bool Debug)
inline

Definition at line 1192 of file remux.c.

References debug.

Referenced by cFrameDetector::Analyze().

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 1176 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: