summaryrefslogtreecommitdiffstats
path: root/ext/jpeg/gstjpegenc.h
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
committerJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
commit5acffea623eaa95469a8fb77260c85240c6c0a41 (patch)
tree5d1eb5b3c6cbe7ff7888cfe0b2f972f7e509e99d /ext/jpeg/gstjpegenc.h
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'ext/jpeg/gstjpegenc.h')
-rw-r--r--ext/jpeg/gstjpegenc.h69
1 files changed, 33 insertions, 36 deletions
diff --git a/ext/jpeg/gstjpegenc.h b/ext/jpeg/gstjpegenc.h
index beeaf6f9..b68b4859 100644
--- a/ext/jpeg/gstjpegenc.h
+++ b/ext/jpeg/gstjpegenc.h
@@ -30,9 +30,8 @@
#include <jpeglib.h>
#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
+extern "C" {
+#endif /* __cplusplus */
#define GST_TYPE_JPEGENC \
@@ -46,50 +45,48 @@ extern "C"
#define GST_IS_JPEGENC_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_JPEGENC))
- typedef struct _GstJpegEnc GstJpegEnc;
- typedef struct _GstJpegEncClass GstJpegEncClass;
+typedef struct _GstJpegEnc GstJpegEnc;
+typedef struct _GstJpegEncClass GstJpegEncClass;
- struct _GstJpegEnc
- {
- GstElement element;
+struct _GstJpegEnc {
+ GstElement element;
- /* pads */
- GstPad *sinkpad, *srcpad;
+ /* pads */
+ GstPad *sinkpad,*srcpad;
- /* video state */
- gint format;
- gint width;
- gint height;
- gdouble fps;
- /* the video buffer */
- gint bufsize;
- GstBuffer *buffer;
- guint row_stride;
- /* the jpeg line buffer */
- guchar **line[3];
+ /* video state */
+ gint format;
+ gint width;
+ gint height;
+ gdouble fps;
+ /* the video buffer */
+ gint bufsize;
+ GstBuffer *buffer;
+ guint row_stride;
+ /* the jpeg line buffer */
+ guchar **line[3];
- struct jpeg_compress_struct cinfo;
- struct jpeg_error_mgr jerr;
- struct jpeg_destination_mgr jdest;
+ struct jpeg_compress_struct cinfo;
+ struct jpeg_error_mgr jerr;
+ struct jpeg_destination_mgr jdest;
- int quality;
- int smoothing;
- };
+ int quality;
+ int smoothing;
+};
- struct _GstJpegEncClass
- {
- GstElementClass parent_class;
+struct _GstJpegEncClass {
+ GstElementClass parent_class;
- /* signals */
- void (*frame_encoded) (GstElement * element);
- };
+ /* signals */
+ void (*frame_encoded) (GstElement *element);
+};
- GType gst_jpegenc_get_type (void);
+GType gst_jpegenc_get_type(void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_JPEGENC_H__ */
+#endif /* __GST_JPEGENC_H__ */