tizen beta release
[profile/ivi/gst-openmax0.10.git] / omx / gstomx_jpegenc.h
1 /*
2  * Copyright (C) 2007-2009 Nokia Corporation.
3  *
4  * Author: Felipe Contreras <felipe.contreras@nokia.com>
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  *
20  */
21
22 #ifndef GSTOMX_JPEGENC_H
23 #define GSTOMX_JPEGENC_H
24
25 #include <gst/gst.h>
26
27 #include <config.h>
28
29 G_BEGIN_DECLS
30 #define GST_OMX_JPEGENC(obj) (GstOmxJpegEnc *) (obj)
31 #define GST_OMX_JPEGENC_TYPE (gst_omx_jpegenc_get_type ())
32 typedef struct GstOmxJpegEnc GstOmxJpegEnc;
33 typedef struct GstOmxJpegEncClass GstOmxJpegEncClass;
34
35 #include "gstomx_base_filter.h"
36
37 struct GstOmxJpegEnc
38 {
39   GstOmxBaseFilter omx_base;
40
41   gint framerate_num;
42   gint framerate_denom;
43   guint quality;
44 };
45
46 struct GstOmxJpegEncClass
47 {
48   GstOmxBaseFilterClass parent_class;
49 };
50
51 GType gst_omx_jpegenc_get_type (void);
52
53 G_END_DECLS
54 #endif /* GSTOMX_JPEGENC_H */