add Intel Copyright
[profile/ivi/gstreamer-vaapi.git] / gst / vaapiencode / gstvaapih264encode.h
1 /*
2  *  gstvaapih264encode.h - VA-API H.264 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_H264_ENCODE_H
23 #define GST_VAAPI_H264_ENCODE_H
24
25 #include <gst/gst.h>
26 #include "gstvaapiencode.h"
27
28 G_BEGIN_DECLS
29
30 #define GST_TYPE_H264ENCODE             (gst_h264encode_get_type())
31 #define GST_IS_H264ENCODE(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_H264ENCODE))
32 #define GST_IS_H264ENCODE_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_H264ENCODE))
33 #define GST_H264ENCODE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_H264ENCODE, GstH264EncodeClass))
34 #define GST_H264ENCODE(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_H264ENCODE, GstH264Encode))
35 #define GST_H264ENCODE_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_H264ENCODE, GstH264EncodeClass))
36
37
38 typedef struct _GstH264Encode        GstH264Encode;
39 typedef struct _GstH264EncodeClass   GstH264EncodeClass;
40
41 struct _GstH264Encode {
42   GstVaapiEncode parent;
43 };
44
45 struct _GstH264EncodeClass {
46     GstVaapiEncodeClass     parent_class;
47 };
48
49 GType gst_h264encode_get_type(void);
50
51
52 G_END_DECLS
53
54 #endif /* GST_VAAPI_H264_ENCODE_H */
55