Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qffmpeghwaccel_vaapi_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
#
ifndef
QFFMPEGHWACCEL_VAAPI_P_H
4
#
define
QFFMPEGHWACCEL_VAAPI_P_H
5
6
//
7
// W A R N I N G
8
// -------------
9
//
10
// This file is not part of the Qt API. It exists purely as an
11
// implementation detail. This header file may change from version to
12
// version without notice, or even be removed.
13
//
14
// We mean it.
15
//
16
17
#
include
<
QtMultimedia
/
private
/
qdmabuftextureimporter_p
.
h
>
18
#
include
<
QtFFmpegMediaPluginImpl
/
private
/
qffmpegtextureconverter_p
.
h
>
19
20
static_assert
(QT_CONFIG(vaapi));
21
22
QT_BEGIN_NAMESPACE
23
24
class
QRhi;
25
26
namespace
QFFmpeg
{
27
28
using
QtMultimediaPrivate
::
DmaBufEglContext
;
29
using
QtMultimediaPrivate
::
DmaBufPlane
;
30
using
QtMultimediaPrivate
::
FailureSeverity
;
31
using
QtMultimediaPrivate
::
importDmaBufTextures
;
32
33
class
VAAPITextureConverter
:
public
TextureConverterBackend
34
{
35
public
:
36
VAAPITextureConverter
(QRhi *rhi);
37
~
VAAPITextureConverter
()
override
;
38
39
QVideoFrameTexturesHandlesUPtr
40
createTextureHandles
(AVFrame *frame, QVideoFrameTexturesHandlesUPtr oldHandles)
override
;
41
42
DmaBufEglContext
eglContext
;
43
};
44
}
// namespace QFFmpeg
45
46
QT_END_NAMESPACE
47
48
#
endif
QFFmpeg::VAAPITextureConverter
Definition
qffmpeghwaccel_vaapi_p.h:34
QFFmpeg::VAAPITextureConverter::~VAAPITextureConverter
~VAAPITextureConverter() override
QFFmpeg::VAAPITextureConverter::VAAPITextureConverter
VAAPITextureConverter(QRhi *rhi)
Definition
qffmpeghwaccel_vaapi.cpp:38
QFFmpeg::VAAPITextureConverter::createTextureHandles
QVideoFrameTexturesHandlesUPtr createTextureHandles(AVFrame *frame, QVideoFrameTexturesHandlesUPtr oldHandles) override
Definition
qffmpeghwaccel_vaapi.cpp:55
QFFmpeg::VAAPITextureConverter::eglContext
DmaBufEglContext eglContext
Definition
qffmpeghwaccel_vaapi_p.h:42
QFFmpeg::QMacScreenCaptureStreamDelegate
QT_MANGLE_NAMESPACE(QMacScreenCaptureStreamDelegate) QMacScreenCaptureStreamDelegate
Definition
qmacscreencapturekit_p.h:47
QFFmpeg::VAExportUseLayers
constexpr bool VAExportUseLayers
Definition
qffmpeghwaccel_vaapi.cpp:36
Q_STATIC_LOGGING_CATEGORY
QT_BEGIN_NAMESPACE Q_STATIC_LOGGING_CATEGORY(lcSynthesizedIterableAccess, "qt.iterable.synthesized", QtWarningMsg)
qtmultimedia
src
plugins
multimedia
ffmpeg
qffmpeghwaccel_vaapi_p.h
Generated on
for Qt by
1.16.1