summaryrefslogtreecommitdiffstats
path: root/ext/jpeg/gstjpegdec.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/gstjpegdec.h
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'ext/jpeg/gstjpegdec.h')
-rw-r--r--ext/jpeg/gstjpegdec.h67
1 files changed, 32 insertions, 35 deletions
diff --git a/ext/jpeg/gstjpegdec.h b/ext/jpeg/gstjpegdec.h
index 9a864eba..05187873 100644
--- a/ext/jpeg/gstjpegdec.h
+++ b/ext/jpeg/gstjpegdec.h
@@ -30,9 +30,8 @@
#include <jpeglib.h>
#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
+extern "C" {
+#endif /* __cplusplus */
#define GST_TYPE_JPEGDEC \
@@ -46,48 +45,46 @@ extern "C"
#define GST_IS_JPEGDEC_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_JPEGDEC))
- typedef struct _GstJpegDec GstJpegDec;
- typedef struct _GstJpegDecClass GstJpegDecClass;
+typedef struct _GstJpegDec GstJpegDec;
+typedef struct _GstJpegDecClass GstJpegDecClass;
- struct _GstJpegDec
- {
- GstElement element;
+struct _GstJpegDec {
+ GstElement element;
- /* pads */
- GstPad *sinkpad, *srcpad;
+ /* pads */
+ GstPad *sinkpad,*srcpad;
- int parse_state;
- /* the timestamp of the next frame */
- guint64 next_time;
- /* the interval between frames */
- guint64 time_interval;
+ int parse_state;
+ /* the timestamp of the next frame */
+ guint64 next_time;
+ /* the interval between frames */
+ guint64 time_interval;
- /* video state */
- gint format;
- gint width;
- gint height;
- gdouble fps;
- /* the size of the output buffer */
- gint outsize;
- /* the jpeg line buffer */
- guchar **line[3];
+ /* video state */
+ gint format;
+ gint width;
+ gint height;
+ gdouble fps;
+ /* the size of the output buffer */
+ gint outsize;
+ /* the jpeg line buffer */
+ guchar **line[3];
- struct jpeg_decompress_struct cinfo;
- struct jpeg_error_mgr jerr;
- struct jpeg_source_mgr jsrc;
- };
+ struct jpeg_decompress_struct cinfo;
+ struct jpeg_error_mgr jerr;
+ struct jpeg_source_mgr jsrc;
+};
- struct _GstJpegDecClass
- {
- GstElementClass parent_class;
- };
+struct _GstJpegDecClass {
+ GstElementClass parent_class;
+};
- GType gst_jpegdec_get_type (void);
+GType gst_jpegdec_get_type(void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_JPEGDEC_H__ */
+#endif /* __GST_JPEGDEC_H__ */