이 페이지에서

QtVideo Namespace

카메라 및 동영상 기능에 대한 열거형. 더 보기...

헤더: #include <qtvideo.h>
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::None0회전이 필요하지 않음. 프레임의 방향이 올바름
QtVideo::Rotation::Clockwise9090프레임을 시계 방향으로 90도 회전해야 함
QtVideo::Rotation::Clockwise180180프레임을 시계 방향으로 180도 회전해야 합니다
QtVideo::Rotation::Clockwise270270프레임을 시계 방향으로 270도 회전해야 함

이 열거형은 Qt 6.7에서 도입되었습니다.

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