Qt
6.x
The Qt SDK
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 "
qffmpeghwaccel_p.h
"
18
19
#if QT_CONFIG(vaapi)
20
21
#include <
qshareddata.h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QRhi
;
26
class
QOpenGLContext
;
27
28
namespace
QFFmpeg
{
29
30
class
VAAPITextureConverter :
public
TextureConverterBackend
31
{
32
public
:
33
VAAPITextureConverter(
QRhi
*rhi);
34
~VAAPITextureConverter();
35
36
TextureSet *getTextures(AVFrame *
frame
)
override
;
37
38
Qt::HANDLE
eglDisplay =
nullptr
;
39
QOpenGLContext
*glContext =
nullptr
;
40
QFunctionPointer eglImageTargetTexture2D =
nullptr
;
41
};
42
}
43
44
QT_END_NAMESPACE
45
46
#endif
47
48
#endif
QOpenGLContext
\inmodule QtGui
Definition
qopenglcontext.h:67
QRhi
\inmodule QtGui
Definition
qrhi.h:1767
QFFmpeg
Definition
qffmpegaudiorenderer.cpp:17
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
Qt::HANDLE
void * HANDLE
Definition
qnamespace.h:1535
qffmpeghwaccel_p.h
qshareddata.h
frame
QFrame frame
[0]
Definition
src_gui_painting_qdrawutil.cpp:6
qtmultimedia
src
plugins
multimedia
ffmpeg
qffmpeghwaccel_vaapi_p.h
Generated by
1.9.7