Re: Gain controls in v4l2-ctrl framework

2012-09-26 Thread Prabhakar Lad
Hi All, On Sun, Sep 23, 2012 at 4:56 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable I am planning to add the following gain controls as part of the

Re: Gain controls in v4l2-ctrl framework

2012-09-26 Thread Chris MacGregor
Hi All. On 09/25/2012 11:44 PM, Prabhakar Lad wrote: Hi All, On Sun, Sep 23, 2012 at 4:56 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable I am planning to

Re: Gain controls in v4l2-ctrl framework

2012-09-26 Thread Prabhakar Lad
Hi Chris, On Wed, Sep 26, 2012 at 12:23 PM, Chris MacGregor ch...@cybermato.com wrote: Hi All. On 09/25/2012 11:44 PM, Prabhakar Lad wrote: Hi All, On Sun, Sep 23, 2012 at 4:56 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi All, The CCD/Sensors have the capability to adjust

Re: Gain controls in v4l2-ctrl framework

2012-09-26 Thread Sakari Ailus
On Wed, Sep 26, 2012 at 12:14:36PM +0530, Prabhakar Lad wrote: Hi All, On Sun, Sep 23, 2012 at 4:56 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable

Re: Gain controls in v4l2-ctrl framework

2012-09-26 Thread Prabhakar Lad
Hi Sakari, On Wed, Sep 26, 2012 at 1:12 PM, Sakari Ailus sakari.ai...@iki.fi wrote: On Wed, Sep 26, 2012 at 12:14:36PM +0530, Prabhakar Lad wrote: Hi All, On Sun, Sep 23, 2012 at 4:56 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi All, The CCD/Sensors have the capability to

Re: Gain controls in v4l2-ctrl framework

2012-09-26 Thread Sakari Ailus
On Wed, Sep 26, 2012 at 01:16:08PM +0530, Prabhakar Lad wrote: ... Currently I am need of following, 1: V4L2_CID_GAIN_RED 2: V4L2_CID_GAIN_GREEN_RED 3: V4L2_CID_GAIN_GREEN_BLUE 4: V4L2_CID_GAIN_BLUE 5: V4L2_CID_GAIN_OFFSET Are they analogue or digital? -- Sakari Ailus e-mail:

Re: Gain controls in v4l2-ctrl framework

2012-09-26 Thread Prabhakar Lad
On Wed, Sep 26, 2012 at 1:24 PM, Sakari Ailus sakari.ai...@iki.fi wrote: On Wed, Sep 26, 2012 at 01:16:08PM +0530, Prabhakar Lad wrote: ... Currently I am need of following, 1: V4L2_CID_GAIN_RED 2: V4L2_CID_GAIN_GREEN_RED 3: V4L2_CID_GAIN_GREEN_BLUE 4: V4L2_CID_GAIN_BLUE 5:

Re: Gain controls in v4l2-ctrl framework

2012-09-26 Thread Chris MacGregor
Hi. On 09/26/2012 12:42 AM, Sakari Ailus wrote: On Wed, Sep 26, 2012 at 12:14:36PM +0530, Prabhakar Lad wrote: Hi All, On Sun, Sep 23, 2012 at 4:56 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain

Re: Gain controls in v4l2-ctrl framework

2012-09-26 Thread Laurent Pinchart
Hi Chris, On Wednesday 26 September 2012 07:42:41 Chris MacGregor wrote: On 09/26/2012 12:42 AM, Sakari Ailus wrote: On Wed, Sep 26, 2012 at 12:14:36PM +0530, Prabhakar Lad wrote: On Sun, Sep 23, 2012 at 4:56 PM, Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to

Re: Gain controls in v4l2-ctrl framework

2012-09-26 Thread Sakari Ailus
Hi Laurent and Chris, Laurent Pinchart wrote: On Wednesday 26 September 2012 07:42:41 Chris MacGregor wrote: ... Sorry to make this more complicated, but the Aptina MT9P031, for instance (datasheet at http://www.aptina.com/assets/downloadDocument.do?id=865 - see page 35), has Digital Gain, an

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Hans de Goede
Hi, On 09/23/2012 01:26 PM, Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable I am planning to add the following gain controls as part of the framework: 1: V4L2_CID_GAIN_RED 2:

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Laurent Pinchart
Hi Hans, On Monday 24 September 2012 12:55:53 Hans de Goede wrote: On 09/23/2012 01:26 PM, Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable I am planning to add the following gain

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Hans de Goede
Hi, On 09/24/2012 01:00 PM, Laurent Pinchart wrote: Hi Hans, On Monday 24 September 2012 12:55:53 Hans de Goede wrote: On 09/23/2012 01:26 PM, Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Laurent Pinchart
On Sunday 23 September 2012 19:27:03 Sakari Ailus wrote: Laurent Pinchart wrote: On Sunday 23 September 2012 16:20:06 Sakari Ailus wrote: Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Prabhakar Lad
Hi Hans, On Mon, Sep 24, 2012 at 4:25 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 09/23/2012 01:26 PM, Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable I am planning to add

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Chris MacGregor
On 09/24/2012 07:42 AM, Prabhakar Lad wrote: Hi Hans, On Mon, Sep 24, 2012 at 4:25 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 09/23/2012 01:26 PM, Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Hans de Goede
Hi, On 09/24/2012 07:17 PM, Chris MacGregor wrote: On 09/24/2012 07:42 AM, Prabhakar Lad wrote: Hi Hans, On Mon, Sep 24, 2012 at 4:25 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 09/23/2012 01:26 PM, Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Chris MacGregor
Hi, Hans. On 09/24/2012 11:46 AM, Hans de Goede wrote: Hi, On 09/24/2012 07:17 PM, Chris MacGregor wrote: On 09/24/2012 07:42 AM, Prabhakar Lad wrote: Hi Hans, On Mon, Sep 24, 2012 at 4:25 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 09/23/2012 01:26 PM, Prabhakar Lad wrote: Hi

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Sakari Ailus
Hi Prabhakar, On Sun, Sep 23, 2012 at 04:56:21PM +0530, Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable I am planning to add the following gain controls as part of the framework: 1:

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Sakari Ailus
Hi Chris and Hans, On Mon, Sep 24, 2012 at 12:16:01PM -0700, Chris MacGregor wrote: ... (I have patches to add the controls, but I haven't had time yet to get them into good enough shape to submit - sorry!) It seems to me that for applications that want to set them to the same value

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Laurent Pinchart
On Monday 24 September 2012 12:16:01 Chris MacGregor wrote: On 09/24/2012 11:46 AM, Hans de Goede wrote: On 09/24/2012 07:17 PM, Chris MacGregor wrote: On 09/24/2012 07:42 AM, Prabhakar Lad wrote: On Mon, Sep 24, 2012 at 4:25 PM, Hans de Goede wrote: On 09/23/2012 01:26 PM, Prabhakar Lad

Re: Gain controls in v4l2-ctrl framework

2012-09-24 Thread Laurent Pinchart
Hi Sakari, On Monday 24 September 2012 23:06:34 Sakari Ailus wrote: On Sun, Sep 23, 2012 at 04:56:21PM +0530, Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable I am planning to add

Re: Gain controls in v4l2-ctrl framework

2012-09-23 Thread Sakari Ailus
Hi Prabhakar, Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable I am planning to add the following gain controls as part of the framework: 1: V4L2_CID_GAIN_RED 2: V4L2_CID_GAIN_GREEN_RED 3:

Re: Gain controls in v4l2-ctrl framework

2012-09-23 Thread Laurent Pinchart
Hi, On Sunday 23 September 2012 16:20:06 Sakari Ailus wrote: Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable I am planning to add the following gain controls as part of the

Re: Gain controls in v4l2-ctrl framework

2012-09-23 Thread Sakari Ailus
Hi Laurent, Laurent Pinchart wrote: Hi, On Sunday 23 September 2012 16:20:06 Sakari Ailus wrote: Prabhakar Lad wrote: Hi All, The CCD/Sensors have the capability to adjust the R/ye, Gr/Cy, Gb/G, B/Mg gain values. Since these control can be re-usable I am planning to add the following gain