Abstract of INFO-MAC archived encoded Mac binary file 'dev/video-toolbox.hqx' Uploaded 07/05/2000 2807652 bytes From: Denis Pelli Subject: video-toolbox-00-06-22-c.sit The VideoToolbox is a collection of two hundred C subroutines and several demo and utility programs that I and others have written to do visual psychophysics with Macintosh computers. It's fully compatible with 68K and PowerPC Macs and with Metrowerks CodeWarrior and Symantec C compilers. It's free and may not be sold without permission. It should be useful to anyone who wants to present accurately specified visual stimuli or use the Mac for psychometric experiments. The Video synch page discusses all the ways of synchronizing programs to video displays and the many pitfalls to avoid. The TimeVideo application checks out the timing of all video devices in anticipation of their use in critical real-time applications, e.g. movies or lookup table animation. Video synch reports all known bugs uncovered by TimeVideo's testing of 56 video cards and drivers. Low-level routines control video timing and lookup tables, display real-time movies, and implement the luminance-control algorithms suggested by Pelli and Zhang (1991). In particular, CopyWindows (or CopyBitsQuickly) faithfully copies between on-screen and off-screen windows (or bit/pixmaps), WindowToEPS saves an image to disk as encapsulated PostScript, for later printing or incorporation into a document, and SetEntriesQuickly and GDSetEntries load the screen's color lookup table, all without any of QuickDraw's color translations. NoisePdfFill.c quickly generates visual noise images whose pixels are samples from a specified probability density function. High-level routines help analyze psychophysical experiments (e.g. maximum-likelihood fitting and graphing of psychometric data). Assign.c is a runtime C interpreter for C assignment statements, which is useful for controlling experiments and sharing calibration data. This collection has been continually updated since 1991. Nearly two hundred colleagues subscribe to the email distribution (see below), and have indicated that they are using the software in their labs. Documentation is in the source files themselves. Many of the routines are Mac-specific, but some very useful routines, e.g. the luminance-control, statistics, maximum-likelihood fitting algorithms, and the runtime interpreter are written in Standard C and will work on any computer. Those wishing to acknowledge use of the VideoToolbox software might cite: Pelli, D.G. (1997) The VideoToolbox software for visual psychophysics: Transforming numbers into movies. Spatial Vision 10:437-442 Denis Pelli, Professor of Psycholoyg and Neural Science at NYU (This file must be converted with BinHex 4.0) :%&CTC'9[9'p[E'*[H#jcDA3!8dP84&0*9#%!N!-I'VN!N!4Y8P0*9#%!!3!I'VP b6'&e![m!N!-@rrmJ)!a@D@4PEe4[EfaLEhJ!N"-Jb3!!!8N!4!(M!UF!N!-,!*! 2KJ!!!3IrN!3(i+6#Hf@eEpjE!*!&6h4-!*!&(aScrpd!2!#3"U(()#!8)&"bC@0 [EA"TE'9N)'KPB@4PFR-!N!YXYJ!!!9!"*`)Z!hS!N!-$!*!$&J!!%B!!N!-@!*! $pJ!!"%F!J!'"!q#URN1DY(X50`#3"LA!!*!'%)VrqIrr!*!'0kS0$4-Y5'ph)(4 [)("bC5eMEfe`D@aPF`#3#fPc!*!4KJ!!""!!N!1'&D!9S94&@&4dG(Kd!3#UmD8 #VQ09V`!!!@!!!!4i!*!$e3!!!G8@P5hL!*!'qr`4!!JF,(%)SS,l4p)TCL5$qSS PCNA6)bP%d[!Fep6J8*D5*ML,$+0PFBKQ4(&m2bSLkHQiGBri@K3JP03c*183kE6