summaryrefslogtreecommitdiffstats
path: root/ext/jpeg/gstjpegenc.h
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-14 22:34:33 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-14 22:34:33 +0000
commit5d25c00e4b613b9cdf2c04fa3a68dffa03834a68 (patch)
tree74a5b1eaf3a324b520e64e87404fd0b3018a7829 /ext/jpeg/gstjpegenc.h
parent1e83b097f7b732ae49e294a5a398bdc3e88854a8 (diff)
gst-indent
Original commit message from CVS: gst-indent
Diffstat (limited to 'ext/jpeg/gstjpegenc.h')
-rw-r--r--ext/jpeg/gstjpegenc.h69
1 files changed, 36 insertions, 33 deletions
diff --git a/ext/jpeg/gstjpegenc.h b/ext/jpeg/gstjpegenc.h
index b68b4859..beeaf6f9 100644
--- a/ext/jpeg/gstjpegenc.h
+++ b/ext/jpeg/gstjpegenc.h
@@ -30,8 +30,9 @@
#include <jpeglib.h>
#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+extern "C"
+{
+#endif /* __cplusplus */
#define GST_TYPE_JPEGENC \
@@ -45,48 +46,50 @@ 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__ */