All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] v4l2-ctrls: add new functionality
@ 2011-01-22 11:05 Hans Verkuil
  2011-01-22 11:05 ` [RFC PATCH 1/3] v4l2-ctrls: must be able to enable/disable controls Hans Verkuil
  0 siblings, 1 reply; 12+ messages in thread
From: Hans Verkuil @ 2011-01-22 11:05 UTC (permalink / raw)
  To: linux-media

This RFC patch series adds and documents two new features of the control
framework.

The first adds support to enable or disable specific controls or all controls
from a control handler. This is needed to support drivers that need to change
which controls are available based on the chosen input or output. In cases
like this each input or output is hooked up to a different video receiver or
transmitter, each with its own set of controls. Switching inputs/outputs means
that the controls from the new input should be enabled, while those of the
others should be disabled.

The second adds support to simplify handling of 'auto-foo/foo' type of controls.
E.g.: autogain/gain, autoexposure/exposure, etc. It is a bit tricky to handle
that correctly and after having to do this many times when I was converting the
soc_camera sensors I decided to add special support for this in the framework.

It should ensure consistent handling of these special kinds of controls in the
drivers.

If there are no comments, then I plan on making a pull request for this for
2.6.39 and base the soc_camera and ov7670 conversions on this. For 2.6.39 I
want to finish converting all subdev to the control framework and make a good
start at converting the v4l2 drivers as well.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-01-25 20:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-22 11:05 [RFC PATCH 0/3] v4l2-ctrls: add new functionality Hans Verkuil
2011-01-22 11:05 ` [RFC PATCH 1/3] v4l2-ctrls: must be able to enable/disable controls Hans Verkuil
2011-01-22 11:06   ` [RFC PATCH 2/3] v4l2-ctrls: add v4l2_ctrl_auto_cluster to simplify autogain/gain scenarios Hans Verkuil
2011-01-23 15:15     ` Hans de Goede
2011-01-23 16:13       ` Hans Verkuil
2011-01-25 20:36         ` Hans de Goede
2011-01-25 20:53           ` Hans Verkuil
2011-01-22 11:06   ` [RFC PATCH 3/3] v4l2-ctrls: update control framework documentation Hans Verkuil
2011-01-23 11:08     ` Sylwester Nawrocki
2011-01-23 14:53       ` Kim HeungJun
2011-01-22 16:11   ` [RFC PATCH 1/3] v4l2-ctrls: must be able to enable/disable controls Andy Walls
2011-01-22 17:12     ` Hans Verkuil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.