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

#include <qcameradevice_p.h>

+ Inheritance diagram for QCameraFormatPrivate:
+ Collaboration diagram for QCameraFormatPrivate:

Public Member Functions

QCameraFormat create ()
 
- 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 QVideoFrameFormat::ColorRange getColorRange (const QCameraFormat &format)
 
static const QCameraFormatPrivatehandle (const QCameraFormat &format)
 

Public Attributes

QVideoFrameFormat::PixelFormat pixelFormat = QVideoFrameFormat::Format_Invalid
 
QSize resolution
 
float minFrameRate = 0
 
float maxFrameRate = 0
 
QVideoFrameFormat::ColorRange colorRange = QVideoFrameFormat::ColorRange_Unknown
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 24 of file qcameradevice_p.h.

Member Function Documentation

◆ create()

QCameraFormat QCameraFormatPrivate::create ( )
inline

Definition at line 44 of file qcameradevice_p.h.

◆ getColorRange()

static QVideoFrameFormat::ColorRange QCameraFormatPrivate::getColorRange ( const QCameraFormat & format)
inlinestatic

Definition at line 33 of file qcameradevice_p.h.

References QVideoFrameFormat::ColorRange_Unknown, and d.

Referenced by QPlatformCamera::findBestCameraFormat(), and AVFCameraRenderer::setOutputSettings().

+ Here is the caller graph for this function:

◆ handle()

static const QCameraFormatPrivate * QCameraFormatPrivate::handle ( const QCameraFormat & format)
inlinestatic

Definition at line 39 of file qcameradevice_p.h.

Referenced by qt_convert_to_capture_device_format().

+ Here is the caller graph for this function:

Member Data Documentation

◆ colorRange

Definition at line 31 of file qcameradevice_p.h.

◆ maxFrameRate

float QCameraFormatPrivate::maxFrameRate = 0

Definition at line 30 of file qcameradevice_p.h.

Referenced by QCameraFormat::maxFrameRate(), and QCameraFormat::operator==().

◆ minFrameRate

float QCameraFormatPrivate::minFrameRate = 0

Definition at line 29 of file qcameradevice_p.h.

Referenced by QCameraFormat::minFrameRate(), and QCameraFormat::operator==().

◆ pixelFormat

Definition at line 27 of file qcameradevice_p.h.

Referenced by QCameraFormat::operator==().

◆ resolution

QSize QCameraFormatPrivate::resolution

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