omxvideodec: support interlace-mode=interleaved input
[platform/upstream/gstreamer.git] / omx / gstomxh265dec.h
1 /*
2  * Copyright (C) 2011, Hewlett-Packard Development Company, L.P.
3  * Copyright (C) 2017 Xilinx, Inc.
4  *   Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>, Collabora Ltd.
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 __GST_OMX_H265_DEC_H__
23 #define __GST_OMX_H265_DEC_H__
24
25 #include <gst/gst.h>
26 #include "gstomxvideodec.h"
27
28 G_BEGIN_DECLS
29
30 #define GST_TYPE_OMX_H265_DEC \
31   (gst_omx_h265_dec_get_type())
32 #define GST_OMX_H265_DEC(obj) \
33   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OMX_H265_DEC,GstOMXH265Dec))
34 #define GST_OMX_H265_DEC_CLASS(klass) \
35   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OMX_H265_DEC,GstOMXH265DecClass))
36 #define GST_OMX_H265_DEC_GET_CLASS(obj) \
37   (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_OMX_H265_DEC,GstOMXH265DecClass))
38 #define GST_IS_OMX_H265_DEC(obj) \
39   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OMX_H265_DEC))
40 #define GST_IS_OMX_H265_DEC_CLASS(obj) \
41   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OMX_H265_DEC))
42
43 typedef struct _GstOMXH265Dec GstOMXH265Dec;
44 typedef struct _GstOMXH265DecClass GstOMXH265DecClass;
45
46 struct _GstOMXH265Dec
47 {
48   GstOMXVideoDec parent;
49 };
50
51 struct _GstOMXH265DecClass
52 {
53   GstOMXVideoDecClass parent_class;
54 };
55
56 GType gst_omx_h265_dec_get_type (void);
57
58 G_END_DECLS
59
60 #endif /* __GST_OMX_H265_DEC_H__ */
61