summaryrefslogtreecommitdiffstats
path: root/src/multimediatestlib/formatutils_p.h
blob: b3790d35f5a3cf3daff78e6c3e03fe6a7af7488d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef FORMATUTILS_P_H
#define FORMATUTILS_P_H

//
//  W A R N I N G
//  -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//

#include <QtMultimedia/qmediaformat.h>
#include <set>
#include <vector>

QT_BEGIN_NAMESPACE

std::set<QMediaFormat::VideoCodec> allVideoCodecs(bool includeUnspecified = false);
std::set<QMediaFormat::AudioCodec> allAudioCodecs(bool includeUnspecified = false);
std::set<QMediaFormat::FileFormat> allFileFormats(bool includeUnspecified = false);
std::vector<QMediaFormat> allMediaFormats(bool includeUnspecified = false);

QT_END_NAMESPACE

#endif