Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgstreamerformatinfo_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 QGSTREAMERFORMATINFO_H
5#define QGSTREAMERFORMATINFO_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 <qgstutils_p.h>
22
24
26{
27public:
30
31 QGstCaps formatCaps(const QMediaFormat &f) const;
32 QGstCaps audioCaps(const QMediaFormat &f) const;
33 QGstCaps videoCaps(const QMediaFormat &f) const;
34
39
41};
42
44
45#endif
QGstCaps formatCaps(const QMediaFormat &f) const
static QMediaFormat::FileFormat fileFormatForCaps(QGstStructure structure)
QGstCaps videoCaps(const QMediaFormat &f) const
static QImageCapture::FileFormat imageFormatForCaps(QGstStructure structure)
static QMediaFormat::VideoCodec videoCodecForCaps(QGstStructure structure)
QList< CodecMap > getMuxerList(bool demuxer, QList< QMediaFormat::AudioCodec > audioCodecs, QList< QMediaFormat::VideoCodec > videoCodecs)
QGstCaps audioCaps(const QMediaFormat &f) const
static QMediaFormat::AudioCodec audioCodecForCaps(QGstStructure structure)
FileFormat
Choose one of the following image formats:
Definition qlist.h:74
\inmodule QtMultimedia
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.
GLfloat GLfloat f