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