diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2011-06-10 10:44:36 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 22:53:18 +0200 |
commit | 72d877cac07c8d996918977c3162dd78b8097ca8 (patch) | |
tree | 03b03db2d5c44c6cca946cb7f24d61a1c15cce24 /Documentation/video4linux | |
parent | [media] v4l2-controls.txt: update to latest v4l2-ctrl.c changes (diff) | |
download | linux-72d877cac07c8d996918977c3162dd78b8097ca8.tar.xz linux-72d877cac07c8d996918977c3162dd78b8097ca8.zip |
[media] v4l2-ctrls: add v4l2_ctrl_auto_cluster to simplify autogain/gain scenarios
It is a bit tricky to handle autogain/gain type scenerios correctly. Such
controls need to be clustered and the V4L2_CTRL_FLAG_UPDATE should be set on
the autofoo controls. In addition, the manual controls should be marked
inactive when the automatic mode is on, and active when the manual mode is on.
This also requires specialized volatile handling.
The chances of drivers doing all these things correctly are pretty remote.
So a new v4l2_ctrl_auto_cluster function was added that takes care of these
issues.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/video4linux')
0 files changed, 0 insertions, 0 deletions