summaryrefslogtreecommitdiffstats
path: root/ext/divx
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
commit7a778ee4b7ec09a1f5b2185c9cceee3910dfbdf2 (patch)
treef863b467dea9559a6ec9c48affbfae11f8104164 /ext/divx
parenta19db4bbdc4a15ea0d8f4d28e9a1302c9c3d1657 (diff)
downloadgst-plugins-bad-7a778ee4b7ec09a1f5b2185c9cceee3910dfbdf2.tar.gz
gst-plugins-bad-7a778ee4b7ec09a1f5b2185c9cceee3910dfbdf2.tar.bz2
gst-plugins-bad-7a778ee4b7ec09a1f5b2185c9cceee3910dfbdf2.zip
gst-indent
Original commit message from CVS: gst-indent
Diffstat (limited to 'ext/divx')
-rw-r--r--ext/divx/gstdivxdec.h49
-rw-r--r--ext/divx/gstdivxenc.h65
2 files changed, 60 insertions, 54 deletions
diff --git a/ext/divx/gstdivxdec.h b/ext/divx/gstdivxdec.h
index 0468ff0a..4bf2d364 100644
--- a/ext/divx/gstdivxdec.h
+++ b/ext/divx/gstdivxdec.h
@@ -24,8 +24,9 @@
#include <decore.h>
#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+extern "C"
+{
+#endif /* __cplusplus */
#define GST_TYPE_DIVXDEC \
@@ -39,34 +40,36 @@ extern "C" {
#define GST_IS_DIVXDEC_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_DIVXDEC))
-typedef struct _GstDivxDec GstDivxDec;
-typedef struct _GstDivxDecClass GstDivxDecClass;
+ typedef struct _GstDivxDec GstDivxDec;
+ typedef struct _GstDivxDecClass GstDivxDecClass;
-struct _GstDivxDec {
- GstElement element;
+ struct _GstDivxDec
+ {
+ GstElement element;
- /* pads */
- GstPad *sinkpad, *srcpad;
+ /* pads */
+ GstPad *sinkpad, *srcpad;
- /* divx handle */
- void *handle;
+ /* divx handle */
+ void *handle;
- /* video (output) settings */
- guint32 csp;
- int bitcnt, bpp;
- int version;
- int width, height;
- gdouble fps;
-};
+ /* video (output) settings */
+ guint32 csp;
+ int bitcnt, bpp;
+ int version;
+ int width, height;
+ gdouble fps;
+ };
-struct _GstDivxDecClass {
- GstElementClass parent_class;
-};
+ struct _GstDivxDecClass
+ {
+ GstElementClass parent_class;
+ };
-GType gst_divxdec_get_type(void);
+ GType gst_divxdec_get_type (void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_DIVXDEC_H__ */
+#endif /* __GST_DIVXDEC_H__ */
diff --git a/ext/divx/gstdivxenc.h b/ext/divx/gstdivxenc.h
index 206659d3..906145bb 100644
--- a/ext/divx/gstdivxenc.h
+++ b/ext/divx/gstdivxenc.h
@@ -23,8 +23,9 @@
#include <gst/gst.h>
#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+extern "C"
+{
+#endif /* __cplusplus */
#define GST_TYPE_DIVXENC \
@@ -38,46 +39,48 @@ extern "C" {
#define GST_IS_DIVXENC_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_DIVXENC))
-typedef struct _GstDivxEnc GstDivxEnc;
-typedef struct _GstDivxEncClass GstDivxEncClass;
+ typedef struct _GstDivxEnc GstDivxEnc;
+ typedef struct _GstDivxEncClass GstDivxEncClass;
-struct _GstDivxEnc {
- GstElement element;
+ struct _GstDivxEnc
+ {
+ GstElement element;
- /* pads */
- GstPad *sinkpad, *srcpad;
+ /* pads */
+ GstPad *sinkpad, *srcpad;
- /* quality of encoded image */
- gulong bitrate;
+ /* quality of encoded image */
+ gulong bitrate;
- /* size of the buffers */
- gulong buffer_size;
+ /* size of the buffers */
+ gulong buffer_size;
- /* max key interval */
- gint max_key_interval;
+ /* max key interval */
+ gint max_key_interval;
- /* amount of motion estimation to do */
- gint quality;
+ /* amount of motion estimation to do */
+ gint quality;
- /* divx handle */
- void *handle;
- guint32 csp;
- gint bitcnt;
- gint width, height;
- gfloat fps;
-};
+ /* divx handle */
+ void *handle;
+ guint32 csp;
+ gint bitcnt;
+ gint width, height;
+ gfloat fps;
+ };
-struct _GstDivxEncClass {
- GstElementClass parent_class;
+ struct _GstDivxEncClass
+ {
+ GstElementClass parent_class;
- /* signals */
- void (*frame_encoded) (GstElement *element);
-};
+ /* signals */
+ void (*frame_encoded) (GstElement * element);
+ };
-GType gst_divxenc_get_type(void);
+ GType gst_divxenc_get_type (void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_DIVXENC_H__ */
+#endif /* __GST_DIVXENC_H__ */