6 Oct 2010 19:56
Acquiring / accessing video data
halm <halm <at> ieee.org>
2010-10-06 17:56:01 GMT
2010-10-06 17:56:01 GMT
The usual v4l list newbie apologies: first time posting here, new to V4L(2), sorry if this is too obvious a question or the wrong forum. I'm writing an app for Arago Linux running on a TI OMAP "evm" evaluation board. I didn't create this system, but V4L2 seems to be there just fine. I downloaded and built the capture example ( http://v4l2spec.bytesex.org/spec/capture-example.html). I added code to init_device() to initialize my particular camera (it's listening via I2C for configuration settings), and can run it no problem. I'm certain that the camera is running since after my I2C setup I can use an oscilloscope and see sync and video. The process_image() function simply prints '.' for every frame. I wanted to verify that image data is really accessible and so I've added the following code to process_image(): static void process_image( const void * p, size_t len ) { #ifdef WAS_THIS fputc ('.', stdout); #else //WAS_THIS(Continue reading)
RSS Feed