QtGStreamer 1.2.0
|
#include <QGst/Memory>
Public Member Functions | |
QGst::AllocatorPtr | allocator () const |
size_t | size () const |
size_t | offset () const |
size_t | maxSize () const |
bool | isType (const char *type) const |
bool | map (MapInfo &info, MapFlags flags) |
void | unmap (MapInfo &info) |
![]() | |
MiniObjectPtr | copy () const |
bool | isWritable () const |
MiniObjectPtr | makeWritable () const |
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 GstMemory.
GstMemory is a lightweight refcounted object that wraps a region of memory. They are typically used to manage the data of a GstBuffer.
AllocatorPtr QGst::Memory::allocator | ( | ) | const |
Definition at line 56 of file memory.cpp.
size_t QGst::Memory::size | ( | ) | const |
Definition at line 61 of file memory.cpp.
size_t QGst::Memory::offset | ( | ) | const |
Definition at line 66 of file memory.cpp.
size_t QGst::Memory::maxSize | ( | ) | const |
Definition at line 71 of file memory.cpp.
bool QGst::Memory::isType | ( | const char * | type | ) | const |
Definition at line 76 of file memory.cpp.
bool QGst::Memory::map | ( | MapInfo & | info, |
MapFlags | flags | ||
) |
Definition at line 81 of file memory.cpp.
void QGst::Memory::unmap | ( | MapInfo & | info | ) |
Definition at line 87 of file memory.cpp.