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>.
|
#include <qgst_p.h>
Public Member Functions | |
QGstStructure ()=default | |
QGstStructure (const GstStructure *s) | |
void | free () |
bool | isNull () const |
QByteArrayView | name () const |
QGValue | operator[] (const char *name) const |
QSize | resolution () const |
QVideoFrameFormat::PixelFormat | pixelFormat () const |
QGRange< float > | frameRateRange () const |
QGstreamerMessage | getMessage () |
std::optional< Fraction > | pixelAspectRatio () const |
QSize | nativeSize () const |
QGstStructure | copy () const |
Public Attributes | |
const GstStructure * | structure = nullptr |
|
default |
QGstStructure QGstStructure::copy | ( | ) | const |
Definition at line 185 of file qgst.cpp.
References structure.
Referenced by QGstreamerMediaPlayer::processBusMessage().
QGRange< float > QGstStructure::frameRateRange | ( | ) | const |
void QGstStructure::free | ( | ) |
Definition at line 163 of file qgst.cpp.
References structure.
Referenced by QGstreamerMediaPlayer::~QGstreamerMediaPlayer(), and QGstreamerMediaPlayer::processBusMessage().
QGstreamerMessage QGstStructure::getMessage | ( | ) |
Definition at line 279 of file qgst.cpp.
References QGstPointerImpl::QGstObjectWrapper< GstMessage >::HasRef, and structure.
QByteArrayView QGstStructure::name | ( | ) | const |
Definition at line 175 of file qgst.cpp.
References structure.
Referenced by QGstreamerFormatInfo::audioCodecForCaps(), QGstreamerFormatInfo::fileFormatForCaps(), QGstreamerFormatInfo::getMuxerList(), QGstreamerFormatInfo::imageFormatForCaps(), QGstreamerMediaPlayer::processBusMessage(), and QGstreamerFormatInfo::videoCodecForCaps().
QSize QGstStructure::nativeSize | ( | ) | const |
Definition at line 300 of file qgst.cpp.
References pixelAspectRatio(), Q_FUNC_INFO, qCalculateFrameSize(), qWarning, and resolution().
QGValue QGstStructure::operator[] | ( | const char * | name | ) | const |
std::optional< Fraction > QGstStructure::pixelAspectRatio | ( | ) | const |
Definition at line 286 of file qgst.cpp.
References structure.
Referenced by nativeSize().
QVideoFrameFormat::PixelFormat QGstStructure::pixelFormat | ( | ) | const |
Definition at line 204 of file qgst.cpp.
References QVideoFrameFormat::Format_Invalid, QVideoFrameFormat::Format_Jpeg, pixelFormat(), and structure.
Referenced by pixelFormat().
QSize QGstStructure::resolution | ( | ) | const |
Definition at line 190 of file qgst.cpp.
References structure.
Referenced by nativeSize(), and QGstreamerVideoOverlay::probeCaps().
const GstStructure* QGstStructure::structure = nullptr |
Definition at line 308 of file qgst_p.h.
Referenced by copy(), frameRateRange(), free(), getMessage(), isNull(), name(), operator<<(), operator[](), pixelAspectRatio(), pixelFormat(), and resolution().