QtGStreamer  0.10.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions
QGst::Buffer Class Reference

#include <QGst/Buffer>

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

List of all members.

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

Static Public Member Functions

static BufferPtr create (uint size)

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: