1 /*
2 * GStreamer
3 * Copyright (c) 2010, Texas Instruments Incorporated
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation
8 * version 2.1 of the License.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
20 #ifndef __GST_DUCATIMPEG2DEC_H__
21 #define __GST_DUCATIMPEG2DEC_H__
23 #include <gst/gst.h>
25 #include "gstducatividdec.h"
27 #include <ti/sdo/codecs/mpeg2vdec/impeg2vdec.h>
30 G_BEGIN_DECLS
32 #define GST_TYPE_DUCATIMPEG2DEC (gst_ducati_mpeg2dec_get_type())
33 #define GST_DUCATIMPEG2DEC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_DUCATIMPEG2DEC, GstDucatiMpeg2Dec))
34 #define GST_DUCATIMPEG2DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_DUCATIMPEG2DEC, GstDucatiMpeg2DecClass))
35 #define GST_IS_DUCATIMPEG2DEC(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_DUCATIMPEG2DEC))
36 #define GST_IS_DUCATIMPEG2DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_DUCATIMPEG2DEC))
38 typedef struct _GstDucatiMpeg2Dec GstDucatiMpeg2Dec;
39 typedef struct _GstDucatiMpeg2DecClass GstDucatiMpeg2DecClass;
41 struct _GstDucatiMpeg2Dec
42 {
43 GstDucatiVidDec parent;
45 gboolean prepend_codec_data;
46 };
48 struct _GstDucatiMpeg2DecClass
49 {
50 GstDucatiVidDecClass parent_class;
51 };
53 GType gst_ducati_mpeg2dec_get_type (void);
55 G_END_DECLS
57 #endif /* __GST_DUCATIMPEG2DEC_H__ */