tizen beta release
[profile/ivi/gst-openmax0.10.git] / omx / gstomx_videosink.h
1 /*
2  * Copyright (C) 2007-2009 Nokia Corporation.
3  *
4  * Author: Felipe Contreras <felipe.contreras@nokia.com>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation
9  * version 2.1 of the License.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19  *
20  */
21
22 #ifndef GSTOMX_VIDEOSINK_H
23 #define GSTOMX_VIDEOSINK_H
24
25 #include <gst/gst.h>
26
27 G_BEGIN_DECLS
28 #define GST_OMX_VIDEOSINK(obj) (GstOmxVideoSink *) (obj)
29 #define GST_OMX_VIDEOSINK_TYPE (gst_omx_videosink_get_type ())
30 typedef struct GstOmxVideoSink GstOmxVideoSink;
31 typedef struct GstOmxVideoSinkClass GstOmxVideoSinkClass;
32
33 #include "gstomx_base_sink.h"
34
35 struct GstOmxVideoSink
36 {
37   GstOmxBaseSink omx_base;
38   guint x_scale;
39   guint y_scale;
40   guint rotation;
41 };
42
43 struct GstOmxVideoSinkClass
44 {
45   GstOmxBaseSinkClass parent_class;
46 };
47
48 GType gst_omx_videosink_get_type (void);
49
50 G_END_DECLS
51 #endif /* GSTOMX_VIDEOSINK_H */