projects
/
my-code
/
ivac.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
checked in minirgb stuff + webcam grabber
[my-code/ivac.git]
/
webcam.c
1
/*
2
* webcam.c - fetch data from webcam
3
*
4
* author: hackbard
5
*
6
*/
7
8
include <stdio.h>
9
include <stdlib.h>
10
include <string.h>
11
12
include <X11/Xlib.h>
13
14
include "minirgb.h"
15
16
Display *display;
17
18
int main(int argc,char **argv) {
19
XEvent xevent;
20
char *image, *device=VIDEO_DEV;
21
22
23
display=XOpenDisplay(NULL);