Re: soc_camera dynamically cropping and scaling

2011-04-05 Thread Paolo Santinelli
Hi Guennadi, thank you for the useful explanation. I will try! Paolo. 2011/4/5 Guennadi Liakhovetski : > On Mon, 4 Apr 2011, Paolo Santinelli wrote: > >> Hi Guennadi, >> >> I have tried to implement the changes you suggested me in order to get >> the new live cropping capabilities. I am able to

Re: soc_camera dynamically cropping and scaling

2011-04-04 Thread Guennadi Liakhovetski
On Mon, 4 Apr 2011, Paolo Santinelli wrote: > Hi Guennadi, > > I have tried to implement the changes you suggested me in order to get > the new live cropping capabilities. I am able to successfully compile > the patched driver even though I still have problems when an > application program tries

Re: soc_camera dynamically cropping and scaling

2011-04-04 Thread Paolo Santinelli
Hi Guennadi, I have tried to implement the changes you suggested me in order to get the new live cropping capabilities. I am able to successfully compile the patched driver even though I still have problems when an application program tries to do live cropping (calling run time the same ."ioctl V

Re: soc_camera dynamically cropping and scaling

2011-03-30 Thread Paolo Santinelli
OK! Thanks Paolo 2011/3/30 Guennadi Liakhovetski : > On Wed, 30 Mar 2011, Paolo Santinelli wrote: > >> Hi Guennadi, >> >> Am I wrong or do  I have to add some functions ? >> >> I have hand applied the changes at the soc_camera.c and soc_camera.h >> files. At a fist glance to these files seems th

Re: soc_camera dynamically cropping and scaling

2011-03-30 Thread Guennadi Liakhovetski
On Wed, 30 Mar 2011, Paolo Santinelli wrote: > Hi Guennadi, > > Am I wrong or do I have to add some functions ? > > I have hand applied the changes at the soc_camera.c and soc_camera.h > files. At a fist glance to these files seems that I have to add the > function: > > .set_livecrop() Yes,

Re: soc_camera dynamically cropping and scaling

2011-03-30 Thread Paolo Santinelli
Hi Guennadi, Am I wrong or do I have to add some functions ? I have hand applied the changes at the soc_camera.c and soc_camera.h files. At a fist glance to these files seems that I have to add the function: .set_livecrop() and probably even something more: CC drivers/media/video/soc_

Re: soc_camera dynamically cropping and scaling

2011-03-30 Thread Paolo Santinelli
Hi Guennadi, thank you very much for the patch. I am going to apply it in order to start toying with the new capability. I think it is a useful capability. I'll let you know. Again thank you. Paolo 2011/3/30 Guennadi Liakhovetski : > On Tue, 29 Mar 2011, Paolo Santinelli wrote: > >> Hi Guenna

Re: soc_camera dynamically cropping and scaling

2011-03-30 Thread Guennadi Liakhovetski
On Tue, 29 Mar 2011, Paolo Santinelli wrote: > Hi Guennadi, > > thank you for the quick answer. > > Here is what I mean with dynamic: I take "live" one frame at high > resolution, for example a picture at VGA or QVGA resolution, then a > sequence of frames that depict a cropped area (200x200 or

Re: soc_camera dynamically cropping and scaling

2011-03-29 Thread Paolo Santinelli
Hi Guennadi, thank you for the quick answer. Here is what I mean with dynamic: I take "live" one frame at high resolution, for example a picture at VGA or QVGA resolution, then a sequence of frames that depict a cropped area (200x200 or 100x100) from the original full-resolution frame, and then

Re: soc_camera dynamically cropping and scaling

2011-03-29 Thread Guennadi Liakhovetski
On Tue, 29 Mar 2011, Paolo Santinelli wrote: > Hi all, > > I am using a PXA270 board running linux 2.6.37 equipped with an ov9655 > Image sensor. I am able to use the cropping and scaling capabilities > V4L2 driver. > The question is : > > Is it possible dynamically change the cropping and scali

soc_camera dynamically cropping and scaling

2011-03-29 Thread Paolo Santinelli
Hi all, I am using a PXA270 board running linux 2.6.37 equipped with an ov9655 Image sensor. I am able to use the cropping and scaling capabilities V4L2 driver. The question is : Is it possible dynamically change the cropping and scaling values without close and re-open the camera every time ?