2 * Copyright (C) 2007-2009 Nokia Corporation.
4 * Author: Felipe Contreras <felipe.contreras@nokia.com>
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.
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.
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
22 #ifndef GSTOMX_H264DEC_H
23 #define GSTOMX_H264DEC_H
28 #define GST_OMX_H264DEC(obj) (GstOmxH264Dec *) (obj)
29 #define GST_OMX_H264DEC_TYPE (gst_omx_h264dec_get_type ())
31 typedef struct GstOmxH264Dec GstOmxH264Dec;
32 typedef struct GstOmxH264DecClass GstOmxH264DecClass;
34 #include "gstomx_base_videodec.h"
35 #include "gstomx_h264.h"
39 GstOmxBaseVideoDec omx_base;
40 GSTOMX_H264_STREAM_FORMAT h264Format;
41 OMX_U32 h264NalLengthSize;
44 struct GstOmxH264DecClass
46 GstOmxBaseVideoDecClass parent_class;
49 GType gst_omx_h264dec_get_type (void);
52 #endif /* GSTOMX_H264DEC_H */