Re: [RFC PATCH 07/11] v4l2-ctrls: implement 'ignore after use' support.

2014-11-17 Thread Hans Verkuil
On 11/17/2014 10:31 AM, Sakari Ailus wrote: > Hi Hans, > > On Mon, Nov 17, 2014 at 10:02:03AM +0100, Hans Verkuil wrote: >> On 11/15/2014 10:10 PM, Sakari Ailus wrote: @@ -197,6 +207,8 @@ struct v4l2_ctrl { u32 nr_of_dims; u16 nr_of_stores; u16 store; + DECLARE_B

Re: [RFC PATCH 07/11] v4l2-ctrls: implement 'ignore after use' support.

2014-11-17 Thread Sakari Ailus
Hi Hans, On Mon, Nov 17, 2014 at 10:02:03AM +0100, Hans Verkuil wrote: > On 11/15/2014 10:10 PM, Sakari Ailus wrote: > > Hi Hans, > > > > A few comments below. > > > > On Sun, Sep 21, 2014 at 04:48:25PM +0200, Hans Verkuil wrote: > >> From: Hans Verkuil > >> > >> Sometimes you want to apply a v

Re: [RFC PATCH 07/11] v4l2-ctrls: implement 'ignore after use' support.

2014-11-17 Thread Hans Verkuil
On 11/15/2014 10:10 PM, Sakari Ailus wrote: > Hi Hans, > > A few comments below. > > On Sun, Sep 21, 2014 at 04:48:25PM +0200, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Sometimes you want to apply a value every time v4l2_ctrl_apply_store >> is called, and sometimes you want to apply that v

Re: [RFC PATCH 07/11] v4l2-ctrls: implement 'ignore after use' support.

2014-11-15 Thread Sakari Ailus
Hi Hans, A few comments below. On Sun, Sep 21, 2014 at 04:48:25PM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > Sometimes you want to apply a value every time v4l2_ctrl_apply_store > is called, and sometimes you want to apply that value only once. > > This adds support for that feature.

[RFC PATCH 07/11] v4l2-ctrls: implement 'ignore after use' support.

2014-09-21 Thread Hans Verkuil
From: Hans Verkuil Sometimes you want to apply a value every time v4l2_ctrl_apply_store is called, and sometimes you want to apply that value only once. This adds support for that feature. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ctrls.c | 75 --