QCameraFormat¶
The QCameraFormat
class describes a video format supported by a camera device. More…
New in version 6.1.
Synopsis¶
Functions¶
def
__eq__
(other)def
__ne__
(other)def
isNull
()def
maxFrameRate
()def
minFrameRate
()def
pixelFormat
()def
resolution
()
Detailed Description¶
QCameraFormat
represents a certain video format supported by a camera device.
The format is a combination of a pixel format
, resolution and a range of frame rates.
QCameraFormat
objects can be queried from QCameraDevice
to inspect the set of supported video formats.
See also
- class PySide6.QtMultimedia.QCameraFormat¶
PySide6.QtMultimedia.QCameraFormat(other)
- Parameters
Constructs a null camera format.
See also
Copy constructs a camera format from the other
format.
- PySide6.QtMultimedia.QCameraFormat.isNull()¶
- Return type
bool
Returns true if this is a default constructed QCameraFormat
.
- PySide6.QtMultimedia.QCameraFormat.maxFrameRate()¶
- Return type
float
- PySide6.QtMultimedia.QCameraFormat.minFrameRate()¶
- Return type
float
- PySide6.QtMultimedia.QCameraFormat.__ne__(other)¶
- Parameters
- Return type
bool
Returns false
if the other
format is equal to this camera format, otherwise true
.
- PySide6.QtMultimedia.QCameraFormat.__eq__(other)¶
- Parameters
- Return type
bool
Returns true
if the other
format is equal to this camera format, otherwise false
.
- PySide6.QtMultimedia.QCameraFormat.pixelFormat()¶
- Return type
- PySide6.QtMultimedia.QCameraFormat.resolution()¶
- Return type
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.