vdr
2.2.0
|
#include <ringbuffer.h>
Public Member Functions | |
cFrame (const uchar *Data, int Count, eFrameType=ftUnknown, int Index=-1, uint32_t Pts=0) | |
~cFrame () | |
uchar * | Data (void) const |
int | Count (void) const |
eFrameType | Type (void) const |
int | Index (void) const |
uint32_t | Pts (void) const |
Private Attributes | |
cFrame * | next |
uchar * | data |
int | count |
eFrameType | type |
int | index |
uint32_t | pts |
Friends | |
class | cRingBufferFrame |
Definition at line 107 of file ringbuffer.h.
cFrame::cFrame | ( | const uchar * | Data, |
int | Count, | ||
eFrameType | Type = ftUnknown , |
||
int | Index = -1 , |
||
uint32_t | Pts = 0 |
||
) |
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 393 of file ringbuffer.c.
References count, Count(), data, Data(), esyslog, index, Index(), MALLOC, next, pts, Pts(), type, and Type().
cFrame::~cFrame | ( | ) |
Definition at line 411 of file ringbuffer.c.
References data.
|
inline |
Definition at line 123 of file ringbuffer.h.
References count.
Referenced by cDvbPlayer::Action(), cFrame(), cRingBufferFrame::Delete(), and cRingBufferFrame::Put().
|
inline |
Definition at line 122 of file ringbuffer.h.
References data.
Referenced by cDvbPlayer::Action(), and cFrame().
|
inline |
Definition at line 125 of file ringbuffer.h.
References index.
Referenced by cDvbPlayer::Action(), and cFrame().
|
inline |
Definition at line 126 of file ringbuffer.h.
References pts.
Referenced by cDvbPlayer::Action(), and cFrame().
|
inline |
|
friend |
Definition at line 108 of file ringbuffer.h.
|
private |
Definition at line 112 of file ringbuffer.h.
|
private |
Definition at line 111 of file ringbuffer.h.
|
private |
Definition at line 114 of file ringbuffer.h.
|
private |
Definition at line 110 of file ringbuffer.h.
Referenced by cFrame(), cRingBufferFrame::Drop(), cRingBufferFrame::Get(), and cRingBufferFrame::Put().
|
private |
Definition at line 115 of file ringbuffer.h.
|
private |
Definition at line 113 of file ringbuffer.h.