Re: [RFC] Binning on sensors

2011-07-26 Thread Hans Verkuil
On Friday, July 15, 2011 14:46:26 Sakari Ailus wrote: On Fri, Jul 15, 2011 at 01:38:35PM +0200, Laurent Pinchart wrote: On Thursday 14 July 2011 19:56:10 Guennadi Liakhovetski wrote: On Thu, 14 Jul 2011, Sakari Ailus wrote: Hi all, I was thinking about the sensor binning

Re: [RFC] Binning on sensors

2011-07-15 Thread Sakari Ailus
On Fri, Jul 15, 2011 at 01:38:35PM +0200, Laurent Pinchart wrote: On Thursday 14 July 2011 19:56:10 Guennadi Liakhovetski wrote: On Thu, 14 Jul 2011, Sakari Ailus wrote: Hi all, I was thinking about the sensor binning controls. What wrong with just doing S_FMT on the subdev pad?

[RFC] Binning on sensors

2011-07-14 Thread Sakari Ailus
Hi all, I was thinking about the sensor binning controls. I have a sensor which can do binning both horizontally and vertically, but the two are connected. So, the sensor supports e.g. 3x1 and 1x3 binning but not 3x3. However, most (I assume) sensors do not have dependencies between the two.

Re: [RFC] Binning on sensors

2011-07-14 Thread Sakari Ailus
On Thu, Jul 14, 2011 at 05:46:21PM +0530, nitesh moundekar wrote: Hi all, This is my first mail in linux mailing list and I hope I contribute something. I worked at image sensor company and I had the idea that binning control are used by these companies to get optimum performance power

Re: [RFC] Binning on sensors

2011-07-14 Thread Guennadi Liakhovetski
On Thu, 14 Jul 2011, Sakari Ailus wrote: Hi all, I was thinking about the sensor binning controls. What wrong with just doing S_FMT on the subdev pad? Binning does in fact implement scaling. Thanks Guennadi I have a sensor which can do binning both horizontally and vertically, but the

Re: [RFC] Binning on sensors

2011-07-14 Thread Sakari Ailus
Hi Guennadi, Thanks for the comments. On Thu, Jul 14, 2011 at 07:56:10PM +0200, Guennadi Liakhovetski wrote: On Thu, 14 Jul 2011, Sakari Ailus wrote: Hi all, I was thinking about the sensor binning controls. What wrong with just doing S_FMT on the subdev pad? Binning does in fact

Re: [RFC] Binning on sensors

2011-07-14 Thread Guennadi Liakhovetski
On Fri, 15 Jul 2011, Sakari Ailus wrote: Hi Guennadi, Thanks for the comments. On Thu, Jul 14, 2011 at 07:56:10PM +0200, Guennadi Liakhovetski wrote: On Thu, 14 Jul 2011, Sakari Ailus wrote: Hi all, I was thinking about the sensor binning controls. What wrong with just

Re: [RFC] Binning on sensors

2011-07-14 Thread Sakari Ailus
On Fri, Jul 15, 2011 at 12:02:06AM +0200, Guennadi Liakhovetski wrote: On Fri, 15 Jul 2011, Sakari Ailus wrote: Hi Guennadi, Thanks for the comments. On Thu, Jul 14, 2011 at 07:56:10PM +0200, Guennadi Liakhovetski wrote: On Thu, 14 Jul 2011, Sakari Ailus wrote: Hi all,

Re: [RFC] Binning on sensors

2011-07-14 Thread Guennadi Liakhovetski
On Fri, 15 Jul 2011, Sakari Ailus wrote: On Fri, Jul 15, 2011 at 12:02:06AM +0200, Guennadi Liakhovetski wrote: On Fri, 15 Jul 2011, Sakari Ailus wrote: Hi Guennadi, Thanks for the comments. On Thu, Jul 14, 2011 at 07:56:10PM +0200, Guennadi Liakhovetski wrote: On Thu,