1 /*
2  * GStreamer
3  * Copyright (C) 2005 Thomas Vander Stichele <thomas@apestaart.org>
4  * Copyright (C) 2005 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5  * Copyright (C) 2011 Igalia S.L.
6 *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Library General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Library General Public License for more details.
16  *
17  * You should have received a copy of the GNU Library General Public
18  * License along with this library; if not, write to the
19  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  */
22 
23 #ifndef __GST_DEBUGSPY_H__
24 #define __GST_DEBUGSPY_H__
25 
26 #include <gst/gst.h>
27 #include <gst/base/gstbasetransform.h>
28 
29 G_BEGIN_DECLS
30 
31 /* #defines don't like whitespacey bits */
32 #define GST_TYPE_DEBUGSPY \
33   (gst_debug_spy_get_type())
34 #define GST_DEBUGSPY(obj) \
35   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DEBUGSPY,GstDebugSpy))
36 #define GST_DEBUGSPY_CLASS(klass) \
37   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DEBUGSPY,GstDebugSpyClass))
38 #define GST_IS_DEBUGSPY(obj) \
39   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DEBUGSPY))
40 #define GST_IS_DEBUGSPY_CLASS(klass) \
41   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DEBUGSPY))
42 
43 typedef struct _GstDebugSpy      GstDebugSpy;
44 typedef struct _GstDebugSpyClass GstDebugSpyClass;
45 
46 struct _GstDebugSpy
47 {
48   GstBaseTransform transform;
49 
50   gboolean silent;
51   GChecksumType checksum_type;
52 };
53 
54 struct _GstDebugSpyClass
55 {
56   GstBaseTransformClass parent_class;
57 };
58 
59 GType gst_debug_spy_get_type (void);
60 
61 G_END_DECLS
62 
63 #endif /* __GST_DEBUGSPY_H__ */
64