vdr 2.6.1
Public Member Functions | Private Attributes | Friends | List of all members
cFrame Class Reference

#include <ringbuffer.h>

Public Member Functions

 cFrame (const uchar *Data, int Count, eFrameType=ftUnknown, int Index=-1, uint32_t Pts=0, bool independent=false)
 
 ~cFrame ()
 
ucharData (void) const
 
int Count (void) const
 
eFrameType Type (void) const
 
int Index (void) const
 
uint32_t Pts (void) const
 
bool Independent (void) const
 
 cFrame (const uchar *Data, int Count, eFrameType=ftUnknown, int Index=-1, uint32_t Pts=0, bool independent=false)
 
 ~cFrame ()
 
ucharData (void) const
 
int Count (void) const
 
eFrameType Type (void) const
 
int Index (void) const
 
uint32_t Pts (void) const
 
bool Independent (void) const
 

Private Attributes

cFramenext
 
uchardata
 
int count
 
eFrameType type
 
int index
 
uint32_t pts
 
bool independent
 

Friends

class cRingBufferFrame
 

Detailed Description

Definition at line 109 of file include/vdr/ringbuffer.h.

Constructor & Destructor Documentation

◆ cFrame() [1/2]

cFrame::cFrame ( const uchar Data,
int  Count,
eFrameType  Type = ftUnknown,
int  Index = -1,
uint32_t  Pts = 0,
bool  independent = false 
)

Creates a new cFrame object.

If Count is negative, the cFrame object will take ownership of the given Data. Otherwise it will allocate Count bytes of memory and copy Data.

Definition at line 394 of file ringbuffer.c.

References count, Count(), data, Data(), esyslog, ftAudio, independent, Independent(), index, Index(), MALLOC, next, pts, Pts(), type, and Type().

◆ ~cFrame() [1/2]

cFrame::~cFrame ( )

Definition at line 413 of file ringbuffer.c.

References data.

◆ cFrame() [2/2]

cFrame::cFrame ( const uchar Data,
int  Count,
eFrameType  = ftUnknown,
int  Index = -1,
uint32_t  Pts = 0,
bool  independent = false 
)

Creates a new cFrame object.

If Count is negative, the cFrame object will take ownership of the given Data. Otherwise it will allocate Count bytes of memory and copy Data.

◆ ~cFrame() [2/2]

cFrame::~cFrame ( )

Member Function Documentation

◆ Count() [1/2]

int cFrame::Count ( void  ) const
inline

◆ Count() [2/2]

int cFrame::Count ( void  ) const
inline

Definition at line 126 of file ringbuffer.h.

References count.

◆ Data() [1/2]

uchar * cFrame::Data ( void  ) const
inline

Definition at line 125 of file include/vdr/ringbuffer.h.

References data.

Referenced by cDvbPlayer::Action(), and cFrame().

◆ Data() [2/2]

uchar * cFrame::Data ( void  ) const
inline

Definition at line 125 of file ringbuffer.h.

References data.

◆ Independent() [1/2]

bool cFrame::Independent ( void  ) const
inline

Definition at line 130 of file include/vdr/ringbuffer.h.

References independent.

Referenced by cDvbPlayer::Action(), and cFrame().

◆ Independent() [2/2]

bool cFrame::Independent ( void  ) const
inline

Definition at line 130 of file ringbuffer.h.

References independent.

◆ Index() [1/2]

int cFrame::Index ( void  ) const
inline

Definition at line 128 of file include/vdr/ringbuffer.h.

References index.

Referenced by cDvbPlayer::Action(), and cFrame().

◆ Index() [2/2]

int cFrame::Index ( void  ) const
inline

Definition at line 128 of file ringbuffer.h.

References index.

◆ Pts() [1/2]

uint32_t cFrame::Pts ( void  ) const
inline

Definition at line 129 of file include/vdr/ringbuffer.h.

References pts.

Referenced by cDvbPlayer::Action(), and cFrame().

◆ Pts() [2/2]

uint32_t cFrame::Pts ( void  ) const
inline

Definition at line 129 of file ringbuffer.h.

References pts.

◆ Type() [1/2]

eFrameType cFrame::Type ( void  ) const
inline

Definition at line 127 of file include/vdr/ringbuffer.h.

References type.

Referenced by cFrame().

◆ Type() [2/2]

eFrameType cFrame::Type ( void  ) const
inline

Definition at line 127 of file ringbuffer.h.

References type.

Friends And Related Function Documentation

◆ cRingBufferFrame

Definition at line 110 of file include/vdr/ringbuffer.h.

Member Data Documentation

◆ count

int cFrame::count
private

Definition at line 114 of file include/vdr/ringbuffer.h.

Referenced by cFrame(), and Count().

◆ data

uchar * cFrame::data
private

Definition at line 113 of file include/vdr/ringbuffer.h.

Referenced by cFrame(), Data(), and ~cFrame().

◆ independent

bool cFrame::independent
private

Definition at line 118 of file include/vdr/ringbuffer.h.

Referenced by cFrame(), and Independent().

◆ index

int cFrame::index
private

Definition at line 116 of file include/vdr/ringbuffer.h.

Referenced by cFrame(), and Index().

◆ next

cFrame * cFrame::next
private

◆ pts

uint32_t cFrame::pts
private

Definition at line 117 of file include/vdr/ringbuffer.h.

Referenced by cFrame(), and Pts().

◆ type

eFrameType cFrame::type
private

Definition at line 115 of file include/vdr/ringbuffer.h.

Referenced by cFrame(), and Type().


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