![]() |
Qt 6.x
The Qt SDK
|
#include <qvideoframe.h>
Go to the source code of this file.
Functions | |
QT_BEGIN_NAMESPACE Q_MULTIMEDIA_EXPORT QImage | qImageFromVideoFrame (const QVideoFrame &frame, QVideoFrame::RotationAngle rotation=QVideoFrame::Rotation0, bool mirrorX=false, bool mirrorY=false) |
QT_BEGIN_NAMESPACE Q_MULTIMEDIA_EXPORT QImage qImageFromVideoFrame | ( | const QVideoFrame & | frame, |
QVideoFrame::RotationAngle | rotation = QVideoFrame::Rotation0 , |
||
bool | mirrorX = false , |
||
bool | mirrorY = false |
||
) |
Definition at line 267 of file qvideoframeconverter.cpp.
References QRhiSampler::ClampToEdge, convertCPU(), convertJPEG(), QThread::currentThread(), QRhiBuffer::Dynamic, QVideoFrameFormat::Format_Invalid, QVideoFrameFormat::Format_Jpeg, frame, frameSize(), g_quad, g_state, QRhiBuffer::Immutable, initializeRHI(), QSize::isEmpty(), QRhi::isRecordingFrame(), QRhiSampler::Linear, QRhi::newBuffer(), QRhi::newSampler(), QRhi::newShaderResourceBindings(), QRhi::newTexture(), QRhi::newTextureRenderTarget(), QRhiSampler::None, qCDebug, QRhiTexture::RenderTarget, QRhiTexture::RGBA8, QWidget::size, QRhi::thread(), QSize::transpose(), QRhiBuffer::UniformBuffer, and QRhiBuffer::VertexBuffer.
Referenced by AndroidTextureVideoBuffer::map(), and QVideoFrame::toImage().