[artoolkit-commits] artoolkit/lib/SRC/VideoMacOSX video.c,1.9,1.10
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Philip L. <phi...@us...> - 2005-08-16 00:50:17
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31724 Modified Files: video.c Log Message: Update for run-time pixel format specification. Index: video.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX/video.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** video.c 23 Jun 2005 06:57:25 -0000 1.9 --- video.c 16 Aug 2005 00:50:07 -0000 1.10 *************** *** 356,360 **** { VideoDigitizerError err; ! Str255 vdName; // Pascal string (first byte is string length. UInt32 vdFlags; --- 356,360 ---- { VideoDigitizerError err; ! Str255 vdName; // Pascal string (first byte is string length). UInt32 vdFlags; *************** *** 376,380 **** int copyLen = (*pBuffSize-1 < vdName[0] ? *pBuffSize-1 : vdName[0]); ! strncpy(szName, vdName+1, copyLen); szName[copyLen] = '\0'; --- 376,380 ---- int copyLen = (*pBuffSize-1 < vdName[0] ? *pBuffSize-1 : vdName[0]); ! strncpy(szName, (char *)vdName+1, copyLen); szName[copyLen] = '\0'; *************** *** 1145,1149 **** printf(" pixel format. The following values are supported: \n"); printf(" 32, BGRA, RGBA, ABGR, 24, 24BG, 2vuy, yuvs.\n"); ! printf(" (See definitions in <QuickDraw.h> and QuickTime API reference IV-2862.)\n"); printf("\n"); --- 1145,1149 ---- printf(" pixel format. The following values are supported: \n"); printf(" 32, BGRA, RGBA, ABGR, 24, 24BG, 2vuy, yuvs.\n"); ! printf(" (See http://developer.apple.com/quicktime/icefloe/dispatch020.html.)\n"); printf("\n"); |