QtGStreamer  1.2.0
 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

quint32 size () const
 
ClockTime decodingTimeStamp () const
 
ClockTime presentationTimeStamp () const
 
ClockTime duration () const
 
quint64 offset () const
 
quint64 offsetEnd () const
 
BufferFlags flags () const
 
void setFlags (const BufferFlags flags)
 
void setSize (uint size)
 
uint extract (uint offset, void *dest, uint size)
 
uint memoryCount () const
 
MemoryPtr getMemory (uint index) const
 
BufferPtr copy () const
 
BufferPtr makeWritable () const
 
bool map (MapInfo &info, MapFlags flags)
 
void unmap (MapInfo &info)
 
- 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

- Public Types inherited from QGst::MiniObject
typedef GstMiniObject CType
 
- Protected Member Functions inherited from QGst::MiniObject
 MiniObject (const MiniObject &)
 
MiniObjectoperator= (const MiniObject &)
 
virtual void ref (bool increaseRef)
 
virtual void unref ()
 
- Protected Member Functions inherited from QGlib::RefCountedObject
template<class T >
T * object () const
 
- 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 35 of file buffer.h.


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