25class QFFmpegScreenCaptureDxgi :
public QPlatformSurfaceCapture
28 explicit QFFmpegScreenCaptureDxgi();
30 ~QFFmpegScreenCaptureDxgi() override;
32 QVideoFrameFormat frameFormat()
const override;
35 bool setActiveInternal(
bool active) override;
39 std::unique_ptr<Grabber> m_grabber;
void unmap() override
Releases the memory mapped by the map() function.
MapData map(QVideoFrame::MapMode mode) override
Maps the planes of a video buffer to memory.
QD3D11TextureVideoBuffer(const ComPtr< ID3D11Device > &device, std::shared_ptr< QMutex > &mutex, const ComPtr< ID3D11Texture2D > &texture)
~QD3D11TextureVideoBuffer()
QVideoFrameFormat format() const override
Gets \l QVideoFrameFormat of the underlying video buffer.