accidentally had object file in git
[sparrow.git] / gstsparrow.h
blobd1001efa5ee014eebc29fa3766942b3e77dbed3a
1 /* GStreamer
2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
3 * Copyright (C) <2003> David Schleef <ds@schleef.org>
4 * Copyright (C) <2003> Arwed v. Merkatz <v.merkatz@gmx.net>
5 * Copyright (C) <2006> Mark Nauwelaerts <manauw@skynet.be>
6 * Copyright (C) <2010> Douglas Bagnall <douglas@halo.gen.nz>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
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 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library; if not, write to the
20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
25 #ifndef __GST_VIDEO_SPARROW_H__
26 #define __GST_VIDEO_SPARROW_H__
28 #define DSFMT_MEXP 19937
30 #include <gst/video/gstvideofilter.h>
32 #include "sparrowconfig.h"
33 #include "dSFMT/dSFMT.h"
35 #define UNUSED __attribute__ ((unused))
37 G_BEGIN_DECLS
39 #define GST_TYPE_SPARROW \
40 (gst_sparrow_get_type())
41 #define GST_SPARROW(obj) \
42 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_SPARROW,GstSparrow))
43 #define GST_SPARROW_CLASS(klass) \
44 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_SPARROW,GstSparrowClass))
45 #define GST_IS_SPARROW(obj) \
46 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SPARROW))
47 #define GST_IS_SPARROW_CLASS(klass) \
48 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SPARROW))
50 typedef struct _GstSparrow GstSparrow;
51 typedef struct _GstSparrowClass GstSparrowClass;
53 /**
54 * GstSparrow:
56 * Opaque data structure.
58 struct _GstSparrow
60 GstVideoFilter videofilter;
63 /* format */
64 gint width;
65 gint height;
66 gint size;
68 guint32 calibrate_offset = 1;
70 /* properties */
71 gint calibrate;
72 /* tables */
74 /* stuff */
75 dsfmt_t dsfmt __attribute__ ((aligned));
76 gboolean rng_has_init = FALSE;
79 struct _GstSparrowClass
81 GstVideoFilterClass parent_class;
84 GType gst_sparrow_get_type(void);
100 G_END_DECLS
101 #endif /* __GST_VIDEO_SPARROW_H__ */