/demos/trunk/bttvdemo/bttv.c |
---|
55,7 → 55,7 |
#define FG_W 320 |
#define FG_H 200 |
unsigned int color = FG_MONO; |
unsigned int color = FG_RGB24; |
static int screen(int mode) |
{ |
152,6 → 152,8 |
screen(INITSTR); |
//video_buf = malloc(RGB565MEM); |
sleep(1); |
FG_init(FG_PERIOD, FG_WCET, FG_W, FG_H, color, 0); |
FG_set_hook(elaborate_image); |