Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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 GPL-3.0-only
3
4
#
ifndef
QFFMPEGSCREENCAPTURE_WINDOWS_H
5
#
define
QFFMPEGSCREENCAPTURE_WINDOWS_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
"qvideoframeformat.h"
19
#
include
<
QtCore
/
private
/
qcomptr_p
.
h
>
20
#
include
<
QtMultimedia
/
private
/
qplatformsurfacecapture_p
.
h
>
21
#
include
<
memory
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QFFmpegScreenCaptureDxgi :
public
QPlatformSurfaceCapture
26
{
27
public
:
28
explicit
QFFmpegScreenCaptureDxgi();
29
30
~QFFmpegScreenCaptureDxgi() override;
31
32
QVideoFrameFormat frameFormat()
const
override;
33
34
protected
:
35
bool
setActiveInternal(
bool
active) override;
36
37
private
:
38
class
Grabber;
39
std::unique_ptr<Grabber> m_grabber;
40
};
41
42
QT_END_NAMESPACE
43
44
#
endif
// QFFMPEGSCREENCAPTURE_WINDOWS_H
QD3D11TextureVideoBuffer
Definition
qffmpegscreencapture_dxgi.cpp:67
QD3D11TextureVideoBuffer::unmap
void unmap() override
Releases the memory mapped by the map() function.
Definition
qffmpegscreencapture_dxgi.cpp:118
QD3D11TextureVideoBuffer::map
MapData map(QVideoFrame::MapMode mode) override
Maps the planes of a video buffer to memory.
Definition
qffmpegscreencapture_dxgi.cpp:76
QD3D11TextureVideoBuffer::QD3D11TextureVideoBuffer
QD3D11TextureVideoBuffer(const ComPtr< ID3D11Device > &device, std::shared_ptr< QMutex > &mutex, const ComPtr< ID3D11Texture2D > &texture)
Definition
qffmpegscreencapture_dxgi.cpp:69
QD3D11TextureVideoBuffer::~QD3D11TextureVideoBuffer
~QD3D11TextureVideoBuffer()
Definition
qffmpegscreencapture_dxgi.cpp:74
QD3D11TextureVideoBuffer::getSize
QSize getSize() const
Definition
qffmpegscreencapture_dxgi.cpp:134
QD3D11TextureVideoBuffer::format
QVideoFrameFormat format() const override
Gets \l QVideoFrameFormat of the underlying video buffer.
Definition
qffmpegscreencapture_dxgi.cpp:132
QFFmpegScreenCaptureDxgi::Grabber
Definition
qffmpegscreencapture_dxgi.cpp:359
QFFmpegScreenCaptureDxgi::Grabber::Grabber
Grabber(QFFmpegScreenCaptureDxgi &screenCapture, QScreen *screen, const QVideoFrameFormat &format)
Definition
qffmpegscreencapture_dxgi.cpp:361
QFFmpegScreenCaptureDxgi::Grabber::~Grabber
~Grabber()
Definition
qffmpegscreencapture_dxgi.cpp:373
QFFmpegScreenCaptureDxgi::Grabber::grabFrame
QVideoFrame grabFrame() override
Definition
qffmpegscreencapture_dxgi.cpp:381
QFFmpegScreenCaptureDxgi::Grabber::format
QVideoFrameFormat format()
Definition
qffmpegscreencapture_dxgi.cpp:377
QFFmpegScreenCaptureDxgi::Grabber::initializeGrabbingContext
void initializeGrabbingContext() override
Definition
qffmpegscreencapture_dxgi.cpp:429
QVideoFrameFormat
The QVideoFrameFormat class specifies the stream format of a video presentation surface.
Definition
qvideoframeformat.h:28
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
qCWarning
#define qCWarning(category,...)
Definition
qloggingcategory.h:164
qCDebug
#define qCDebug(category,...)
Definition
qloggingcategory.h:162
Q_STATIC_LOGGING_CATEGORY
#define Q_STATIC_LOGGING_CATEGORY(name,...)
Definition
qloggingcategory.h:154
qtmultimedia
src
plugins
multimedia
ffmpeg
qffmpegscreencapture_dxgi_p.h
Generated on
for Qt by
1.18.0