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
qdarwinformatsinfo_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
4#ifndef QDARWINFORMATINFO_H
5#define QDARWINFORMATINFO_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 <private/qplatformmediaformatinfo_p.h>
19#include <qlist.h>
20
22
24
26{
27public:
30
31 static int audioFormatForCodec(QMediaFormat::AudioCodec codec);
32 static NSString *videoFormatForCodec(QMediaFormat::VideoCodec codec);
33 static NSString *avFileTypeForContainerFormat(QMediaFormat::FileFormat fileType);
34};
35
36QT_END_NAMESPACE
37
38#endif
AVFCameraSession * session() const
~QDarwinFormatInfo() override
static int audioFormatForCodec(QMediaFormat::AudioCodec codec)
static NSString * videoFormatForCodec(QMediaFormat::VideoCodec codec)
static NSString * avFileTypeForContainerFormat(QMediaFormat::FileFormat fileType)
bool qt_capture_session_isValid(AVFCameraService *service)