Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgstutils_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QGSTUTILS_P_H
5#define QGSTUTILS_P_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/qtmultimediaglobal_p.h>
19#include <QtCore/qlist.h>
20#include <QtCore/qmap.h>
21#include <QtCore/qset.h>
22#include <qgst_p.h>
23#include <gst/video/video.h>
24#include <qaudioformat.h>
25#include <qcamera.h>
26#include <qvideoframe.h>
27#include <QDebug>
28
30
31class QSize;
32class QVariant;
33class QByteArray;
34class QImage;
36
37namespace QGstUtils {
38 Q_MULTIMEDIA_EXPORT QAudioFormat audioFormatForSample(GstSample *sample);
40 Q_MULTIMEDIA_EXPORT QGstCaps capsForAudioFormat(const QAudioFormat &format);
41
42 void setFrameTimeStamps(QVideoFrame *frame, GstBuffer *buffer);
43}
44
45Q_MULTIMEDIA_EXPORT GList *qt_gst_video_sinks();
46
48
49#endif
The QAudioFormat class stores audio stream parameter information.
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtGui
Definition qimage.h:37
\inmodule QtCore
Definition qsize.h:25
\inmodule QtCore
Definition qvariant.h:64
The QVideoFrameFormat class specifies the stream format of a video presentation surface.
The QVideoFrame class represents a frame of video data.
Definition qvideoframe.h:26
void setFrameTimeStamps(QVideoFrame *frame, GstBuffer *buffer)
Q_MULTIMEDIA_EXPORT QGstCaps capsForAudioFormat(const QAudioFormat &format)
Definition qgstutils.cpp:99
QAudioFormat audioFormatForCaps(const QGstCaps &caps)
Definition qgstutils.cpp:72
Q_MULTIMEDIA_EXPORT QAudioFormat audioFormatForSample(GstSample *sample)
Definition qgstutils.cpp:64
Combined button and popup list for selecting options.
Q_MULTIMEDIA_EXPORT GList * qt_gst_video_sinks()
GLenum GLuint buffer
GLint GLsizei GLsizei GLenum format
QFrame frame
[0]