![]() |
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 Types | |
| enum | MemoryFormat { CpuMemory , GLTexture , DMABuf } |
| Public Types inherited from QtPrivate::QSharedHandle< QSharedGstCapsTraits > | |
| enum | RefMode |
Public Member Functions | |
| QGstCaps (const QGstCaps &)=default | |
| QGstCaps (QGstCaps &&) noexcept=default | |
| QGstCaps & | operator= (const QGstCaps &)=default |
| QGstCaps & | operator= (QGstCaps &&) noexcept=default |
| int | size () const |
| QGstStructureView | at (int index) const |
| GstCaps * | caps () const |
| MemoryFormat | memoryFormat () const |
| std::optional< std::pair< QVideoFrameFormat, GstVideoInfo > > | formatAndVideoInfo () const |
| void | addPixelFormats (const QList< QVideoFrameFormat::PixelFormat > &formats, const char *modifier=nullptr) |
| void | setResolution (QSize) |
| QGstCaps | copy () const |
| Public Member Functions inherited from QtPrivate::QSharedHandle< QSharedGstCapsTraits > | |
| QSharedHandle ()=default | |
| QSharedHandle (typename QSharedGstCapsTraits::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 QSharedGstCapsTraits::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 QGstCaps | create () |
| static QGstCaps | fromCameraFormat (const QCameraFormat &format) |
|
default |
|
defaultnoexcept |
| void QGstCaps::addPixelFormats | ( | const QList< QVideoFrameFormat::PixelFormat > & | formats, |
| const char * | modifier = nullptr ) |
| QGstStructureView QGstCaps::at | ( | int | index | ) | const |
Definition at line 566 of file qgst.cpp.
Referenced by QGstUtils::audioFormatForCaps(), and QT_BEGIN_NAMESPACE::toTrackType().
|
static |
Definition at line 578 of file qgst.cpp.
Referenced by fromCameraFormat().
| std::optional< std::pair< QVideoFrameFormat, GstVideoInfo > > QGstCaps::formatAndVideoInfo | ( | ) | const |
|
static |
Definition at line 522 of file qgst.cpp.
References create().
Referenced by QGstreamerCamera::setCamera(), and QGstreamerCamera::setCameraFormat().
| QGstCaps::MemoryFormat QGstCaps::memoryFormat | ( | ) | const |
Definition at line 508 of file qgst.cpp.
Referenced by createVideoProfile().
| int QGstCaps::size | ( | ) | const |
Definition at line 561 of file qgst.cpp.
Referenced by addPixelFormats().