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_BASE_VIDEOENC_H
23 #define GSTOMX_BASE_VIDEOENC_H
28 #define GST_OMX_BASE_VIDEOENC(obj) (GstOmxBaseVideoEnc *) (obj)
29 #define GST_OMX_BASE_VIDEOENC_TYPE (gst_omx_base_videoenc_get_type ())
30 #define GST_OMX_BASE_VIDEOENC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GST_OMX_BASE_VIDEOENC_TYPE, GstOmxBaseVideoEncClass))
31 typedef struct GstOmxBaseVideoEnc GstOmxBaseVideoEnc;
32 typedef struct GstOmxBaseVideoEncClass GstOmxBaseVideoEncClass;
34 #include "gstomx_base_filter.h"
36 struct GstOmxBaseVideoEnc
38 GstOmxBaseFilter omx_base;
40 OMX_VIDEO_CODINGTYPE compression_format;
44 gboolean use_force_key_frame;
47 struct GstOmxBaseVideoEncClass
49 GstOmxBaseFilterClass parent_class;
52 GType gst_omx_base_videoenc_get_type (void);
55 #endif /* GSTOMX_BASE_VIDEOENC_H */