Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QGstStructure Class Reference

#include <qgst_p.h>

+ Collaboration diagram for QGstStructure:

Public Member Functions

 QGstStructure ()=default
 
 QGstStructure (const GstStructure *s)
 
void free ()
 
bool isNull () const
 
QByteArrayView name () const
 
QGValue operator[] (const char *name) const
 
Q_MULTIMEDIA_EXPORT QSize resolution () const
 
Q_MULTIMEDIA_EXPORT QVideoFrameFormat::PixelFormat pixelFormat () const
 
Q_MULTIMEDIA_EXPORT QGRange< float > frameRateRange () const
 
QByteArray toString () const
 
QGstStructure copy () const
 

Public Attributes

const GstStructure * structure = nullptr
 

Detailed Description

Definition at line 133 of file qgst_p.h.

Constructor & Destructor Documentation

◆ QGstStructure() [1/2]

QGstStructure::QGstStructure ( )
default

◆ QGstStructure() [2/2]

QGstStructure::QGstStructure ( const GstStructure *  s)
inline

Definition at line 137 of file qgst_p.h.

Member Function Documentation

◆ copy()

QGstStructure QGstStructure::copy ( ) const
inline

Definition at line 157 of file qgst_p.h.

References structure.

Referenced by QGstreamerMediaPlayer::processBusMessage().

+ Here is the caller graph for this function:

◆ frameRateRange()

QGRange< float > QGstStructure::frameRateRange ( ) const

Definition at line 398 of file qgstutils.cpp.

References insert(), and structure.

+ Here is the call graph for this function:

◆ free()

void QGstStructure::free ( )
inline

Definition at line 138 of file qgst_p.h.

References structure.

Referenced by QGstreamerMediaPlayer::~QGstreamerMediaPlayer(), and QGstreamerMediaPlayer::processBusMessage().

+ Here is the caller graph for this function:

◆ isNull()

bool QGstStructure::isNull ( ) const
inline

Definition at line 140 of file qgst_p.h.

References structure.

◆ name()

QByteArrayView QGstStructure::name ( ) const
inline

Definition at line 142 of file qgst_p.h.

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:

◆ operator[]()

QGValue QGstStructure::operator[] ( const char *  name) const
inline

Definition at line 144 of file qgst_p.h.

References structure.

◆ pixelFormat()

QVideoFrameFormat::PixelFormat QGstStructure::pixelFormat ( ) const

Definition at line 375 of file qgstutils.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 QGstStructure::resolution ( ) const

Definition at line 360 of file qgstutils.cpp.

References structure.

Referenced by QGstreamerVideoOverlay::probeCaps().

+ Here is the caller graph for this function:

◆ toString()

QByteArray QGstStructure::toString ( ) const
inline

Definition at line 150 of file qgst_p.h.

References str, and structure.

Referenced by QGstreamerFormatInfo::fileFormatForCaps().

+ Here is the caller graph for this function:

Member Data Documentation

◆ structure


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