![]() |
Qt 6.x
The Qt SDK
|
#include <qgst_p.h>
Public Member Functions | |
QGstElement ()=default | |
QGstElement (const QGstObject &o) | |
QGstElement (GstElement *element, RefMode mode=NeedsRef) | |
QGstElement (const char *factory, const char *name=nullptr) | |
bool | link (const QGstElement &next) |
bool | link (const QGstElement &n1, const QGstElement &n2) |
bool | link (const QGstElement &n1, const QGstElement &n2, const QGstElement &n3) |
bool | link (const QGstElement &n1, const QGstElement &n2, const QGstElement &n3, const QGstElement &n4) |
bool | link (const QGstElement &n1, const QGstElement &n2, const QGstElement &n3, const QGstElement &n4, const QGstElement &n5) |
void | unlink (const QGstElement &next) |
QGstPad | staticPad (const char *name) const |
QGstPad | src () const |
QGstPad | sink () const |
QGstPad | getRequestPad (const char *name) const |
void | releaseRequestPad (const QGstPad &pad) const |
GstState | state () const |
GstStateChangeReturn | setState (GstState state) |
bool | setStateSync (GstState state) |
bool | syncStateWithParent () |
bool | finishStateChange () |
void | lockState (bool locked) |
bool | isStateLocked () const |
void | sendEvent (GstEvent *event) const |
void | sendEos () const |
template<auto Member, typename T > | |
void | onPadAdded (T *instance) |
template<auto Member, typename T > | |
void | onPadRemoved (T *instance) |
template<auto Member, typename T > | |
void | onNoMorePads (T *instance) |
GstClockTime | baseTime () const |
void | setBaseTime (GstClockTime time) const |
GstElement * | element () const |
![]() | |
QGstObject ()=default | |
QGstObject (GstObject *o, RefMode mode=HasRef) | |
QGstObject (const QGstObject &other) | |
QGstObject & | operator= (const QGstObject &other) |
QGstObject (QGstObject &&other) noexcept | |
QGstObject & | operator= (QGstObject &&other) |
virtual | ~QGstObject () |
operator bool () const | |
bool | isNull () const |
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 |
void | connect (const char *name, GCallback callback, gpointer userData) |
GstObject * | object () const |
const char * | name () const |
Additional Inherited Members | |
![]() | |
enum | RefMode { HasRef , NeedsRef } |
![]() | |
GstObject * | m_object = nullptr |
|
default |
|
inline |
|
inline |
Definition at line 420 of file qgst_p.h.
References factory, QGstObject::m_object, and qWarning.
|
inline |
|
inline |
Definition at line 526 of file qgst_p.h.
References QGstObject::m_object.
Referenced by QGstBin::add(), QGstBin::add(), QGstBin::add(), QGstBin::add(), QGstBin::add(), QGstBin::add(), QGstBin::addGhostPad(), baseTime(), QGstPipeline::duration(), finishStateChange(), getRequestPad(), QGstreamerCamera::gstElement(), QGstreamerImageCapture::gstElement(), isStateLocked(), link(), link(), link(), link(), link(), lockState(), QGstPipeline::position(), QGstreamerImageCapture::probeBuffer(), QGstreamerMediaPlayer::processBusMessage(), releaseRequestPad(), QGstBin::remove(), QGstPipeline::seek(), sendEvent(), setBaseTime(), QGStreamerAudioSink::setBufferSize(), setState(), QGstPipeline::setState(), setStateSync(), QGstAppSrc::setup(), QGstreamerVideoOutput::setVideoSink(), state(), staticPad(), syncStateWithParent(), and unlink().
|
inline |
Definition at line 476 of file qgst_p.h.
References element(), QGstObject::name(), and qWarning.
Referenced by QGstreamerMediaPlayer::setPosition().
|
inline |
Definition at line 446 of file qgst_p.h.
References element(), and QGstObject::HasRef.
Referenced by linkTeeToPad(), and QGstreamerMediaEncoder::record().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 429 of file qgst_p.h.
References element(), and next.
Referenced by QGstreamerMediaEncoder::record(), QGstreamerAudioInput::setAudioDevice(), QGstreamerAudioOutput::setAudioDevice(), QGstreamerMediaCapture::setAudioInput(), QGstreamerCamera::setCamera(), QGstreamerCamera::setCameraFormat(), and QGstreamerVideoOutput::setVideoSink().
|
inline |
|
inline |
Definition at line 513 of file qgst_p.h.
References QGstObject::connect(), and e.
|
inline |
Definition at line 493 of file qgst_p.h.
References QGstObject::connect(), and e.
Referenced by QGstreamerMediaPlayer::setMedia().
|
inline |
Definition at line 503 of file qgst_p.h.
References QGstObject::connect(), and e.
Referenced by QGstreamerMediaPlayer::setMedia().
Definition at line 454 of file qgst_p.h.
References element(), and QGstPad::pad().
Referenced by unlinkTeeFromPad().
|
inline |
Definition at line 490 of file qgst_p.h.
References sendEvent().
Referenced by QGstreamerMediaEncoder::stop().
|
inline |
|
inline |
|
inline |
Definition at line 462 of file qgst_p.h.
References element(), and state().
Referenced by QGstreamerMediaCapture::linkEncoder(), qt_gst_element_is_functioning(), QGstreamerMediaCapture::setAudioInput(), QGstreamerMediaCapture::setAudioOutput(), QGstreamerMediaCapture::setCamera(), and QGstreamerMediaCapture::setImageCapture().
|
inline |
Definition at line 463 of file qgst_p.h.
References element(), QGstObject::name(), qWarning, and state().
Referenced by QGstAppSrc::~QGstAppSrc(), QGstreamerAudioInput::~QGstreamerAudioInput(), QGstreamerAudioOutput::~QGstreamerAudioOutput(), QGstreamerCamera::~QGstreamerCamera(), QGstreamerImageCapture::~QGstreamerImageCapture(), QGstreamerMediaCapture::~QGstreamerMediaCapture(), QGstreamerMediaEncoder::~QGstreamerMediaEncoder(), QGstreamerMediaPlayer::~QGstreamerMediaPlayer(), QGstreamerVideoOutput::~QGstreamerVideoOutput(), QGstPipeline::beginConfig(), QGstreamerAudioInput::setAudioDevice(), QGstreamerAudioOutput::setAudioDevice(), QGstreamerMediaCapture::setAudioInput(), QGstreamerMediaCapture::setAudioOutput(), QGstreamerCamera::setCamera(), QGstreamerMediaCapture::setCamera(), QGstreamerCamera::setCameraFormat(), QGstreamerMediaCapture::setImageCapture(), QGstreamerMediaPlayer::setMedia(), QGstreamerVideoOutput::setVideoSink(), QGstreamerMediaCapture::unlinkEncoder(), and QGstreamerVideoOutput::unlinkSubtitleStream().
|
inline |
Definition at line 445 of file qgst_p.h.
References staticPad().
Referenced by QGstreamerMediaCapture::linkEncoder(), and QGstreamerMediaCapture::unlinkEncoder().
|
inline |
Definition at line 444 of file qgst_p.h.
References staticPad().
Referenced by QGstreamerMediaCapture::linkEncoder(), and QGstreamerMediaCapture::unlinkEncoder().
|
inline |
Definition at line 456 of file qgst_p.h.
References element(), and state().
Referenced by QGstPipeline::beginConfig(), QGstreamerMediaPlayer::setActiveTrack(), setState(), QGstPipeline::setState(), setStateSync(), and state().
|
inline |
Definition at line 443 of file qgst_p.h.
References element(), and QGstObject::HasRef.
Referenced by QGstreamerVideoOverlay::~QGstreamerVideoOverlay(), QGstreamerVideoOutput::flushSubtitles(), QGstreamerImageCapture::probeBuffer(), QGstreamerAudioInput::setAudioDevice(), QGstreamerAudioOutput::setAudioDevice(), QGstreamerMediaCapture::setAudioInput(), QGstreamerMediaCapture::setAudioOutput(), QGstreamerMediaCapture::setCamera(), QGstreamerCamera::setCameraFormat(), QGstreamerMediaCapture::setImageCapture(), QGstreamerVideoOverlay::setVideoSink(), sink(), and src().
|
inline |
Definition at line 475 of file qgst_p.h.
References element().
Referenced by QGstreamerMediaEncoder::record(), QGstreamerAudioInput::setAudioDevice(), QGstreamerAudioOutput::setAudioDevice(), QGstreamerCamera::setCamera(), and QGstreamerVideoOutput::setVideoSink().
|
inline |
Definition at line 440 of file qgst_p.h.
References element(), and next.
Referenced by QGstreamerAudioInput::setAudioDevice(), QGstreamerAudioOutput::setAudioDevice(), QGstreamerCamera::setCamera(), and QGstreamerCamera::setCameraFormat().