-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvideo.h
49 lines (42 loc) · 1.14 KB
/
video.h
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* EffecTV - Realtime Digital Video Effector
* Copyright (C) 2001-2006 FUKUCHI Kentaro
*
* video.h: header for video manager
*
*/
#ifndef __VIDEO_H__
#define __VIDEO_H__
#include <v4lutils.h>
typedef struct _normlist
{
char name[10];
int type;
} normlist;
extern int video_hasTuner;
extern int video_horizontalFlip;
extern int video_width;
extern int video_height;
extern int video_area;
int video_init(char *file, int channel, int norm, int freq, int w, int h, int palette);
void video_quit(void);
int video_setformat(int palette);
int video_grab_check(int palette);
int video_set_grabformat(int palette);
int video_grabstart(void);
int video_grabstop(void);
int video_changesize(int width, int height);
int video_setfreq(int v);
int video_syncframe(void);
int video_grabframe(void);
unsigned char *video_getaddress(void);
void video_change_brightness(int);
void video_change_hue(int);
void video_change_color(int);
void video_change_contrast(int);
void video_change_whiteness(int);
int video_change_channel(int channel);
int video_retry(void);
int videox_getnorm(const char *name);
int videox_getfreq(const char *name);
#endif /* __VIDEO_H__ */