From: Vincenzo M. <xwo...@gm...> - 2006-05-16 11:29:14
|
Hi, I've tried to write a OV519 driver reading the code of the ov51x project at http://alpha.dyndns.org/ov511/ and using the new class GenericDriver instead of inheriting from MyOV511Driver. The cam outputs standard jpeg images, so I used the libjpeg library to decompress the frames (surely there's a way to use QuickTime's API, but I don't know how). The driver is now working with my webcam, a SpaceCam 320, with very few lines. It does not discover the sensor - it just assumes it's an OV7648 - and it's not able to set various parameters the correct way (it works only at 30,25,20 fps for now), but I'll fix that. The libjpeg interface is not so good, and libjpeg is not a universal binary (in ApplicationServices framework there's a dynamic libjpeg, but how can I use that? I can't find its header and I don't know its version). The microphone is usb-audio and works after initialization of a register. I'd like to publish the code and if it's possible to add it to macam cvs, but I'm a newbie and I need a little help about GPL and libjpeg licenses. Greetings, Vincenzo |