vdr 2.7.7
|
#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 () | |
uchar * | Data (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 | |
cFrame * | next |
uchar * | data |
int | count |
eFrameType | type |
int | index |
uint32_t | pts |
bool | independent |
Friends | |
class | cRingBufferFrame |
Definition at line 109 of file ringbuffer.h.
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::~cFrame | ( | ) |
Definition at line 413 of file ringbuffer.c.
References data.
|
inline |
Definition at line 126 of file ringbuffer.h.
References count.
Referenced by cFrame(), cRingBufferFrame::Delete(), and cRingBufferFrame::Put().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 110 of file ringbuffer.h.
References cRingBufferFrame.
Referenced by cRingBufferFrame.
|
private |
Definition at line 114 of file ringbuffer.h.
|
private |
Definition at line 113 of file ringbuffer.h.
|
private |
Definition at line 118 of file ringbuffer.h.
Referenced by cFrame(), and Independent().
|
private |
Definition at line 116 of file ringbuffer.h.
|
private |
Definition at line 112 of file ringbuffer.h.
Referenced by cFrame(), cRingBufferFrame::Drop(), and cRingBufferFrame::Put().
|
private |
Definition at line 117 of file ringbuffer.h.
|
private |
Definition at line 115 of file ringbuffer.h.