Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
std::optional< QGRange< QSize > > resolutionRange () const
QGstreamerMessage getMessage ()
std::optional< FractionpixelAspectRatio () const
QSize nativeSize () const

Public Attributes

const GstStructure * structure = nullptr

Detailed Description

Definition at line 295 of file qgst_p.h.

Constructor & Destructor Documentation

◆ QGstStructureView() [1/2]

QGstStructureView::QGstStructureView ( const GstStructure * s)
explicit

Definition at line 162 of file qgst.cpp.

◆ QGstStructureView() [2/2]

QGstStructureView::QGstStructureView ( const QUniqueGstStructureHandle & handle)
explicit

Definition at line 164 of file qgst.cpp.

Member Function Documentation

◆ caps()

QGstCaps QGstStructureView::caps ( ) const

Definition at line 189 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 169 of file qgst.cpp.

◆ frameRateRange()

QGRange< float > QGstStructureView::frameRateRange ( ) const

Definition at line 242 of file qgst.cpp.

◆ getMessage()

QGstreamerMessage QGstStructureView::getMessage ( )

Definition at line 326 of file qgst.cpp.

Referenced by QGstreamerMediaRecorder::processBusMessage().

Here is the caller graph for this function:

◆ isNull()

bool QGstStructureView::isNull ( ) const

Definition at line 174 of file qgst.cpp.

◆ name()

QByteArrayView QGstStructureView::name ( ) const

Definition at line 179 of file qgst.cpp.

◆ nativeSize()

QSize QGstStructureView::nativeSize ( ) const

Definition at line 360 of file qgst.cpp.

◆ operator[]()

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

Definition at line 184 of file qgst.cpp.

Referenced by QGstUtils::audioFormatForCaps(), caps(), QGstreamerFormatInfo::fileFormatForCaps(), tags(), and QGstreamerFormatInfo::videoCodecForCaps().

Here is the caller graph for this function:

◆ pixelAspectRatio()

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

Definition at line 333 of file qgst.cpp.

◆ pixelFormat()

QVideoFrameFormat::PixelFormat QGstStructureView::pixelFormat ( ) const

Definition at line 219 of file qgst.cpp.

◆ resolution()

QSize QGstStructureView::resolution ( ) const

Definition at line 205 of file qgst.cpp.

◆ resolutionRange()

std::optional< QGRange< QSize > > QGstStructureView::resolutionRange ( ) const

Definition at line 300 of file qgst.cpp.

◆ tags()

QGstTagListHandle QGstStructureView::tags ( ) const

Definition at line 194 of file qgst.cpp.

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

Here is the call graph for this function:

Member Data Documentation

◆ structure

const GstStructure* QGstStructureView::structure = nullptr

Definition at line 298 of file qgst_p.h.


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