summaryrefslogtreecommitdiffstats
path: root/gst/rtjpeg/gstrtjpegenc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtjpeg/gstrtjpegenc.h')
-rw-r--r--gst/rtjpeg/gstrtjpegenc.h37
1 files changed, 20 insertions, 17 deletions
diff --git a/gst/rtjpeg/gstrtjpegenc.h b/gst/rtjpeg/gstrtjpegenc.h
index 61303b7b..34c143b2 100644
--- a/gst/rtjpeg/gstrtjpegenc.h
+++ b/gst/rtjpeg/gstrtjpegenc.h
@@ -28,8 +28,9 @@
#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+extern "C"
+{
+#endif /* __cplusplus */
#define GST_TYPE_RTJPEGENC \
@@ -43,29 +44,31 @@ extern "C" {
#define GST_IS_RTJPEGENC_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTJPEGENC))
-typedef struct _GstRTJpegEnc GstRTJpegEnc;
-typedef struct _GstRTJpegEncClass GstRTJpegEncClass;
+ typedef struct _GstRTJpegEnc GstRTJpegEnc;
+ typedef struct _GstRTJpegEncClass GstRTJpegEncClass;
-struct _GstRTJpegEnc {
- GstElement element;
+ struct _GstRTJpegEnc
+ {
+ 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 _GstRTJpegEncClass {
- GstElementClass parent_class;
-};
+ struct _GstRTJpegEncClass
+ {
+ GstElementClass parent_class;
+ };
-GType gst_rtjpegenc_get_type(void);
+ GType gst_rtjpegenc_get_type (void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __RTJPEGENC_H__ */
+#endif /* __RTJPEGENC_H__ */