3 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
4 * Copyright (C) 2002,2007 David A. Schleef <ds@schleef.org>
5 * Copyright (C) 2008 Julien Isorce <julien.isorce@gmail.com>
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.
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.
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.
23 #ifndef __GST_GL_TEST_SRC_H__
24 #define __GST_GL_TEST_SRC_H__
28 #include <gst/gl/gl.h>
30 #include "gltestsrc.h"
34 #define GST_TYPE_GL_TEST_SRC \
35 (gst_gl_test_src_get_type())
36 #define GST_GL_TEST_SRC(obj) \
37 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GL_TEST_SRC,GstGLTestSrc))
38 #define GST_GL_TEST_SRC_CLASS(klass) \
39 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_GL_TEST_SRC,GstGLTestSrcClass))
40 #define GST_IS_GL_TEST_SRC(obj) \
41 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_GL_TEST_SRC))
42 #define GST_IS_GL_TEST_SRC_CLASS(klass) \
43 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_GL_TEST_SRC))
45 typedef struct _GstGLTestSrcClass GstGLTestSrcClass;
50 * Opaque data structure.
52 struct _GstGLTestSrc {
58 GstGLTestSrcPattern set_pattern;
59 GstGLTestSrcPattern active_pattern;
61 GstGLFramebuffer *fbo;
62 const struct SrcFuncs *src_funcs;
66 struct _GstGLTestSrcClass {
67 GstGLBaseSrcClass parent_class;
70 GType gst_gl_test_src_get_type (void);
74 #endif /* __GST_GL_TEST_SRC_H__ */