From 39fd8a2dbd436cbabe5e336d1145b62c2a885ed5 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 15 Mar 2004 16:32:54 +0000 Subject: *.h: Revert indenting Original commit message from CVS: * *.h: Revert indenting --- gst/rtjpeg/RTjpeg.h | 50 +++++++++++++++++++++++------------------------ gst/rtjpeg/gstrtjpegdec.h | 37 ++++++++++++++++------------------- gst/rtjpeg/gstrtjpegenc.h | 37 ++++++++++++++++------------------- 3 files changed, 58 insertions(+), 66 deletions(-) (limited to 'gst/rtjpeg') diff --git a/gst/rtjpeg/RTjpeg.h b/gst/rtjpeg/RTjpeg.h index 3c90408f..92b35242 100644 --- a/gst/rtjpeg/RTjpeg.h +++ b/gst/rtjpeg/RTjpeg.h @@ -23,32 +23,30 @@ #include -typedef uint8_t __u8; +typedef uint8_t __u8; typedef uint32_t __u32; -typedef int8_t __s8; +typedef int8_t __s8; typedef uint16_t __u16; -extern void RTjpeg_init_Q (__u8 Q); -extern void RTjpeg_init_compress (long unsigned int *buf, int width, int height, - __u8 Q); -extern void RTjpeg_init_decompress (long unsigned int *buf, int width, - int height); -extern int RTjpeg_compressYUV420 (__s8 * sp, unsigned char *bp); -extern int RTjpeg_compressYUV422 (__s8 * sp, unsigned char *bp); -extern void RTjpeg_decompressYUV420 (__s8 * sp, __u8 * bp); -extern void RTjpeg_decompressYUV422 (__s8 * sp, __u8 * bp); -extern int RTjpeg_compress8 (__s8 * sp, unsigned char *bp); -extern void RTjpeg_decompress8 (__s8 * sp, __u8 * bp); - -extern void RTjpeg_init_mcompress (void); -extern int RTjpeg_mcompress (__s8 * sp, unsigned char *bp, __u16 lmask, - __u16 cmask); -extern int RTjpeg_mcompress8 (__s8 * sp, unsigned char *bp, __u16 lmask); -extern void RTjpeg_set_test (int i); - -extern void RTjpeg_yuv420rgb (__u8 * buf, __u8 * rgb); -extern void RTjpeg_yuv422rgb (__u8 * buf, __u8 * rgb); -extern void RTjpeg_yuvrgb8 (__u8 * buf, __u8 * rgb); -extern void RTjpeg_yuvrgb16 (__u8 * buf, __u8 * rgb); -extern void RTjpeg_yuvrgb24 (__u8 * buf, __u8 * rgb); -extern void RTjpeg_yuvrgb32 (__u8 * buf, __u8 * rgb); +extern void RTjpeg_init_Q(__u8 Q); +extern void RTjpeg_init_compress(long unsigned int *buf, int width, int height, __u8 Q); +extern void RTjpeg_init_decompress(long unsigned int *buf, int width, int height); +extern int RTjpeg_compressYUV420(__s8 *sp, unsigned char *bp); +extern int RTjpeg_compressYUV422(__s8 *sp, unsigned char *bp); +extern void RTjpeg_decompressYUV420(__s8 *sp, __u8 *bp); +extern void RTjpeg_decompressYUV422(__s8 *sp, __u8 *bp); +extern int RTjpeg_compress8(__s8 *sp, unsigned char *bp); +extern void RTjpeg_decompress8(__s8 *sp, __u8 *bp); + +extern void RTjpeg_init_mcompress(void); +extern int RTjpeg_mcompress(__s8 *sp, unsigned char *bp, __u16 lmask, __u16 cmask); +extern int RTjpeg_mcompress8(__s8 *sp, unsigned char *bp, __u16 lmask); +extern void RTjpeg_set_test(int i); + +extern void RTjpeg_yuv420rgb(__u8 *buf, __u8 *rgb); +extern void RTjpeg_yuv422rgb(__u8 *buf, __u8 *rgb); +extern void RTjpeg_yuvrgb8(__u8 *buf, __u8 *rgb); +extern void RTjpeg_yuvrgb16(__u8 *buf, __u8 *rgb); +extern void RTjpeg_yuvrgb24(__u8 *buf, __u8 *rgb); +extern void RTjpeg_yuvrgb32(__u8 *buf, __u8 *rgb); + diff --git a/gst/rtjpeg/gstrtjpegdec.h b/gst/rtjpeg/gstrtjpegdec.h index 23ddce44..2214ebd8 100644 --- a/gst/rtjpeg/gstrtjpegdec.h +++ b/gst/rtjpeg/gstrtjpegdec.h @@ -26,9 +26,8 @@ #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_RTJPEGDEC \ @@ -42,32 +41,30 @@ extern "C" #define GST_IS_RTJPEGDEC_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTJPEGDEC))) - typedef struct _GstRTJpegDec GstRTJpegDec; - typedef struct _GstRTJpegDecClass GstRTJpegDecClass; +typedef struct _GstRTJpegDec GstRTJpegDec; +typedef struct _GstRTJpegDecClass GstRTJpegDecClass; - struct _GstRTJpegDec - { - GstElement element; +struct _GstRTJpegDec { + GstElement element; - GstPad *sinkpad, *srcpad; + GstPad *sinkpad,*srcpad; - gint width, height; - gint quality; - gint quant[128]; + gint width,height; + gint quality; + gint quant[128]; - }; +}; - struct _GstRTJpegDecClass - { - GstElementClass parent_class; - }; +struct _GstRTJpegDecClass { + GstElementClass parent_class; +}; - GType gst_rtjpegdec_get_type (void); +GType gst_rtjpegdec_get_type(void); #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __RTJPEGDEC_H__ */ +#endif /* __RTJPEGDEC_H__ */ diff --git a/gst/rtjpeg/gstrtjpegenc.h b/gst/rtjpeg/gstrtjpegenc.h index 34c143b2..61303b7b 100644 --- a/gst/rtjpeg/gstrtjpegenc.h +++ b/gst/rtjpeg/gstrtjpegenc.h @@ -28,9 +28,8 @@ #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_RTJPEGENC \ @@ -44,31 +43,29 @@ extern "C" #define GST_IS_RTJPEGENC_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTJPEGENC)) - typedef struct _GstRTJpegEnc GstRTJpegEnc; - typedef struct _GstRTJpegEncClass GstRTJpegEncClass; +typedef struct _GstRTJpegEnc GstRTJpegEnc; +typedef struct _GstRTJpegEncClass GstRTJpegEncClass; - struct _GstRTJpegEnc - { - GstElement element; +struct _GstRTJpegEnc { + GstElement element; - GstPad *sinkpad, *srcpad; + GstPad *sinkpad,*srcpad; - gint width, height; - gint quality; - gint quant[128]; - }; + gint width,height; + gint quality; + gint quant[128]; +}; - struct _GstRTJpegEncClass - { - GstElementClass parent_class; - }; +struct _GstRTJpegEncClass { + GstElementClass parent_class; +}; - GType gst_rtjpegenc_get_type (void); +GType gst_rtjpegenc_get_type(void); #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __RTJPEGENC_H__ */ +#endif /* __RTJPEGENC_H__ */ -- cgit v1.2.1