26 Jan 2011 21:45
Image sensor OV9655 and
Paolo Santinelli <paolo.santinelli <at> unimore.it>
2011-01-26 20:45:29 GMT
2011-01-26 20:45:29 GMT
Dear Sirs, Hi all, I am currently trying to write C code for an embedded smart camera equipped with an XScal-PXA270 processor running Linux 2.6.9-dma270 and the OV9655 Image sensor. I am asking help, my goal is capture a subfield of the whole image. How to do it? Is this function (VIDIOCSCAPTURE or something else?) supported by the Video4Linux driver for the OV9655 Image sensor ? Currently I am able to reconfigure the OV9655 in order to change the whole image resolution, 640x480, 320x240 and even lower. The problem is I need do it dynamically, quickly, without close the camera and then reopen it every time I need sub-capture the image. I don't have any experience using device driver. I have tried to change the capture area using this call: vw.width = new_image_width; vw.height = new_image_height; ioctl(fd_camera, VIDIOCSWIN, &vw) where vw is a struct video_window.(Continue reading)
RSS Feed