Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qffmpegmediaformatinfo_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 QFFmpegMediaFormatInfo_H
5#define QFFmpegMediaFormatInfo_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 <qhash.h>
20#include <qlist.h>
21#include <qaudioformat.h>
22#include "qffmpeg_p.h"
23
25
49
51
52#endif
The QAudioFormat class stores audio stream parameter information.
SampleFormat
Qt will always expect and use samples in the endianness of the host platform.
ChannelConfig
\variable QAudioFormat::NChannelPositions
static QAudioFormat audioFormatFromCodecParameters(AVCodecParameters *codecPar)
static AVCodecID codecIdForAudioCodec(QMediaFormat::AudioCodec codec)
static QMediaFormat::VideoCodec videoCodecForAVCodecId(AVCodecID id)
static QMediaFormat::FileFormat fileFormatForAVInputFormat(const AVInputFormat *format)
static QAudioFormat::SampleFormat sampleFormat(AVSampleFormat format)
static const AVOutputFormat * outputFormatForFileFormat(QMediaFormat::FileFormat format)
static AVCodecID codecIdForVideoCodec(QMediaFormat::VideoCodec codec)
static QMediaFormat::AudioCodec audioCodecForAVCodecId(AVCodecID id)
static AVSampleFormat avSampleFormat(QAudioFormat::SampleFormat format)
static QAudioFormat::ChannelConfig channelConfigForAVLayout(int64_t avChannelLayout)
static int64_t avChannelLayout(QAudioFormat::ChannelConfig channelConfig)
AudioCodec
\qmlproperty enumeration QtMultimedia::mediaFormat::fileFormat
FileFormat
Describes the container format used in a multimedia file or stream.
VideoCodec
\qmlproperty enumeration QtMultimedia::mediaFormat::audioCodec
Combined button and popup list for selecting options.
QAudioFormat::ChannelConfig channelConfig
QMediaFormat::AudioCodec codec
GLint GLsizei GLsizei GLenum format