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
qpipewire_spa_video_format_support_p.h
Go to the documentation of this file.
1// Copyright (C) 2026 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 QPIPEWIRE_SPA_VIDEO_FORMAT_SUPPORT_P_H
5#define QPIPEWIRE_SPA_VIDEO_FORMAT_SUPPORT_P_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 <QtMultimedia/private/qtmultimediaglobal_p.h>
19#include <QtMultimedia/qcameradevice.h>
20#include <QtMultimedia/qvideoframeformat.h>
21#include <QtCore/qlist.h>
22#include <QtCore/qsize.h>
23#include <QtCore/qspan.h>
24
25#if __has_include(<spa/param/format.h>)
26# include <spa/param/format.h>
27#else
28# include <QtMultimedia/private/qpipewire_spa_compat_p.h>
29#endif
30#include <spa/pod/pod.h>
31
32#include <optional>
33#include <variant>
34#include <vector>
35
36QT_BEGIN_NAMESPACE
37
38namespace QtPipeWire {
39
46
61
62// Cross product of the pixel formats and resolutions of 'formats'
64
65} // namespace QtPipeWire
66
67QT_END_NAMESPACE
68
69#endif // QPIPEWIRE_SPA_VIDEO_FORMAT_SUPPORT_P_H
QList< QCameraFormat > toCameraFormats(QSpan< const SpaObjectVideoFormat > formats)
#define __has_include(x)