/* * * webcam.h - part of Danovitsch Webcam * * Copyright (C) 2001, 2003 by Daan Vreeken * * Published under the terms of the GNU Public License 2.0 * (or any later version) * */ #define PAL_DIM_X 768 #define PAL_DIM_Y 576 //#define ImageWidth 320 //#define ImageHeight 240 //#define ImageWidth 380 //#define ImageHeight 286 #define ImageWidth 768 #define ImageHeight 576 #define MAX_MMAP_SIZE (ImageWidth*ImageHeight*4) #define JPEGTimeout 0,500*1000 //compress 2 frames/sec max #define FrameTimeout 0,450*1000 //capture a bit more than // 2 frames/sec #define MainLoop_msec 100 /* #define JPEGTimeout 0,100*1000 //compress 10 frames/sec max #define FrameTimeout 0,90*1000 //capture a bit more than // 2 frames/sec #define MainLoop_msec 25 */ #define PageReloadInterval 5 //The reload interval of the index page (in secs)