Re: [RFCv2 PATCH 07/11] v4l2-ctrls: add control events.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <hans.verkuil@xxxxxxxxx>
> > > 
> > > 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.
> > 
> > Thanks for the patch!
> > 
> > I agree that it's good to pass more information of the control (min, max
> > etc.) to the user space with the event. However, to support events arriving
> > from interrupt context which we've discussed in the past, such information
> > must be also accessible in those situations.
> > 
> > What do you think about more fine-grained locking of controls, say, spinlock
> > for each control (cluster) as an idea?
> 
> It's on my TODO list, but I need to think carefully on how to do it.
> One thing at a time :-)

I agree. I just wanted to hear your thoughts about this. :)

-- 
Sakari Ailus
sakari dot ailus at iki dot fi
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux