diff options
author | Johan Dahlin <johan@gnome.org> | 2004-03-15 16:32:54 +0000 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2004-03-15 16:32:54 +0000 |
commit | 39fd8a2dbd436cbabe5e336d1145b62c2a885ed5 (patch) | |
tree | 61df7da4a9d2b8bdb853af50a27219a8921bf5e4 /ext/xvid | |
parent | 1633bd8693c54cbc5f6648703a7ecf01548ec55f (diff) | |
download | gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.tar.gz gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.tar.bz2 gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.zip |
*.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
Diffstat (limited to 'ext/xvid')
-rw-r--r-- | ext/xvid/gstxvid.h | 14 | ||||
-rw-r--r-- | ext/xvid/gstxviddec.h | 45 | ||||
-rw-r--r-- | ext/xvid/gstxvidenc.h | 65 |
3 files changed, 61 insertions, 63 deletions
diff --git a/ext/xvid/gstxvid.h b/ext/xvid/gstxvid.h index e204ae4a..100f93b8 100644 --- a/ext/xvid/gstxvid.h +++ b/ext/xvid/gstxvid.h @@ -23,11 +23,13 @@ #include <gst/gst.h> G_BEGIN_DECLS + #define gst_xvid_init_struct(s) \ do { \ memset (&s, 0, sizeof(s)); \ s.version = XVID_VERSION; \ } while (0); + #define RGB_24_32_STATIC_CAPS(bpp, r_mask,g_mask,b_mask) \ "video/x-raw-rgb, " \ "width = (int) [ 0, MAX ], " \ @@ -39,12 +41,14 @@ G_BEGIN_DECLS "red_mask = (int) " G_STRINGIFY (r_mask) ", " \ "green_mask = (int) " G_STRINGIFY (g_mask) ", " \ "blue_mask = (int) " G_STRINGIFY (b_mask) -extern gchar *gst_xvid_error (int errorcode); -extern gboolean gst_xvid_init (void); -extern gint gst_xvid_structure_to_csp (GstStructure * structure, - gint w, gint * stride, gint * bpp); -extern GstCaps *gst_xvid_csp_to_caps (gint csp, gint w, gint h, gdouble fps); +extern gchar * gst_xvid_error (int errorcode); +extern gboolean gst_xvid_init (void); + +extern gint gst_xvid_structure_to_csp (GstStructure *structure, + gint w, gint *stride, gint *bpp); +extern GstCaps *gst_xvid_csp_to_caps (gint csp, gint w, gint h, gdouble fps); G_END_DECLS + #endif /* __GST_XVID_H__ */ diff --git a/ext/xvid/gstxviddec.h b/ext/xvid/gstxviddec.h index 10538175..fa90d06a 100644 --- a/ext/xvid/gstxviddec.h +++ b/ext/xvid/gstxviddec.h @@ -24,9 +24,8 @@ #include "gstxvid.h" #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_XVIDDEC \ @@ -40,34 +39,32 @@ extern "C" #define GST_IS_XVIDDEC_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_XVIDDEC)) - typedef struct _GstXvidDec GstXvidDec; - typedef struct _GstXvidDecClass GstXvidDecClass; +typedef struct _GstXvidDec GstXvidDec; +typedef struct _GstXvidDecClass GstXvidDecClass; - struct _GstXvidDec - { - GstElement element; +struct _GstXvidDec { + GstElement element; - /* pads */ - GstPad *sinkpad, *srcpad; + /* pads */ + GstPad *sinkpad, *srcpad; - /* xvid handle */ - void *handle; + /* xvid handle */ + void *handle; - /* video (output) settings */ - gint csp, bpp, stride; - gint width, height; - double fps; - }; + /* video (output) settings */ + gint csp, bpp, stride; + gint width, height; + double fps; +}; - struct _GstXvidDecClass - { - GstElementClass parent_class; - }; +struct _GstXvidDecClass { + GstElementClass parent_class; +}; - GType gst_xviddec_get_type (void); +GType gst_xviddec_get_type(void); #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __GST_XVIDDEC_H__ */ +#endif /* __GST_XVIDDEC_H__ */ diff --git a/ext/xvid/gstxvidenc.h b/ext/xvid/gstxvidenc.h index fa786617..356ce53f 100644 --- a/ext/xvid/gstxvidenc.h +++ b/ext/xvid/gstxvidenc.h @@ -24,9 +24,8 @@ #include "gstxvid.h" #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_XVIDENC \ @@ -40,48 +39,46 @@ extern "C" #define GST_IS_XVIDENC_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_XVIDENC)) - typedef struct _GstXvidEnc GstXvidEnc; - typedef struct _GstXvidEncClass GstXvidEncClass; +typedef struct _GstXvidEnc GstXvidEnc; +typedef struct _GstXvidEncClass GstXvidEncClass; - struct _GstXvidEnc - { - GstElement element; +struct _GstXvidEnc { + GstElement element; - /* pads */ - GstPad *sinkpad, *srcpad; + /* pads */ + GstPad *sinkpad, *srcpad; - /* encoding profile */ - gint profile; + /* encoding profile */ + gint profile; - /* quality of encoded image */ - gint bitrate; - gint buffer_size; + /* quality of encoded image */ + gint bitrate; + gint buffer_size; - /* max number of B frames between I/P */ - gint max_b_frames; + /* max number of B frames between I/P */ + gint max_b_frames; - /* max key interval */ - gint max_key_interval; + /* max key interval */ + gint max_key_interval; - /* xvid handle */ - void *handle; - gint csp; - gint width, height, stride; - gdouble fps; - }; + /* xvid handle */ + void *handle; + gint csp; + gint width, height, stride; + gdouble fps; +}; - struct _GstXvidEncClass - { - GstElementClass parent_class; +struct _GstXvidEncClass { + GstElementClass parent_class; - /* signals */ - void (*frame_encoded) (GstElement * element); - }; + /* signals */ + void (*frame_encoded) (GstElement *element); +}; - GType gst_xvidenc_get_type (void); +GType gst_xvidenc_get_type(void); #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __GST_XVIDENC_H__ */ +#endif /* __GST_XVIDENC_H__ */ |