Tizen 2.0 Release
[framework/multimedia/gstreamer-vaapi.git] / gst / vaapi / gstvaapiencode_mpeg4.h
1 /*
2  *  gstvaapiencode_mpeg4.h - VA-API MPEG-4 encoder
3  *
4  *  Copyright (C) 2011 Intel Corporation
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 License
8  *  as published by the Free Software Foundation; either version 2.1
9  *  of the License, or (at your option) any later version.
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
18  *  Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  *  Boston, MA 02110-1301 USA
20  */
21
22 #ifndef GST_VAAPI_ENCODE_MPEG4_H
23 #define GST_VAAPI_ENCODE_MPEG4_H
24
25 #include <gst/gst.h>
26 #include "gstvaapiencode.h"
27
28 G_BEGIN_DECLS
29
30 #define GST_TYPE_VAAPI_ENCODE_MPEG4 \
31     (gst_vaapi_encode_mpeg4_get_type())
32
33 #define GST_IS_VAAPI_ENCODE_MPEG4(obj) \
34     (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VAAPI_ENCODE_MPEG4))
35
36 #define GST_IS_VAAPI_ENCODE_MPEG4_CLASS(klass) \
37     (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_VAAPI_ENCODE_MPEG4))
38
39 #define GST_VAAPI_ENCODE_MPEG4_GET_CLASS(obj)                  \
40     (G_TYPE_INSTANCE_GET_CLASS ((obj),                         \
41                                 GST_TYPE_VAAPI_ENCODE_MPEG4,   \
42                                 GstVaapiEncodeMpeg4Class))
43
44 #define GST_VAAPI_ENCODE_MPEG4(obj)                            \
45     (G_TYPE_CHECK_INSTANCE_CAST ((obj),                        \
46                                  GST_TYPE_VAAPI_ENCODE_MPEG4,  \
47                                  GstVaapiEncodeMpeg4))
48
49 #define GST_VAAPI_ENCODE_MPEG4_CLASS(klass)                    \
50     (G_TYPE_CHECK_CLASS_CAST ((klass),                         \
51                               GST_TYPE_VAAPI_ENCODE_MPEG4,     \
52                               GstVaapiEncodeMpeg4Class))
53
54
55 typedef struct _GstVaapiEncodeMpeg4        GstVaapiEncodeMpeg4;
56 typedef struct _GstVaapiEncodeMpeg4Class   GstVaapiEncodeMpeg4Class;
57
58 struct _GstVaapiEncodeMpeg4 {
59   GstVaapiEncode parent;
60 };
61
62 struct _GstVaapiEncodeMpeg4Class {
63     GstVaapiEncodeClass     parent_class;
64 };
65
66 GType gst_vaapi_encode_mpeg4_get_type(void);
67
68 G_END_DECLS
69
70 #endif /* GST_VAAPI_ENCODE_MPEG4_H */