File: RTjpeg.h

package info (click to toggle)
libvideo-capture-v4l-perl 0.902-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 584 kB
  • sloc: perl: 2,749; ansic: 1,494; sh: 22; makefile: 3
file content (33 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "stdint.h"

typedef int8_t   s8;
typedef int16_t  s16;
typedef int32_t  s32;
typedef uint8_t  u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;

typedef u32 RTjpeg_tables[128];

void RTjpeg_init_Q(u8 Q);
void RTjpeg_init_compress(u32 *buf, int width, int height, u8 Q);
void RTjpeg_init_decompress(u32 *buf, int width, int height);
int RTjpeg_compress(s8 *sp, unsigned char *bp);
void RTjpeg_decompress(s8 *sp, u8 *bp);

void RTjpeg_init_mcompress(void);
int RTjpeg_mcompress(s8 *sp, unsigned char *bp, u16 lmask, u16 cmask,
		     int x, int y, int w, int h);
void RTjpeg_set_test(int i);

void RTjpeg_yuvrgb(u8 *buf, u8 *rgb);
void RTjpeg_yuvrgb32(u8 *buf, u8 *rgb);
void RTjpeg_yuvrgb24(u8 *buf, u8 *rgb);
void RTjpeg_yuvrgb16(u8 *buf, u8 *rgb);
void RTjpeg_yuvrgb8(u8 *buf, u8 *rgb);

void RTjpeg_double32(u32 *buf);
void RTjpeg_double24(u8 *buf);
void RTjpeg_double16(u16 *buf);
void RTjpeg_double8(u8 *buf);