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()。
© 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.