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
qqnxformatinfo.cpp
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
5
7
8QQnxFormatInfo::QQnxFormatInfo()
9{
10 // ### This is probably somewhat correct for encoding, but should be checked
11 encoders = {
12 { QMediaFormat::MPEG4,
13 { QMediaFormat::AudioCodec::AAC },
14 { QMediaFormat::VideoCodec::H264 } },
15 { QMediaFormat::Mpeg4Audio,
16 { QMediaFormat::AudioCodec::AAC },
17 {} },
18 { QMediaFormat::Wave,
19 { QMediaFormat::AudioCodec::Wave },
20 {} },
21 { QMediaFormat::AAC,
22 { QMediaFormat::AudioCodec::AAC },
23 {} },
24 };
25
26 // ### There can apparently be more codecs and demuxers installed on the system as plugins
27 // Need to find a way to determine the list at compile time or runtime
28 decoders = encoders;
29
30 // ###
31 imageFormats << QImageCapture::JPEG;
32}
33
34QQnxFormatInfo::~QQnxFormatInfo() = default;
35
36QT_END_NAMESPACE