QtGStreamer  0.10.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | List of all members
QGst::Buffer Class Reference

#include <QGst/Buffer>

Inheritance diagram for QGst::Buffer:
Inheritance graph
[legend]
Collaboration diagram for QGst::Buffer:
Collaboration graph
[legend]

Public Member Functions

quint8 * data () const
 
quint32 size () const
 
ClockTime timeStamp () const
 
ClockTime duration () const
 
CapsPtr caps () const
 
void setCaps (const CapsPtr &caps)
 
quint64 offset () const
 
quint64 offsetEnd () const
 
BufferFlags flags () const
 
void setFlags (const BufferFlags flags)
 
BufferPtr copy () const
 
BufferPtr makeWritable () const
 
- Public Member Functions inherited from QGst::MiniObject
MiniObjectPtr copy () const
 
bool isWritable () const
 
MiniObjectPtr makeWritable () const
 

Static Public Member Functions

static BufferPtr create (uint size)
 

Additional Inherited Members

- Protected Member Functions inherited from QGst::MiniObject
virtual void ref (bool increaseRef)
 
virtual void unref ()
 
- Protected Attributes inherited from QGlib::RefCountedObject
void * m_object
 

Detailed Description

Wrapper class for GstBuffer.

Buffers are the basic unit of data transfer in GStreamer. The data() pointer holds the contents of the buffer, and the length is obtained from size(). Buffers also contain a CapsPtr in caps() that indicates the format of the buffer data.

Definition at line 34 of file buffer.h.


The documentation for this class was generated from the following files: