1// Copyright (C) 2024 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 QGST_DEBUG_P_H
5#define QGST_DEBUG_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 "qgst_p.h"
19#include <qdebug.h>
20#include <gst/play/gstplay.h>
21
22QT_BEGIN_NAMESPACE
23
24class QGstreamerMessage;
25
26QDebug operator<<(QDebug, const QGstCaps &);
27QDebug operator<<(QDebug, const QGstStructureView &);
28QDebug operator<<(QDebug, const QUniqueGstStructureHandle &);
29QDebug operator<<(QDebug, const QGstElement &);
30QDebug operator<<(QDebug, const QGstPad &);
31QDebug operator<<(QDebug, const QGString &);
32QDebug operator<<(QDebug, const QGValue &);
33QDebug operator<<(QDebug, const QGstreamerMessage &);
34QDebug operator<<(QDebug, const QUniqueGErrorHandle &);
35QDebug operator<<(QDebug, const QUniqueGStringHandle &);
36QDebug operator<<(QDebug, const QGstStreamCollectionHandle &);
37QDebug operator<<(QDebug, const QGstStreamHandle &);
38QDebug operator<<(QDebug, const QGstTagListHandle &);
39
40QDebug operator<<(QDebug, const GstCaps *);
41QDebug operator<<(QDebug, const GstVideoInfo *);
42QDebug operator<<(QDebug, const GstStructure *);
43QDebug operator<<(QDebug, const GstObject *);
44QDebug operator<<(QDebug, const GstElement *);
45QDebug operator<<(QDebug, const GstPad *);
46QDebug operator<<(QDebug, const GstDevice *);
47QDebug operator<<(QDebug, const GstMessage *);
48QDebug operator<<(QDebug, const GstTagList *);
49QDebug operator<<(QDebug, const GstQuery *);
50QDebug operator<<(QDebug, const GstEvent *);
51QDebug operator<<(QDebug, const GstPadTemplate *);
52QDebug operator<<(QDebug, const GstStreamCollection *);
53QDebug operator<<(QDebug, const GstStream *);
54
55QDebug operator<<(QDebug, GstState);
56QDebug operator<<(QDebug, GstStateChange);
57QDebug operator<<(QDebug, GstStateChangeReturn);
58QDebug operator<<(QDebug, GstMessageType);
59QDebug operator<<(QDebug, GstPadDirection);
60QDebug operator<<(QDebug, GstStreamStatusType);
61QDebug operator<<(QDebug, GstStreamType);
62
63QDebug operator<<(QDebug, const GValue *);
64QDebug operator<<(QDebug, const GError *);
65
66struct QCompactGstMessageAdaptor
67{
68 explicit QCompactGstMessageAdaptor(const QGstreamerMessage &m);
69 explicit QCompactGstMessageAdaptor(GstMessage *m);
70 GstMessage *msg;
71};
72QDebug operator<<(QDebug, const QCompactGstMessageAdaptor &);
73
74QDebug operator<<(QDebug dbg, GstPlayState type);
75QDebug operator<<(QDebug dbg, GstPlayMessage type);
76
77struct QGstPlayMessageAdaptor
78{
79 explicit QGstPlayMessageAdaptor(const QGstreamerMessage &m);
80 explicit QGstPlayMessageAdaptor(GstMessage *m);
81 GstMessage *msg;
82};
83QDebug operator<<(QDebug, const QGstPlayMessageAdaptor &);
84
85QT_END_NAMESPACE
86
87#endif
88

Provided by KDAB

Privacy Policy
Learn to use CMake with our Intro Training
Find out more

source code of qtmultimedia/src/plugins/multimedia/gstreamer/common/qgst_debug_p.h