QtGStreamer 1.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QGst::Memory Class Reference

#include <QGst/Memory>

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

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)
 
- Public Member Functions inherited from QGst::MiniObject
MiniObjectPtr copy () const
 
bool isWritable () const
 
MiniObjectPtr makeWritable () const
 

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 GstMemory.

GstMemory is a lightweight refcounted object that wraps a region of memory. They are typically used to manage the data of a GstBuffer.

Definition at line 51 of file memory.h.

Member Function Documentation

◆ allocator()

AllocatorPtr QGst::Memory::allocator ( ) const

Definition at line 56 of file memory.cpp.

◆ size()

size_t QGst::Memory::size ( ) const

Definition at line 61 of file memory.cpp.

◆ offset()

size_t QGst::Memory::offset ( ) const

Definition at line 66 of file memory.cpp.

◆ maxSize()

size_t QGst::Memory::maxSize ( ) const

Definition at line 71 of file memory.cpp.

◆ isType()

bool QGst::Memory::isType ( const char *  type) const

Definition at line 76 of file memory.cpp.

◆ map()

bool QGst::Memory::map ( MapInfo &  info,
MapFlags  flags 
)

Definition at line 81 of file memory.cpp.

◆ unmap()

void QGst::Memory::unmap ( MapInfo &  info)

Definition at line 87 of file memory.cpp.


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