4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Sangchul Lee <sc11.lee@samsung.com>
8 * This library is free software; you can redistribute it and/or modify it under
9 * the terms of the GNU Lesser General Public License as published by the
10 * Free Software Foundation; either version 2.1 of the License, or (at your option)
13 * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16 * License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this library; if not, write to the Free Software Foundation, Inc., 51
20 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 #ifndef __GST_EVASIMAGESINK_H__
25 #define __GST_EVASIMAGESINK_H__
28 #include <gst/video/gstvideosink.h>
34 /* #defines don't like whitespacey bits */
35 #define GST_TYPE_EVASIMAGESINK \
36 (gst_evas_image_sink_get_type())
37 #define GST_EVASIMAGESINK(obj) \
38 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EVASIMAGESINK,GstEvasImageSink))
39 #define GST_EVASIMAGESINK_CLASS(klass) \
40 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EVASIMAGESINK,GstEvasImageSinkClass))
41 #define GST_IS_EVASIMAGESINK(obj) \
42 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EVASIMAGESINK))
43 #define GST_IS_EVASIMAGESINK_CLASS(klass) \
44 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EVASIMAGESINK))
46 typedef struct _GstEvasImageSink GstEvasImageSink;
47 typedef struct _GstEvasImageSinkClass GstEvasImageSinkClass;
49 struct _GstEvasImageSink
52 GstPad *sinkpad, *srcpad;
63 struct _GstEvasImageSinkClass
65 GstVideoSinkClass parent_class;
68 GType gst_evas_image_sink_get_type (void);
72 #endif /* __GST_EVASIMAGESINK_H__ */