Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGstPad Class Reference

#include <qgst_p.h>

+ Inheritance diagram for QGstPad:
+ Collaboration diagram for QGstPad:

Public Member Functions

 QGstPad (const QGstPad &)=default
 
 QGstPad (QGstPad &&) noexcept=default
 
 QGstPad (const QGstObject &o)
 
 QGstPad (GstPad *pad, RefMode mode)
 
QGstPadoperator= (const QGstPad &)=default
 
QGstPadoperator= (QGstPad &&) noexcept=default
 
QGstCaps currentCaps () const
 
QGstCaps queryCaps () const
 
bool isLinked () const
 
bool link (const QGstPad &sink) const
 
bool unlink (const QGstPad &sink) const
 
bool unlinkPeer () const
 
QGstPad peer () const
 
QGstElement parent () const
 
GstPad * pad () const
 
GstEvent * stickyEvent (GstEventType type)
 
bool sendEvent (GstEvent *event)
 
template<auto Member, typename T >
void addProbe (T *instance, GstPadProbeType type)
 
template<typename Functor >
void doInIdleProbe (Functor &&work)
 
template<auto Member, typename T >
void addEosProbe (T *instance)
 
 QGstObject (const QGstObject &)=default
 
 QGstObject (QGstObject &&) noexcept=default
 
- Public Member Functions inherited from QGstObject
 QGstObject (const QGstObject &)=default
 
 QGstObject (QGstObject &&) noexcept=default
 
QGstObjectoperator= (const QGstObject &)=default
 
QGstObjectoperator= (QGstObject &&) noexcept=default
 
void set (const char *property, const char *str)
 
void set (const char *property, bool b)
 
void set (const char *property, uint i)
 
void set (const char *property, int i)
 
void set (const char *property, qint64 i)
 
void set (const char *property, quint64 i)
 
void set (const char *property, double d)
 
void set (const char *property, const QGstObject &o)
 
void set (const char *property, const QGstCaps &c)
 
QGString getString (const char *property) const
 
QGstStructure getStructure (const char *property) const
 
bool getBool (const char *property) const
 
uint getUInt (const char *property) const
 
int getInt (const char *property) const
 
quint64 getUInt64 (const char *property) const
 
qint64 getInt64 (const char *property) const
 
float getFloat (const char *property) const
 
double getDouble (const char *property) const
 
QGstObject getObject (const char *property) const
 
QGObjectHandlerConnection connect (const char *name, GCallback callback, gpointer userData)
 
void disconnect (gulong handlerId)
 
GType type () const
 
GstObject * object () const
 
const char * name () const
 
- Public Member Functions inherited from QGstPointerImpl::QGstObjectWrapper< GstObject >
constexpr QGstObjectWrapper ()=default
 
 QGstObjectWrapper (GstObject *object, RefMode mode)
 
 QGstObjectWrapper (const QGstObjectWrapper &other)
 
 QGstObjectWrapper (QGstObjectWrapper &&other) noexcept
 
 ~QGstObjectWrapper ()
 
QGstObjectWrapperoperator= (const QGstObjectWrapper &other)
 
QGstObjectWrapperoperator= (QGstObjectWrapper &&other) noexcept
 
 operator bool () const
 
bool isNull () const
 
GstObject * release ()
 

Additional Inherited Members

- Public Types inherited from QGstPointerImpl::QGstObjectWrapper< GstObject >
enum  RefMode
 
- Protected Member Functions inherited from QGstPointerImpl::QGstObjectWrapper< GstObject >
GstObject * get () const
 

Detailed Description

Definition at line 457 of file qgst_p.h.

Constructor & Destructor Documentation

◆ QGstPad() [1/4]

QGstPad::QGstPad ( const QGstPad & )
default

Referenced by peer().

+ Here is the caller graph for this function:

◆ QGstPad() [2/4]

QGstPad::QGstPad ( QGstPad && )
defaultnoexcept

◆ QGstPad() [3/4]

QGstPad::QGstPad ( const QGstObject & o)
explicit

Definition at line 708 of file qgst.cpp.

◆ QGstPad() [4/4]

QGstPad::QGstPad ( GstPad * pad,
RefMode mode )
explicit

Definition at line 716 of file qgst.cpp.

Member Function Documentation

◆ addEosProbe()

template<auto Member, typename T >
void QGstPad::addEosProbe ( T * instance)
inline

Definition at line 519 of file qgst_p.h.

References info.

◆ addProbe()

template<auto Member, typename T >
void QGstPad::addProbe ( T * instance,
GstPadProbeType type )
inline

Definition at line 486 of file qgst_p.h.

References info.

◆ currentCaps()

QGstCaps QGstPad::currentCaps ( ) const

Definition at line 724 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstCaps >::HasRef, and pad().

Referenced by QGstreamerImageCapture::probeBuffer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doInIdleProbe()

template<typename Functor >
void QGstPad::doInIdleProbe ( Functor && work)
inline

Definition at line 495 of file qgst_p.h.

References QSemaphore::release().

+ Here is the call graph for this function:

◆ isLinked()

bool QGstPad::isLinked ( ) const

Definition at line 734 of file qgst.cpp.

References pad().

+ Here is the call graph for this function:

◆ link()

bool QGstPad::link ( const QGstPad & sink) const

Definition at line 739 of file qgst.cpp.

References pad().

+ Here is the call graph for this function:

◆ operator=() [1/2]

QGstPad & QGstPad::operator= ( const QGstPad & )
default

◆ operator=() [2/2]

QGstPad & QGstPad::operator= ( QGstPad && )
defaultnoexcept

◆ pad()

GstPad * QGstPad::pad ( ) const

Definition at line 764 of file qgst.cpp.

Referenced by QGstreamerVideoOverlay::~QGstreamerVideoOverlay(), QGstBin::addGhostPad(), currentCaps(), isLinked(), link(), operator<<(), parent(), peer(), queryCaps(), QGstElement::releaseRequestPad(), sendEvent(), QGstreamerVideoOverlay::setVideoSink(), stickyEvent(), and unlink().

+ Here is the caller graph for this function:

◆ parent()

QGstElement QGstPad::parent ( ) const

Definition at line 759 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::HasRef, and pad().

+ Here is the call graph for this function:

◆ peer()

QGstPad QGstPad::peer ( ) const

Definition at line 754 of file qgst.cpp.

References QGstPad(), QGstPointerImpl::QGstObjectWrapper< GstObject >::HasRef, and pad().

Referenced by unlinkPeer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QGstObject() [1/2]

QGstObject::QGstObject ( const QGstObject & )
default

◆ QGstObject() [2/2]

QGstObject::QGstObject ( QGstObject && )
defaultnoexcept

◆ queryCaps()

QGstCaps QGstPad::queryCaps ( ) const

Definition at line 729 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstCaps >::HasRef, and pad().

+ Here is the call graph for this function:

◆ sendEvent()

bool QGstPad::sendEvent ( GstEvent * event)

Definition at line 774 of file qgst.cpp.

References pad().

+ Here is the call graph for this function:

◆ stickyEvent()

GstEvent * QGstPad::stickyEvent ( GstEventType type)

Definition at line 769 of file qgst.cpp.

References pad().

+ Here is the call graph for this function:

◆ unlink()

bool QGstPad::unlink ( const QGstPad & sink) const

Definition at line 744 of file qgst.cpp.

References pad().

Referenced by unlinkPeer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlinkPeer()

bool QGstPad::unlinkPeer ( ) const

Definition at line 749 of file qgst.cpp.

References peer(), and unlink().

Referenced by QGstreamerMediaCapture::unlinkEncoder().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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