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
QVideoFrameFormatPrivate Class Reference
+ Inheritance diagram for QVideoFrameFormatPrivate:
+ Collaboration diagram for QVideoFrameFormatPrivate:

Public Member Functions

 QVideoFrameFormatPrivate ()=default
 
 QVideoFrameFormatPrivate (const QSize &size, QVideoFrameFormat::PixelFormat format)
 
bool operator== (const QVideoFrameFormatPrivate &other) const
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Static Public Member Functions

static bool frameRatesEqual (qreal r1, qreal r2)
 

Public Attributes

QVideoFrameFormat::PixelFormat pixelFormat = QVideoFrameFormat::Format_Invalid
 
QVideoFrameFormat::Direction scanLineDirection = QVideoFrameFormat::TopToBottom
 
QSize frameSize
 
QVideoFrameFormat::ColorSpace colorSpace = QVideoFrameFormat::ColorSpace_Undefined
 
QVideoFrameFormat::ColorTransfer colorTransfer = QVideoFrameFormat::ColorTransfer_Unknown
 
QVideoFrameFormat::ColorRange colorRange = QVideoFrameFormat::ColorRange_Unknown
 
QRect viewport
 
float frameRate = 0.0
 
float maxLuminance = -1.
 
bool mirrored = false
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 20 of file qvideoframeformat.cpp.

Constructor & Destructor Documentation

◆ QVideoFrameFormatPrivate() [1/2]

QVideoFrameFormatPrivate::QVideoFrameFormatPrivate ( )
default

◆ QVideoFrameFormatPrivate() [2/2]

QVideoFrameFormatPrivate::QVideoFrameFormatPrivate ( const QSize & size,
QVideoFrameFormat::PixelFormat format )
inline

Definition at line 25 of file qvideoframeformat.cpp.

Member Function Documentation

◆ frameRatesEqual()

static bool QVideoFrameFormatPrivate::frameRatesEqual ( qreal r1,
qreal r2 )
inlinestatic

Definition at line 48 of file qvideoframeformat.cpp.

References qAbs(), qMin(), r1, and r2.

Referenced by operator==().

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

◆ operator==()

bool QVideoFrameFormatPrivate::operator== ( const QVideoFrameFormatPrivate & other) const
inline

Definition at line 34 of file qvideoframeformat.cpp.

References colorSpace, frameRate, frameRatesEqual(), frameSize, mirrored, other(), pixelFormat, scanLineDirection, and viewport.

+ Here is the call graph for this function:

Member Data Documentation

◆ colorRange

◆ colorSpace

◆ colorTransfer

◆ frameRate

float QVideoFrameFormatPrivate::frameRate = 0.0

◆ frameSize

◆ maxLuminance

float QVideoFrameFormatPrivate::maxLuminance = -1.

◆ mirrored

bool QVideoFrameFormatPrivate::mirrored = false

◆ pixelFormat

◆ scanLineDirection

◆ viewport


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