1 /* gstgoom.c: implementation of goom drawing element
2 * Copyright (C) <2001> Richard Boulton <richard@tartarus.org>
3 * (C) <2006> Wim Taymans <wim at fluendo dot com>
4 * Copyright (C) <2015> Luis de Bethencourt <luis@debethencourt.com>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 #ifndef __GST_GOOM_H__
23 #define __GST_GOOM_H__
25 #include <gst/pbutils/gstaudiovisualizer.h>
27 #include "goom_core.h"
31 #define GOOM2K1_SAMPLES 512
33 #define GST_TYPE_GOOM2K1 (gst_goom2k1_get_type())
34 #define GST_GOOM2K1(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GOOM2K1,GstGoom2k1))
35 #define GST_GOOM2K1_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_GOOM2K1,GstGoom2k1Class))
36 #define GST_IS_GOOM2K1(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_GOOM2K1))
37 #define GST_IS_GOOM2K1_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_GOOM2K1))
39 typedef struct _GstGoom2k1 GstGoom2k1;
40 typedef struct _GstGoom2k1Class GstGoom2k1Class;
44 GstAudioVisualizer parent;
57 struct _GstGoom2k1Class
59 GstAudioVisualizerClass parent_class;
62 GType gst_goom2k1_get_type (void);
63 gboolean gst_goom2k1_plugin_init (GstPlugin * plugin);
67 #endif /* __GST_GOOM_H__ */