QtGStreamer
1.2.0
|
#include <QGst/Buffer>
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) |
![]() | |
MiniObjectPtr | copy () const |
bool | isWritable () const |
MiniObjectPtr | makeWritable () const |
Static Public Member Functions | |
static BufferPtr | create (uint size) |
Additional Inherited Members | |
![]() | |
typedef GstMiniObject | CType |
![]() | |
MiniObject (const MiniObject &) | |
MiniObject & | operator= (const MiniObject &) |
virtual void | ref (bool increaseRef) |
virtual void | unref () |
![]() | |
template<class T > | |
T * | object () const |
![]() | |
void * | m_object |
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.