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
23
QT_BEGIN_NAMESPACE
24
25
class
QGstreamerFormatInfo
:
public
QPlatformMediaFormatInfo
26
{
27
public
:
28
QGstreamerFormatInfo
();
29
~QGstreamerFormatInfo
();
30
31
QGstCaps
formatCaps
(
const
QMediaFormat
&
f
)
const
;
32
QGstCaps
audioCaps
(
const
QMediaFormat
&
f
)
const
;
33
QGstCaps
videoCaps
(
const
QMediaFormat
&
f
)
const
;
34
35
static
QMediaFormat::AudioCodec
audioCodecForCaps
(
QGstStructure
structure);
36
static
QMediaFormat::VideoCodec
videoCodecForCaps
(
QGstStructure
structure);
37
static
QMediaFormat::FileFormat
fileFormatForCaps
(
QGstStructure
structure);
38
static
QImageCapture::FileFormat
imageFormatForCaps
(
QGstStructure
structure);
39
40
QList<CodecMap>
getMuxerList
(
bool
demuxer,
QList<QMediaFormat::AudioCodec>
audioCodecs,
QList<QMediaFormat::VideoCodec>
videoCodecs);
41
};
42
43
QT_END_NAMESPACE
44
45
#endif
QGstCaps
Definition
qgst_p.h:160
QGstStructure
Definition
qgst_p.h:133
QGstreamerFormatInfo
Definition
qgstreamerformatinfo_p.h:26
QGstreamerFormatInfo::formatCaps
QGstCaps formatCaps(const QMediaFormat &f) const
Definition
qgstreamerformatinfo.cpp:354
QGstreamerFormatInfo::fileFormatForCaps
static QMediaFormat::FileFormat fileFormatForCaps(QGstStructure structure)
Definition
qgstreamerformatinfo.cpp:86
QGstreamerFormatInfo::videoCaps
QGstCaps videoCaps(const QMediaFormat &f) const
Definition
qgstreamerformatinfo.cpp:399
QGstreamerFormatInfo::imageFormatForCaps
static QImageCapture::FileFormat imageFormatForCaps(QGstStructure structure)
Definition
qgstreamerformatinfo.cpp:122
QGstreamerFormatInfo::videoCodecForCaps
static QMediaFormat::VideoCodec videoCodecForCaps(QGstStructure structure)
Definition
qgstreamerformatinfo.cpp:48
QGstreamerFormatInfo::~QGstreamerFormatInfo
~QGstreamerFormatInfo()
QGstreamerFormatInfo::getMuxerList
QList< CodecMap > getMuxerList(bool demuxer, QList< QMediaFormat::AudioCodec > audioCodecs, QList< QMediaFormat::VideoCodec > videoCodecs)
Definition
qgstreamerformatinfo.cpp:178
QGstreamerFormatInfo::audioCaps
QGstCaps audioCaps(const QMediaFormat &f) const
Definition
qgstreamerformatinfo.cpp:377
QGstreamerFormatInfo::audioCodecForCaps
static QMediaFormat::AudioCodec audioCodecForCaps(QGstStructure structure)
Definition
qgstreamerformatinfo.cpp:10
QGstreamerFormatInfo::QGstreamerFormatInfo
QGstreamerFormatInfo()
Definition
qgstreamerformatinfo.cpp:338
QImageCapture::FileFormat
FileFormat
Choose one of the following image formats:
Definition
qimagecapture.h:56
QList
Definition
qlist.h:74
QMediaFormat
\inmodule QtMultimedia
Definition
qmediaformat.h:19
QMediaFormat::AudioCodec
AudioCodec
\qmlproperty enumeration QtMultimedia::mediaFormat::fileFormat
Definition
qmediaformat.h:47
QMediaFormat::FileFormat
FileFormat
Describes the container format used in a multimedia file or stream.
Definition
qmediaformat.h:26
QMediaFormat::VideoCodec
VideoCodec
\qmlproperty enumeration QtMultimedia::mediaFormat::audioCodec
Definition
qmediaformat.h:64
QPlatformMediaFormatInfo
Definition
qplatformmediaformatinfo_p.h:25
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
qgstutils_p.h
qhash.h
qlist.h
f
GLfloat GLfloat f
Definition
qopengles2ext.h:795
qtmultimedia
src
plugins
multimedia
gstreamer
qgstreamerformatinfo_p.h
Generated by
1.9.7