summaryrefslogtreecommitdiff
path: root/gst/rtjpeg/RTjpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtjpeg/RTjpeg.h')
-rw-r--r--gst/rtjpeg/RTjpeg.h50
1 files changed, 24 insertions, 26 deletions
diff --git a/gst/rtjpeg/RTjpeg.h b/gst/rtjpeg/RTjpeg.h
index 3c90408fd..92b35242f 100644
--- a/gst/rtjpeg/RTjpeg.h
+++ b/gst/rtjpeg/RTjpeg.h
@@ -23,32 +23,30 @@
#include <inttypes.h>
-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);
+