Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qffmpegscreencapture_dxgi_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR
3// GPL-3.0-only
4
5#ifndef QFFMPEGSCREENCAPTURE_WINDOWS_H
6#define QFFMPEGSCREENCAPTURE_WINDOWS_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include "qvideoframeformat.h"
20#include <private/qcomptr_p.h>
21#include <private/qplatformsurfacecapture_p.h>
22#include <memory>
23
25
27{
28public:
29 explicit QFFmpegScreenCaptureDxgi();
30
32
33 QVideoFrameFormat frameFormat() const override;
34
35private:
36 bool setActiveInternal(bool active) override;
37
38private:
39 class Grabber;
40 std::unique_ptr<Grabber> m_grabber;
41};
42
44
45#endif // QFFMPEGSCREENCAPTURE_WINDOWS_H
QVideoFrameFormat frameFormat() const override
~QFFmpegScreenCaptureDxgi() override
bool setActiveInternal(bool active) override
The QVideoFrameFormat class specifies the stream format of a video presentation surface.
Combined button and popup list for selecting options.