#include <MediaSink.hh>
|
| | OutPacketBuffer (unsigned preferredPacketSize, unsigned maxPacketSize, unsigned maxBufferSize=0) |
| |
| | ~OutPacketBuffer () |
| |
| unsigned char * | curPtr () const |
| |
| unsigned | totalBytesAvailable () const |
| |
| unsigned | totalBufferSize () const |
| |
| unsigned char * | packet () const |
| |
| unsigned | curPacketSize () const |
| |
| void | increment (unsigned numBytes) |
| |
| void | enqueue (unsigned char const *from, unsigned numBytes) |
| |
| void | enqueueWord (u_int32_t word) |
| |
| void | insert (unsigned char const *from, unsigned numBytes, unsigned toPosition) |
| |
| void | insertWord (u_int32_t word, unsigned toPosition) |
| |
| void | extract (unsigned char *to, unsigned numBytes, unsigned fromPosition) |
| |
| u_int32_t | extractWord (unsigned fromPosition) |
| |
| void | skipBytes (unsigned numBytes) |
| |
| Boolean | isPreferredSize () const |
| |
| Boolean | wouldOverflow (unsigned numBytes) const |
| |
| unsigned | numOverflowBytes (unsigned numBytes) const |
| |
| Boolean | isTooBigForAPacket (unsigned numBytes) const |
| |
| void | setOverflowData (unsigned overflowDataOffset, unsigned overflowDataSize, struct timeval const &presentationTime, unsigned durationInMicroseconds) |
| |
| unsigned | overflowDataSize () const |
| |
| struct timeval | overflowPresentationTime () const |
| |
| unsigned | overflowDurationInMicroseconds () const |
| |
| Boolean | haveOverflowData () const |
| |
| void | useOverflowData () |
| |
| void | adjustPacketStart (unsigned numBytes) |
| |
| void | resetPacketStart () |
| |
| void | resetOffset () |
| |
| void | resetOverflowData () |
| |
Definition at line 71 of file MediaSink.hh.
| OutPacketBuffer::OutPacketBuffer |
( |
unsigned |
preferredPacketSize, |
|
|
unsigned |
maxPacketSize, |
|
|
unsigned |
maxBufferSize = 0 |
|
) |
| |
| OutPacketBuffer::~OutPacketBuffer |
( |
| ) |
|
| void OutPacketBuffer::adjustPacketStart |
( |
unsigned |
numBytes | ) |
|
| unsigned OutPacketBuffer::curPacketSize |
( |
| ) |
const |
|
inline |
| unsigned char* OutPacketBuffer::curPtr |
( |
| ) |
const |
|
inline |
| void OutPacketBuffer::enqueue |
( |
unsigned char const * |
from, |
|
|
unsigned |
numBytes |
|
) |
| |
| void OutPacketBuffer::enqueueWord |
( |
u_int32_t |
word | ) |
|
| void OutPacketBuffer::extract |
( |
unsigned char * |
to, |
|
|
unsigned |
numBytes, |
|
|
unsigned |
fromPosition |
|
) |
| |
| u_int32_t OutPacketBuffer::extractWord |
( |
unsigned |
fromPosition | ) |
|
| Boolean OutPacketBuffer::haveOverflowData |
( |
| ) |
const |
|
inline |
| static void OutPacketBuffer::increaseMaxSizeTo |
( |
unsigned |
newMaxSize | ) |
|
|
inlinestatic |
| void OutPacketBuffer::increment |
( |
unsigned |
numBytes | ) |
|
|
inline |
| void OutPacketBuffer::insert |
( |
unsigned char const * |
from, |
|
|
unsigned |
numBytes, |
|
|
unsigned |
toPosition |
|
) |
| |
| void OutPacketBuffer::insertWord |
( |
u_int32_t |
word, |
|
|
unsigned |
toPosition |
|
) |
| |
| Boolean OutPacketBuffer::isPreferredSize |
( |
| ) |
const |
|
inline |
| Boolean OutPacketBuffer::isTooBigForAPacket |
( |
unsigned |
numBytes | ) |
const |
|
inline |
| unsigned OutPacketBuffer::numOverflowBytes |
( |
unsigned |
numBytes | ) |
const |
|
inline |
| unsigned OutPacketBuffer::overflowDataSize |
( |
| ) |
const |
|
inline |
| unsigned OutPacketBuffer::overflowDurationInMicroseconds |
( |
| ) |
const |
|
inline |
| struct timeval OutPacketBuffer::overflowPresentationTime |
( |
| ) |
const |
|
inline |
| unsigned char* OutPacketBuffer::packet |
( |
| ) |
const |
|
inline |
| void OutPacketBuffer::resetOffset |
( |
| ) |
|
|
inline |
| void OutPacketBuffer::resetOverflowData |
( |
| ) |
|
|
inline |
| void OutPacketBuffer::resetPacketStart |
( |
| ) |
|
| void OutPacketBuffer::setOverflowData |
( |
unsigned |
overflowDataOffset, |
|
|
unsigned |
overflowDataSize, |
|
|
struct timeval const & |
presentationTime, |
|
|
unsigned |
durationInMicroseconds |
|
) |
| |
| void OutPacketBuffer::skipBytes |
( |
unsigned |
numBytes | ) |
|
| unsigned OutPacketBuffer::totalBufferSize |
( |
| ) |
const |
|
inline |
| unsigned OutPacketBuffer::totalBytesAvailable |
( |
| ) |
const |
|
inline |
| void OutPacketBuffer::useOverflowData |
( |
| ) |
|
| Boolean OutPacketBuffer::wouldOverflow |
( |
unsigned |
numBytes | ) |
const |
|
inline |
| unsigned char* OutPacketBuffer::fBuf |
|
private |
| unsigned OutPacketBuffer::fCurOffset |
|
private |
| unsigned OutPacketBuffer::fLimit |
|
private |
| unsigned OutPacketBuffer::fMax |
|
private |
| unsigned OutPacketBuffer::fOverflowDataOffset |
|
private |
| unsigned OutPacketBuffer::fOverflowDataSize |
|
private |
| unsigned OutPacketBuffer::fOverflowDurationInMicroseconds |
|
private |
| struct timeval OutPacketBuffer::fOverflowPresentationTime |
|
private |
| unsigned OutPacketBuffer::fPacketStart |
|
private |
| unsigned OutPacketBuffer::fPreferred |
|
private |
| unsigned OutPacketBuffer::maxSize |
|
static |
The documentation for this class was generated from the following file: