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