Re: [RFC PATCH 06/11] videodev2.h: add new v4l2_ext_control flags field

2014-11-17 Thread Hans Verkuil
On 11/15/2014 03:18 PM, Sakari Ailus wrote: Hi Hans, On Sun, Sep 21, 2014 at 04:48:24PM +0200, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Replace reserved2 by a flags field. This is used to tell whether setting a new store value is applied only once or every time that

Re: [RFC PATCH 06/11] videodev2.h: add new v4l2_ext_control flags field

2014-11-17 Thread Hans Verkuil
On 11/15/2014 06:44 PM, Sakari Ailus wrote: Hi, On Sat, Nov 15, 2014 at 04:18:59PM +0200, Sakari Ailus wrote: ... union { __s32 value; __s64 value64; @@ -1294,6 +1294,10 @@ struct v4l2_ext_control { }; } __attribute__ ((packed)); +/* v4l2_ext_control

Re: [RFC PATCH 06/11] videodev2.h: add new v4l2_ext_control flags field

2014-11-17 Thread Sakari Ailus
Hi Hans, On Mon, Nov 17, 2014 at 09:57:24AM +0100, Hans Verkuil wrote: On 11/15/2014 06:44 PM, Sakari Ailus wrote: Hi, On Sat, Nov 15, 2014 at 04:18:59PM +0200, Sakari Ailus wrote: ... union { __s32 value; __s64 value64; @@ -1294,6 +1294,10 @@ struct

Re: [RFC PATCH 06/11] videodev2.h: add new v4l2_ext_control flags field

2014-11-15 Thread Sakari Ailus
Hi Hans, On Sun, Sep 21, 2014 at 04:48:24PM +0200, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Replace reserved2 by a flags field. This is used to tell whether setting a new store value is applied only once or every time that v4l2_ctrl_apply_store() is called for that

Re: [RFC PATCH 06/11] videodev2.h: add new v4l2_ext_control flags field

2014-11-15 Thread Sakari Ailus
Hi, On Sat, Nov 15, 2014 at 04:18:59PM +0200, Sakari Ailus wrote: ... union { __s32 value; __s64 value64; @@ -1294,6 +1294,10 @@ struct v4l2_ext_control { }; } __attribute__ ((packed)); +/* v4l2_ext_control flags */ +#define

[RFC PATCH 06/11] videodev2.h: add new v4l2_ext_control flags field

2014-09-21 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Replace reserved2 by a flags field. This is used to tell whether setting a new store value is applied only once or every time that v4l2_ctrl_apply_store() is called for that store. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---