Lines 25-43
Link Here
|
25 |
#ifndef __RTjpeg_h__ |
25 |
#ifndef __RTjpeg_h__ |
26 |
#define __RTjpeg_h__ |
26 |
#define __RTjpeg_h__ |
27 |
|
27 |
|
28 |
#ifndef _I386_TYPES_H |
28 |
#include <asm/types.h> |
29 |
typedef unsigned char __u8; |
|
|
30 |
typedef unsigned short __u16; |
31 |
typedef unsigned long __u32; |
32 |
typedef unsigned long long __u64; |
33 |
typedef signed char __s8; |
34 |
typedef signed short __s16; |
35 |
typedef signed long __s32; |
36 |
#endif |
37 |
|
29 |
|
38 |
extern void RTjpeg_init_Q(__u8 Q); |
30 |
extern void RTjpeg_init_Q(__u8 Q); |
39 |
extern void RTjpeg_init_compress(long unsigned int *buf, int width, int height, __u8 Q); |
31 |
extern void RTjpeg_init_compress(__u32 *buf, int width, int height, __u8 Q); |
40 |
extern void RTjpeg_init_decompress(long unsigned int *buf, int width, int height); |
32 |
extern void RTjpeg_init_decompress(__u32 *buf, int width, int height); |
41 |
extern int RTjpeg_compressYUV420(__s8 *sp, unsigned char *bp); |
33 |
extern int RTjpeg_compressYUV420(__s8 *sp, unsigned char *bp); |
42 |
extern int RTjpeg_compressYUV422(__s8 *sp, unsigned char *bp); |
34 |
extern int RTjpeg_compressYUV422(__s8 *sp, unsigned char *bp); |
43 |
extern void RTjpeg_decompressYUV420(__s8 *sp, __u8 *bp); |
35 |
extern void RTjpeg_decompressYUV420(__s8 *sp, __u8 *bp); |