QtVideo Namespace
카메라 및 비디오 기능에 대한 열거형입니다. 더 보기...
Header: | #include <QtVideo> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Multimedia) target_link_libraries(mytarget PRIVATE Qt6::Multimedia) |
qmake: | QT += multimedia |
이후: | Qt 6.7 |
유형
(since 6.7) enum class | Rotation { None, Clockwise90, Clockwise180, Clockwise270 } |
유형 문서
[since 6.7]
enum class QtVideo::Rotation
표시하기 전에 비디오 프레임에 적용해야 하는 시계 방향 회전 각도입니다. 회전은 Y축이 디스플레이에서 아래쪽을 가리키는 비디오 좌표로 수행됩니다. 이는 회전 방향이 QTransform::rotate 을 준수한다는 의미입니다.
상수 | 값 | 설명 |
---|---|---|
QtVideo::Rotation::None | 0 | 회전이 필요하지 않으며, 프레임의 방향이 올바릅니다. |
QtVideo::Rotation::Clockwise90 | 90 | 프레임을 시계 방향으로 90도 회전해야 합니다. |
QtVideo::Rotation::Clockwise180 | 180 | 프레임을 시계 방향으로 180도 회전해야 합니다. |
QtVideo::Rotation::Clockwise270 | 270 | 프레임이 시계 방향으로 270도 회전해야 합니다. |
이 열거형은 Qt 6.7에 도입되었습니다.
© 2025 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.