[artoolkit-commits] artoolkit/include/AR/sys videoLinux1394Cam.h, 1.3, 1.4
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Wayne P. <ti...@us...> - 2007-03-13 04:27:14
|
Update of /cvsroot/artoolkit/artoolkit/include/AR/sys In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv20625/include/AR/sys Modified Files: videoLinux1394Cam.h Log Message: The code had a completely duplicated set of constants for video modes and frame rates, which is then mapped to the DC1394 versions. There is no need for this so I deleted all the local constants and now we use the values in the dc1394 library. It is much easier to understand the code now. This also involved me deleting the int_* elements from the big camera config struct because they are not needed any more. The second major change is that the default video mode was YUV411_HALF, and by default the simpleTest application does not work. So I'm not sure when this did work or if something else changed, but I have now modified it so that the default mode is 640x480 with RGB. You can always override this with a vconf string, but this will make all the normal applications work by default now like it should. Index: videoLinux1394Cam.h =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/include/AR/sys/videoLinux1394Cam.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** videoLinux1394Cam.h 20 Aug 2006 21:48:47 -0000 1.3 --- videoLinux1394Cam.h 13 Mar 2007 04:26:43 -0000 1.4 *************** *** 35,40 **** int format; int dma_buf_num; - int int_mode; - int int_rate; int status; --- 35,38 ---- |