ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/Video-Capture-V4l/RTjpeg/codec/RTjpeg.h
Revision: 1.1
Committed: Fri May 5 20:21:52 2000 UTC (26 years, 5 months ago) by pcg
Content type: text/plain
Branch: MAIN
CVS Tags: rel-0_9, rel-0_902, HEAD
Log Message:
Initial check-in

File Contents

# User Rev Content
1 pcg 1.1 #include "stdint.h"
2    
3     typedef int8_t s8;
4     typedef int16_t s16;
5     typedef int32_t s32;
6     typedef uint8_t u8;
7     typedef uint16_t u16;
8     typedef uint32_t u32;
9     typedef uint64_t u64;
10    
11     typedef u32 RTjpeg_tables[128];
12    
13     void RTjpeg_init_Q(u8 Q);
14     void RTjpeg_init_compress(u32 *buf, int width, int height, u8 Q);
15     void RTjpeg_init_decompress(u32 *buf, int width, int height);
16     int RTjpeg_compress(s8 *sp, unsigned char *bp);
17     void RTjpeg_decompress(s8 *sp, u8 *bp);
18    
19     void RTjpeg_init_mcompress(void);
20     int RTjpeg_mcompress(s8 *sp, unsigned char *bp, u16 lmask, u16 cmask,
21     int x, int y, int w, int h);
22     void RTjpeg_set_test(int i);
23    
24     void RTjpeg_yuvrgb(u8 *buf, u8 *rgb);
25     void RTjpeg_yuvrgb32(u8 *buf, u8 *rgb);
26     void RTjpeg_yuvrgb24(u8 *buf, u8 *rgb);
27     void RTjpeg_yuvrgb16(u8 *buf, u8 *rgb);
28     void RTjpeg_yuvrgb8(u8 *buf, u8 *rgb);
29    
30     void RTjpeg_double32(u32 *buf);
31     void RTjpeg_double24(u8 *buf);
32     void RTjpeg_double16(u16 *buf);
33     void RTjpeg_double8(u8 *buf);