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>
35 /* #defines don't like whitespacey bits */
36 #define GST_TYPE_EVASIMAGESINK \
37 (gst_evas_image_sink_get_type())
38 #define GST_EVASIMAGESINK(obj) \
39 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EVASIMAGESINK,GstEvasImageSink))
40 #define GST_EVASIMAGESINK_CLASS(klass) \
41 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EVASIMAGESINK,GstEvasImageSinkClass))
42 #define GST_IS_EVASIMAGESINK(obj) \
43 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EVASIMAGESINK))
44 #define GST_IS_EVASIMAGESINK_CLASS(klass) \
45 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EVASIMAGESINK))
47 typedef struct _GstEvasImageSink GstEvasImageSink;
48 typedef struct _GstEvasImageSinkClass GstEvasImageSinkClass;
50 struct _GstEvasImageSink
63 gboolean is_evas_object_size_set;
64 guint present_data_addr;
67 struct _GstEvasImageSinkClass
69 GstVideoSinkClass parent_class;
72 GType gst_evas_image_sink_get_type (void);
76 #endif /* __GST_EVASIMAGESINK_H__ */