Re: [PATCH 2/5] v4l: controls: Add support for exponential bases, prefixes and units

2018-11-14 Thread Tomasz Figa
Hi Sakari, On Fri, Sep 28, 2018 at 11:00 PM Hans Verkuil wrote: > > On 09/25/2018 12:14 PM, Sakari Ailus wrote: > > Add support for exponential bases, prefixes as well as units for V4L2 > > controls. This makes it possible to convey information on the relation > > between the control value and

Re: [PATCH 2/5] v4l: controls: Add support for exponential bases, prefixes and units

2018-10-14 Thread Pavel Machek
Hi! > Add support for exponential bases, prefixes as well as units for V4L2 > controls. This makes it possible to convey information on the relation > between the control value and the hardware feature being controlled. > > Signed-off-by: Sakari Ailus Sounds good. > +/* V4L2 control

Re: [PATCH 2/5] v4l: controls: Add support for exponential bases, prefixes and units

2018-10-01 Thread Hans Verkuil
On 10/01/2018 11:27 AM, Helmut Grohne wrote: > On Fri, Sep 28, 2018 at 04:00:17PM +0200, Hans Verkuil wrote: >> On 09/25/2018 12:14 PM, Sakari Ailus wrote: >>> +/* V4L2 control unit prefixes */ >>> +#define V4L2_CTRL_PREFIX_NANO -9 >>> +#define V4L2_CTRL_PREFIX_MICRO -6

Re: [PATCH 2/5] v4l: controls: Add support for exponential bases, prefixes and units

2018-10-01 Thread Helmut Grohne
On Fri, Sep 28, 2018 at 04:00:17PM +0200, Hans Verkuil wrote: > On 09/25/2018 12:14 PM, Sakari Ailus wrote: > > +/* V4L2 control unit prefixes */ > > +#define V4L2_CTRL_PREFIX_NANO -9 > > +#define V4L2_CTRL_PREFIX_MICRO -6 > > +#define V4L2_CTRL_PREFIX_MILLI -3

Re: [PATCH 2/5] v4l: controls: Add support for exponential bases, prefixes and units

2018-09-28 Thread Hans Verkuil
On 09/25/2018 12:14 PM, Sakari Ailus wrote: > Add support for exponential bases, prefixes as well as units for V4L2 > controls. This makes it possible to convey information on the relation > between the control value and the hardware feature being controlled. > > Signed-off-by: Sakari Ailus >

[PATCH 2/5] v4l: controls: Add support for exponential bases, prefixes and units

2018-09-25 Thread Sakari Ailus
Add support for exponential bases, prefixes as well as units for V4L2 controls. This makes it possible to convey information on the relation between the control value and the hardware feature being controlled. Signed-off-by: Sakari Ailus --- include/uapi/linux/videodev2.h | 32