![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qgst_p.h>
Public Member Functions | |
| QGstElement (const QGstElement &)=default | |
| QGstElement (QGstElement &&) noexcept=default | |
| QGstElement & | operator= (const QGstElement &)=default |
| QGstElement & | operator= (QGstElement &&) noexcept=default |
| QGstElement (GstElement *element, RefMode mode) | |
| 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 (std::chrono::nanoseconds timeout=std::chrono::seconds(0)) const |
| GstStateChangeReturn | setState (GstState state) |
| bool | setStateSync (GstState state, std::chrono::nanoseconds timeout=std::chrono::seconds(1)) |
| bool | syncStateWithParent () |
| bool | finishStateChange (std::chrono::nanoseconds timeout=std::chrono::seconds(5)) |
| bool | hasAsyncStateChange (std::chrono::nanoseconds timeout=std::chrono::seconds(0)) const |
| bool | waitForAsyncStateChangeComplete (std::chrono::nanoseconds timeout=std::chrono::seconds(5)) const |
| void | lockState (bool locked) |
| bool | isStateLocked () const |
| void | sendEvent (GstEvent *event) const |
| void | sendEos () const |
| std::optional< std::chrono::nanoseconds > | duration () const |
| std::optional< std::chrono::milliseconds > | durationInMs () const |
| std::optional< std::chrono::nanoseconds > | position () const |
| std::optional< std::chrono::milliseconds > | positionInMs () const |
| std::optional< bool > | canSeek () const |
| template<auto Member, typename T> | |
| QGObjectHandlerConnection | onPadAdded (T *instance) |
| template<auto Member, typename T> | |
| QGObjectHandlerConnection | onPadRemoved (T *instance) |
| template<auto Member, typename T> | |
| QGObjectHandlerConnection | onNoMorePads (T *instance) |
| GstClockTime | baseTime () const |
| void | setBaseTime (GstClockTime time) const |
| GstElement * | element () const |
| QGstElement | getParent () const |
| QGstBin | getParentBin () const |
| QGstPipeline | getPipeline () const |
| QGstBin | getRootBin () const |
| void | removeFromParent () |
| void | dumpPipelineGraph (const char *filename) const |
| QGstObject (const QGstObject &)=default | |
| QGstObject (QGstObject &&) noexcept=default | |
| Public Member Functions inherited from QGstObject | |
| QGstObject (const QGstObject &)=default | |
| QGstObject (QGstObject &&) noexcept=default | |
| QGstObject & | operator= (const QGstObject &)=default |
| QGstObject & | operator= (QGstObject &&) noexcept=default |
| void | set (const char *property, const char *str) |
| void | set (const char *property, bool b) |
| void | set (const char *property, int32_t i) |
| void | set (const char *property, uint32_t i) |
| void | set (const char *property, int64_t i) |
| void | set (const char *property, uint64_t i) |
| void | set (const char *property, double d) |
| void | set (const char *property, const QGstObject &o) |
| void | set (const char *property, const QGstCaps &c) |
| void | set (const char *property, void *object, GDestroyNotify destroyFunction) |
| template<typename Object> | |
| void | set (const char *property, Object *object, GDestroyNotify destroyFunction) |
| template<typename Object> | |
| void | set (const char *property, std::unique_ptr< Object > object) |
| QGString | getString (const char *property) const |
| QGstStructureView | 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 | getGstObject (const char *property) const |
| void * | getObject (const char *property) const |
| template<typename T> | |
| T * | getObject (const char *property) const |
| QGObjectHandlerConnection | connect (const char *name, GCallback callback, gpointer userData) |
| void | disconnect (gulong handlerId) |
| GType | type () const |
| QLatin1StringView | typeName () const |
| GstObject * | object () const |
| QLatin1StringView | name () const |
| Public Member Functions inherited from QtPrivate::QSharedHandle< QSharedGstObjectTraits > | |
| QSharedHandle ()=default | |
| QSharedHandle (typename QSharedGstObjectTraits::Type object, RefMode mode) | |
| QSharedHandle (const QSharedHandle &o) | |
| QSharedHandle (QSharedHandle &&) noexcept=default | |
| QSharedHandle & | operator= (const QSharedHandle &o) noexcept(RefIsNoexcept &&BaseResetIsNoexcept) |
| QSharedHandle & | operator= (QSharedHandle &&o) noexcept(BaseMoveIsNoexcept) |
| void | reset (typename QSharedGstObjectTraits::Type o, RefMode mode) noexcept(RefIsNoexcept &&BaseResetIsNoexcept) |
| void | reset () noexcept(BaseResetIsNoexcept) |
| Q_DECLARE_STRONGLY_ORDERED (QSharedHandle) | |
| void | swap (QSharedHandle &other) noexcept(noexcept(std::declval< BaseClass >().swap(other))) |
| Type | get () const noexcept |
| bool | isValid () const noexcept |
| operator bool () const noexcept | |
| Type | release () noexcept |
| Type * | operator& () noexcept |
Static Public Member Functions | |
| static QGstElement | createFromFactory (const char *factory, const char *name=nullptr) |
| static QGstElement | createFromFactory (GstElementFactory *, const char *name=nullptr) |
| static QGstElement | createFromFactory (const QGstElementFactoryHandle &, const char *name=nullptr) |
| static QGstElement | createFromDevice (const QGstDeviceHandle &, const char *name=nullptr) |
| static QGstElement | createFromDevice (GstDevice *, const char *name=nullptr) |
| static QGstElement | createFromPipelineDescription (const char *) |
| static QGstElement | createFromPipelineDescription (const QByteArray &) |
| static QGstElementFactoryHandle | findFactory (const char *) |
| static QGstElementFactoryHandle | findFactory (const QByteArray &name) |
| Static Public Member Functions inherited from QGstObject | |
| template<typename T> | |
| static void | qDeleteFromVoidPointer (void *ptr) |
Additional Inherited Members | |
| Public Types inherited from QtPrivate::QSharedHandle< QSharedGstObjectTraits > | |
| enum | RefMode |
|
default |
|
defaultnoexcept |
|
explicit |
Definition at line 948 of file qgst.cpp.
References QGstElement().
Referenced by QGstElement().
|
static |
|
static |
|
static |
Definition at line 956 of file qgst.cpp.
Referenced by QGstAppSink::create(), QGstAppSrc::create(), QGstBin::createFromFactory(), createFromFactory(), QGstPipeline::createFromFactory(), QT_BEGIN_NAMESPACE::makeTee(), QGstreamerMediaRecorder::record(), QGstreamerCamera::setCamera(), and QGstreamerVideoOutput::setVideoSink().
|
static |
Definition at line 981 of file qgst.cpp.
References createFromFactory().
|
static |
|
static |
Definition at line 1000 of file qgst.cpp.
Referenced by createFromPipelineDescription().
|
static |
Definition at line 1014 of file qgst.cpp.
References createFromPipelineDescription().
| void QGstElement::dumpPipelineGraph | ( | const char * | filename | ) | const |
Definition at line 1279 of file qgst.cpp.
References QGstBin::dumpGraph(), and getRootBin().
Referenced by QGstPad::doInIdleProbe(), finishStateChange(), and setStateSync().
| std::optional< std::chrono::nanoseconds > QGstElement::duration | ( | ) | const |
| std::optional< std::chrono::milliseconds > QGstElement::durationInMs | ( | ) | const |
| GstElement * QGstElement::element | ( | ) | const |
|
static |
|
static |
| bool QGstElement::finishStateChange | ( | std::chrono::nanoseconds | timeout = std::chrono::seconds(5) | ) |
Definition at line 1096 of file qgst.cpp.
References dumpPipelineGraph().
| QGstElement QGstElement::getParent | ( | ) | const |
Definition at line 1223 of file qgst.cpp.
Referenced by getRootBin().
| QGstPipeline QGstElement::getPipeline | ( | ) | const |
Definition at line 1259 of file qgst.cpp.
References getRootBin().
| QGstPad QGstElement::getRequestPad | ( | const char * | name | ) | const |
Definition at line 1047 of file qgst.cpp.
Referenced by QGstreamerMediaRecorder::record().
| QGstBin QGstElement::getRootBin | ( | ) | const |
Definition at line 1239 of file qgst.cpp.
References getParent().
Referenced by dumpPipelineGraph(), and getPipeline().
| bool QGstElement::hasAsyncStateChange | ( | std::chrono::nanoseconds | timeout = std::chrono::seconds(0) | ) | const |
|
inline |
|
inline |
|
inline |
|
default |
|
defaultnoexcept |
Referenced by QGstreamerCamera::setCamera(), and QGstreamerVideoOutput::setVideoSink().
| std::optional< std::chrono::nanoseconds > QGstElement::position | ( | ) | const |
| std::optional< std::chrono::milliseconds > QGstElement::positionInMs | ( | ) | const |
|
default |
|
defaultnoexcept |
| GstStateChangeReturn QGstElement::setState | ( | GstState | state | ) |
| bool QGstElement::setStateSync | ( | GstState | state, |
| std::chrono::nanoseconds | timeout = std::chrono::seconds(1) ) |
Definition at line 1077 of file qgst.cpp.
References dumpPipelineGraph().
| QGstPad QGstElement::sink | ( | ) | const |
Definition at line 1042 of file qgst.cpp.
References staticPad().
Referenced by QGstreamerMediaCaptureSession::setAudioOutput().
| QGstPad QGstElement::src | ( | ) | const |
Definition at line 1037 of file qgst.cpp.
References staticPad().
| GstState QGstElement::state | ( | std::chrono::nanoseconds | timeout = std::chrono::seconds(0) | ) | const |
| QGstPad QGstElement::staticPad | ( | const char * | name | ) | const |
Definition at line 1032 of file qgst.cpp.
Referenced by QGstBin::addGhostPad(), QGstreamerMediaCaptureSession::setAudioOutput(), sink(), and src().
| bool QGstElement::waitForAsyncStateChangeComplete | ( | std::chrono::nanoseconds | timeout = std::chrono::seconds(5) | ) | const |