Infrastructure for filters.
[harmattan/cameraplus] / lib / gst / gstcopy.h
1 // -*- c++ -*-
2
3 /*!
4  * This file is part of CameraPlus.
5  *
6  * Copyright (C) 2012 Mohammed Sameer <msameer@foolab.org>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21  */
22
23 #ifndef GST_COPY_H
24 #define GST_COPY_H
25
26 #include <gst/gst.h>
27 #include <gst/base/gstbasetransform.h>
28
29 G_BEGIN_DECLS
30
31 #define GST_TYPE_COPY \
32   (gst_copy_get_type())
33 #define GST_COPY(obj) \
34   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_COPY,GstCopy))
35 #define GST_COPY_CLASS(klass) \
36   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_COPY,GstCopyClass))
37 #define GST_IS_COPY(obj) \
38   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_COPY))
39 #define GST_IS_COPY_CLASS(klass) \
40   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_COPY))
41
42 typedef struct _GstCopy      GstCopy;
43 typedef struct _GstCopyClass GstCopyClass;
44
45 struct _GstCopy
46 {
47   GstBaseTransform element;
48 };
49
50 struct _GstCopyClass
51 {
52   GstBaseTransformClass parent_class;
53 };
54
55 GType gst_copy_get_type (void);
56
57 gboolean gst_zip_src_register();
58
59 G_END_DECLS
60
61 gboolean qt_cam_copy_register();
62
63 #endif /* GST_COPY_H */