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
QGstStructureView Class Reference

#include <qgst_p.h>

+ Collaboration diagram for QGstStructureView:

Public Member Functions

 QGstStructureView (const GstStructure *)
 
 QGstStructureView (const QUniqueGstStructureHandle &)
 
QUniqueGstStructureHandle clone () const
 
bool isNull () const
 
QByteArrayView name () const
 
QGValue operator[] (const char *fieldname) const
 
QGstCaps caps () const
 
QGstTagListHandle tags () const
 
QSize resolution () const
 
QVideoFrameFormat::PixelFormat pixelFormat () const
 
QGRange< float > frameRateRange () const
 
QGstreamerMessage getMessage ()
 
std::optional< FractionpixelAspectRatio () const
 
QSize nativeSize () const
 

Public Attributes

const GstStructure * structure = nullptr
 

Detailed Description

Definition at line 309 of file qgst_p.h.

Constructor & Destructor Documentation

◆ QGstStructureView() [1/2]

QGstStructureView::QGstStructureView ( const GstStructure * s)
explicit

Definition at line 161 of file qgst.cpp.

◆ QGstStructureView() [2/2]

QGstStructureView::QGstStructureView ( const QUniqueGstStructureHandle & handle)
explicit

Definition at line 163 of file qgst.cpp.

Member Function Documentation

◆ caps()

QGstCaps QGstStructureView::caps ( ) const

Definition at line 188 of file qgst.cpp.

References operator[](), and QGValue::toCaps().

+ Here is the call graph for this function:

◆ clone()

QUniqueGstStructureHandle QGstStructureView::clone ( ) const

Definition at line 168 of file qgst.cpp.

References structure.

Referenced by QGstreamerMediaPlayer::processBusMessage().

+ Here is the caller graph for this function:

◆ frameRateRange()

QGRange< float > QGstStructureView::frameRateRange ( ) const

Definition at line 241 of file qgst.cpp.

References insert(), and structure.

+ Here is the call graph for this function:

◆ getMessage()

QGstreamerMessage QGstStructureView::getMessage ( )

◆ isNull()

bool QGstStructureView::isNull ( ) const

Definition at line 173 of file qgst.cpp.

References structure.

◆ name()

QByteArrayView QGstStructureView::name ( ) const

Definition at line 178 of file qgst.cpp.

References structure.

Referenced by QGstreamerFormatInfo::audioCodecForCaps(), QGstreamerFormatInfo::fileFormatForCaps(), QGstreamerFormatInfo::getMuxerList(), QGstreamerFormatInfo::imageFormatForCaps(), QGstreamerMediaPlayer::processBusMessage(), and QGstreamerFormatInfo::videoCodecForCaps().

+ Here is the caller graph for this function:

◆ nativeSize()

QSize QGstStructureView::nativeSize ( ) const

Definition at line 327 of file qgst.cpp.

References pixelAspectRatio(), Q_FUNC_INFO, qCalculateFrameSizeGStreamer(), qWarning, and resolution().

+ Here is the call graph for this function:

◆ operator[]()

QGValue QGstStructureView::operator[] ( const char * fieldname) const

Definition at line 183 of file qgst.cpp.

References structure.

Referenced by caps(), and tags().

+ Here is the caller graph for this function:

◆ pixelAspectRatio()

std::optional< Fraction > QGstStructureView::pixelAspectRatio ( ) const

Definition at line 300 of file qgst.cpp.

References structure.

Referenced by nativeSize().

+ Here is the caller graph for this function:

◆ pixelFormat()

QVideoFrameFormat::PixelFormat QGstStructureView::pixelFormat ( ) const

Definition at line 218 of file qgst.cpp.

References QVideoFrameFormat::Format_Invalid, QVideoFrameFormat::Format_Jpeg, pixelFormat(), and structure.

Referenced by pixelFormat().

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

◆ resolution()

QSize QGstStructureView::resolution ( ) const

Definition at line 204 of file qgst.cpp.

References structure.

Referenced by extendMetaDataFromCaps(), nativeSize(), and QGstreamerVideoOverlay::probeCaps().

+ Here is the caller graph for this function:

◆ tags()

QGstTagListHandle QGstStructureView::tags ( ) const

Definition at line 193 of file qgst.cpp.

References operator[](), structure, and tags().

Referenced by tags().

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

Member Data Documentation

◆ structure

const GstStructure* QGstStructureView::structure = nullptr

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