summaryrefslogtreecommitdiffstats
path: root/gst/rtjpeg/gstrtjpegdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtjpeg/gstrtjpegdec.h')
-rw-r--r--gst/rtjpeg/gstrtjpegdec.h37
1 files changed, 20 insertions, 17 deletions
diff --git a/gst/rtjpeg/gstrtjpegdec.h b/gst/rtjpeg/gstrtjpegdec.h
index 2214ebd8..23ddce44 100644
--- a/gst/rtjpeg/gstrtjpegdec.h
+++ b/gst/rtjpeg/gstrtjpegdec.h
@@ -26,8 +26,9 @@
#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+extern "C"
+{
+#endif /* __cplusplus */
#define GST_TYPE_RTJPEGDEC \
@@ -41,30 +42,32 @@ extern "C" {
#define GST_IS_RTJPEGDEC_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTJPEGDEC)))
-typedef struct _GstRTJpegDec GstRTJpegDec;
-typedef struct _GstRTJpegDecClass GstRTJpegDecClass;
+ typedef struct _GstRTJpegDec GstRTJpegDec;
+ typedef struct _GstRTJpegDecClass GstRTJpegDecClass;
-struct _GstRTJpegDec {
- GstElement element;
+ struct _GstRTJpegDec
+ {
+ GstElement element;
- GstPad *sinkpad,*srcpad;
+ GstPad *sinkpad, *srcpad;
- gint width,height;
- gint quality;
- gint quant[128];
+ gint width, height;
+ gint quality;
+ gint quant[128];
-};
+ };
-struct _GstRTJpegDecClass {
- GstElementClass parent_class;
-};
+ struct _GstRTJpegDecClass
+ {
+ GstElementClass parent_class;
+ };
-GType gst_rtjpegdec_get_type(void);
+ GType gst_rtjpegdec_get_type (void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __RTJPEGDEC_H__ */
+#endif /* __RTJPEGDEC_H__ */