QtVideo Namespace

Enumerations for camera and video functionality. More...

Header: #include <QtVideo>
CMake: find_package(Qt6 REQUIRED COMPONENTS Multimedia)
target_link_libraries(mytarget PRIVATE Qt6::Multimedia)
qmake: QT += multimedia
Since: Qt 6.7

Types

(since 6.7) enum class Rotation { None, Clockwise90, Clockwise180, Clockwise270 }

Detailed Description

Type Documentation

[since 6.7] enum class QtVideo::Rotation

The angle of the clockwise rotation that should be applied to a video frame before displaying.

ConstantValueDescription
QtVideo::Rotation::None0No rotation required, the frame has correct orientation
QtVideo::Rotation::Clockwise9090The frame should be rotated clockwise by 90 degrees
QtVideo::Rotation::Clockwise180180The frame should be rotated clockwise by 180 degrees
QtVideo::Rotation::Clockwise270270The frame should be rotated clockwise by 270 degrees

This enum was introduced in Qt 6.7.

© 2024 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.