Re: RFC> multi-crop (was: Multiple Rectangle cropping)

2013-09-11 Thread Ricardo Ribalda Delgado
Hello Sakari On Wed, Sep 11, 2013 at 12:35 AM, Sakari Ailus wrote: > Hi Ricardo, > > On Fri, Sep 06, 2013 at 10:30:18AM +0200, Ricardo Ribalda Delgado wrote: >> Any comment on this? Of course the names should be better chosen, this >> is just a declaration of intentions. > > I forgot to ask one q

Re: RFC> multi-crop (was: Multiple Rectangle cropping)

2013-09-10 Thread Sakari Ailus
Hi Ricardo, On Fri, Sep 06, 2013 at 10:30:18AM +0200, Ricardo Ribalda Delgado wrote: > Any comment on this? Of course the names should be better chosen, this > is just a declaration of intentions. I forgot to ask one question: what's the behaviour of cropping on different regions? Are the regions

Re: RFC> multi-crop (was: Multiple Rectangle cropping)

2013-09-10 Thread Sakari Ailus
Hi Ricardo, On Fri, Sep 06, 2013 at 10:30:18AM +0200, Ricardo Ribalda Delgado wrote: > Hi Sylvester > > Thanks for your response > > Unfortunately, the v4l2_crop dont have any reserved field :( Don't worry about v4lw_crop. we have selections now. :-) > struct v4l2_crop { > __u32 type; /* enum

Re: RFC> multi-crop (was: Multiple Rectangle cropping)

2013-09-06 Thread Ricardo Ribalda Delgado
Hi Sylvester Thanks for your response Unfortunately, the v4l2_crop dont have any reserved field :( struct v4l2_crop { __u32 type; /* enum v4l2_buf_type */ struct v4l2_rectc; }; And changing that ABI I dont think is an option. What about a new call: G/S_READOUT .that uses a modified v4l

Re: RFC> multi-crop (was: Multiple Rectangle cropping)

2013-09-05 Thread Sylwester Nawrocki
On 09/05/2013 11:10 PM, Ricardo Ribalda Delgado wrote: Hello Hi, I am working porting a industrial camera driver to v4l. So far I have been able to describe most of the old functionality with v4l equivalents. The only thing that I am missing is multi cropping. The sensor (both a cmosis and

RFC> multi-crop (was: Multiple Rectangle cropping)

2013-09-05 Thread Ricardo Ribalda Delgado
Hello I am working porting a industrial camera driver to v4l. So far I have been able to describe most of the old functionality with v4l equivalents. The only thing that I am missing is multi cropping. The sensor (both a cmosis and a ccd chips) supports skipping lines from up to 8 regions. This

Re: Multiple Rectangle cropping

2012-10-15 Thread Ricardo Ribalda Delgado
Hello Sakari I get the two areas sticked together. Of course both areas of interest have the save width. Kind Regards :) On Mon, Oct 15, 2012 at 10:50 PM, Sakari Ailus wrote: > Hi Ricardo, > > On Fri, Oct 12, 2012 at 09:18:42AM +0200, Ricardo Ribalda Delgado wrote: >> In fact, is the sensor, th

Re: Multiple Rectangle cropping

2012-10-15 Thread Sakari Ailus
Hi Ricardo, On Fri, Oct 12, 2012 at 09:18:42AM +0200, Ricardo Ribalda Delgado wrote: > In fact, is the sensor, the one that supports multiple Areas of > Interest. Unfortunatelly the userland v4l2 api only supports one area > of interest for doing croping (or that is what I believe). > > Is there

Re: Multiple Rectangle cropping

2012-10-12 Thread Laurent Pinchart
On Friday 12 October 2012 09:18:42 Ricardo Ribalda Delgado wrote: > Hello > > In fact, is the sensor, the one that supports multiple Areas of > Interest. Unfortunatelly the userland v4l2 api only supports one area > of interest for doing croping (or that is what I believe). > > Is there any plan

Re: Multiple Rectangle cropping

2012-10-12 Thread Ricardo Ribalda Delgado
Hello In fact, is the sensor, the one that supports multiple Areas of Interest. Unfortunatelly the userland v4l2 api only supports one area of interest for doing croping (or that is what I believe). Is there any plan to support multiple AOI? or I have to make my own ioctl? Regards On Fri, Oct

Re: Multiple Rectangle cropping

2012-10-11 Thread Sakari Ailus
Hi Ricardo, On Thu, Oct 11, 2012 at 12:40:03PM +0200, Ricardo Ribalda Delgado wrote: > I want to port an old driver for an fpga based camera to the new media > infrastructure. > > By reading the doc. I think it has almost all the capabilities needed. > The only one I am missing is the habilty to