以下成员源于类 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
This enum is deprecated since 6.7. We strongly advise against using it in new code.
使用 QtVideo::Rotation 代替。
The angle of the clockwise rotation that should be applied to a video frame before displaying.
常量 | 值 | 描述 |
---|---|---|
QVideoFrame::Rotation0
|
0
|
No rotation required, the frame has correct orientation |
QVideoFrame::Rotation90
|
90
|
The frame should be rotated by 90 degrees |
QVideoFrame::Rotation180
|
180
|
The frame should be rotated by 180 degrees |
QVideoFrame::Rotation270
|
270
|
The frame should be rotated by 270 degrees |
[deprecated in 6.7]
QVideoFrame::RotationAngle
QVideoFrame::
rotationAngle
() const
This function is deprecated since 6.7. We strongly advise against using it in new code.
使用
QVideoFrame::rotation
代替。
Returns the angle the frame should be rotated clockwise before displaying.
另请参阅 setRotationAngle ().
[deprecated in 6.7]
void
QVideoFrame::
setRotationAngle
(
QVideoFrame::RotationAngle
angle
)
This function is deprecated since 6.7. We strongly advise against using it in new code.
使用
QVideoFrame::setRotation
代替。
设置 angle the frame should be rotated clockwise before displaying.
另请参阅 rotationAngle ().