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
20static_assert(QT_CONFIG(vaapi));
21
22QT_BEGIN_NAMESPACE
23
24class QRhi;
25
26namespace QFFmpeg {
27
32
34{
35public:
36 static std::shared_ptr<VAAPITextureConverter> create(QRhi *rhi);
37
39
41 createTextureHandles(AVFrame *frame, QVideoFrameTexturesHandlesUPtr oldHandles) override;
42
44
45protected:
46 explicit VAAPITextureConverter(QRhi *rhi);
47};
48} // namespace QFFmpeg
49
50QT_END_NAMESPACE
51
52#endif
static std::shared_ptr< VAAPITextureConverter > create(QRhi *rhi)
QVideoFrameTexturesHandlesUPtr createTextureHandles(AVFrame *frame, QVideoFrameTexturesHandlesUPtr oldHandles) override
constexpr bool VAExportUseLayers
QT_BEGIN_NAMESPACE Q_STATIC_LOGGING_CATEGORY(lcSynthesizedIterableAccess, "qt.iterable.synthesized", QtWarningMsg)