Obsolete Members for QVideoFrame
QVideoFrame 类的以下成员已被废弃。提供这些成员是为了确保旧源代码能够继续运行。我们强烈建议不要在新代码中使用它们。
公共类型
(deprecated in 6.7) enum | RotationAngle { Rotation0, Rotation90, Rotation180, Rotation270 } |
公共函数
(deprecated in 6.7) QVideoFrame::RotationAngle | rotationAngle() const |
(deprecated in 6.7) void | setRotationAngle(QVideoFrame::RotationAngle angle) |
成员类型文档
[deprecated in 6.7] enum QVideoFrame::RotationAngle
该枚举自 6.7 版起已弃用。我们强烈建议不要在新代码中使用它。
请改用QtVideo::Rotation 。
在显示视频帧之前,应对其应用的顺时针旋转角度。
| 常量 | 值 | 描述 |
|---|---|---|
QVideoFrame::Rotation0 | 0 | 无需旋转,帧的方向正确 |
QVideoFrame::Rotation90 | 90 | 该帧应旋转 90 度 |
QVideoFrame::Rotation180 | 180 | 该帧应旋转 180 度 |
QVideoFrame::Rotation270 | 270 | 帧应旋转270度 |
成员函数文档
[deprecated in 6.7] QVideoFrame::RotationAngle QVideoFrame::rotationAngle() const
自 6.7 版本起,此函数已弃用。我们强烈建议不要在新代码中使用它。
请改用QVideoFrame::rotation 。
返回帧在显示前应顺时针旋转的角度。
另请参阅 setRotationAngle()。
[deprecated in 6.7] void QVideoFrame::setRotationAngle(QVideoFrame::RotationAngle angle)
自 6.7 版本起,此函数已被废弃。我们强烈建议不要在新代码中使用它。
请改用QVideoFrame::setRotation 。
设置angle ,指定在显示前应将帧顺时针旋转。
另请参阅 rotationAngle()。
© 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.