Paolo Santinelli | 26 Jan 2011 21:45
Picon

Image sensor OV9655 and

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)

fpantaleao | 26 Jan 2011 22:19

Re: Image sensor OV9655 and

Paolo,

In order to capture a portion of an image (ROI), both sensor and  
PXA270 Quick Capture Interface must be correctly configured. I don't  
know OV9655 sensor but you can find similar solution in the video  
drivers for MBS270 V2 board:
http://www.mobisensesystems.com/fics/xscale_BSPs/2009_08/system/src/linux-2.6.26-mbs270.tar.bz2

Best regards,

Florian PANTALEAO

Paolo Santinelli <paolo.santinelli <at> unimore.it> a écrit :

> 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
(Continue reading)


Gmane