Hi Hans,
On Sat, May 28, 2011 at 04:58:20PM +0200, Hans Verkuil wrote:
> On Saturday, May 28, 2011 12:34:21 Sakari Ailus wrote:
> > Hi Hans,
> >
> > On Wed, May 25, 2011 at 03:33:51PM +0200, Hans Verkuil wrote:
> > > From: Hans Verkuil
> > >
> > > Whenever a control changes value or state an ev
On Sat, May 28, 2011 at 05:08:30PM +0200, Hans Verkuil wrote:
> On Saturday, May 28, 2011 12:48:45 Sakari Ailus wrote:
[clip]
> > Do we really need type and default_value in the event? They are static, and
> > on the other hand, the type should be already defined by the control so
> > that's static
On Saturday, May 28, 2011 12:48:45 Sakari Ailus wrote:
> Hi Hans,
>
> On Wed, May 25, 2011 at 03:33:51PM +0200, Hans Verkuil wrote:
> > @@ -1800,21 +1801,45 @@ struct v4l2_event_vsync {
> > __u8 field;
> > } __attribute__ ((packed));
> >
> > +/* Payload for V4L2_EVENT_CTRL */
> > +#define V
On Saturday, May 28, 2011 12:34:21 Sakari Ailus wrote:
> Hi Hans,
>
> On Wed, May 25, 2011 at 03:33:51PM +0200, Hans Verkuil wrote:
> > From: Hans Verkuil
> >
> > Whenever a control changes value or state an event is sent to anyone
> > that subscribed to it.
> >
> > This functionality is useful
Hi Hans,
On Wed, May 25, 2011 at 03:33:51PM +0200, Hans Verkuil wrote:
> @@ -1800,21 +1801,45 @@ struct v4l2_event_vsync {
> __u8 field;
> } __attribute__ ((packed));
>
> +/* Payload for V4L2_EVENT_CTRL */
> +#define V4L2_EVENT_CTRL_CH_VALUE (1 << 0)
> +#define V4L2_EVENT_CTRL
Hi Hans,
On Wed, May 25, 2011 at 03:33:51PM +0200, Hans Verkuil wrote:
> From: Hans Verkuil
>
> Whenever a control changes value or state an event is sent to anyone
> that subscribed to it.
>
> This functionality is useful for control panels but also for applications
> that need to wait for (us
From: Hans Verkuil
Whenever a control changes value or state an event is sent to anyone
that subscribed to it.
This functionality is useful for control panels but also for applications
that need to wait for (usually status) controls to change value.
Signed-off-by: Hans Verkuil
---
drivers/med