Public Member Functions | Protected Member Functions

QStreamer::QMediaBuffer Class Reference

#include <qmediabuffer.h>

List of all members.

Public Member Functions

 QMediaBuffer (quint64 size, quint32 type='unkn')
 QMediaBuffer (quint8 *buffer, quint64 size, quint32 type='unkn')
virtual void reference ()
virtual void release ()
bool isValid () const
quint32 type () const
quint64 size () const
quint64 length () const
void setLength (quint64 length)
const quint8 * data () const
quint8 * bufferStart ()
const quint8 * bufferStart () const
bool clipHead (quint64 count)
bool clipTail (quint64 count)
quint64 adjustedSize () const
quint64 spaceRemaining () const
void resetHead ()
QVariant property (quint32 type) const
void setProperty (quint32 type, const QVariant &value)
void clearProperties ()

Protected Member Functions

virtual ~QMediaBuffer ()
virtual void bufferReleased ()
virtual void scheduleDelete ()

Constructor & Destructor Documentation

QStreamer::QMediaBuffer::QMediaBuffer ( quint64  size,
quint32  type = 'unkn' 
) [inline]
QStreamer::QMediaBuffer::QMediaBuffer ( quint8 *  buffer,
quint64  size,
quint32  type = 'unkn' 
) [inline]
QStreamer::QMediaBuffer::~QMediaBuffer (  ) [inline, protected, virtual]

Member Function Documentation

quint64 QStreamer::QMediaBuffer::adjustedSize (  ) const [inline]
void QStreamer::QMediaBuffer::bufferReleased (  ) [inline, protected, virtual]
const quint8 * QStreamer::QMediaBuffer::bufferStart (  ) const [inline]
quint8 * QStreamer::QMediaBuffer::bufferStart (  ) [inline]
void QStreamer::QMediaBuffer::clearProperties (  ) [inline]
bool QStreamer::QMediaBuffer::clipHead ( quint64  count ) [inline]
bool QStreamer::QMediaBuffer::clipTail ( quint64  count ) [inline]
const quint8 * QStreamer::QMediaBuffer::data (  ) const [inline]
bool QStreamer::QMediaBuffer::isValid (  ) const [inline]
quint64 QStreamer::QMediaBuffer::length (  ) const [inline]
QVariant QStreamer::QMediaBuffer::property ( quint32  type ) const [inline]
void QStreamer::QMediaBuffer::reference (  ) [inline, virtual]
void QStreamer::QMediaBuffer::release (  ) [inline, virtual]
void QStreamer::QMediaBuffer::resetHead (  ) [inline]
void QStreamer::QMediaBuffer::scheduleDelete (  ) [inline, protected, virtual]
void QStreamer::QMediaBuffer::setLength ( quint64  length ) [inline]
void QStreamer::QMediaBuffer::setProperty ( quint32  type,
const QVariant &  value 
) [inline]
quint64 QStreamer::QMediaBuffer::size (  ) const [inline]
quint64 QStreamer::QMediaBuffer::spaceRemaining (  ) const [inline]
quint32 QStreamer::QMediaBuffer::type (  ) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Enumerations Enumerator Friends