diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2011-08-26 12:31:13 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-21 14:52:21 +0200 |
commit | 74a45790861f659058e8f8b565d98e5a1fdd8440 (patch) | |
tree | 753280699fda90996de8006469046876124bea0e /include/media/v4l2-ctrls.h | |
parent | [media] drivers/media/video/stk-webcam.c: coding style issue (diff) | |
download | linux-74a45790861f659058e8f8b565d98e5a1fdd8440.tar.xz linux-74a45790861f659058e8f8b565d98e5a1fdd8440.zip |
[media] videodev2.h: add V4L2_CTRL_FLAG_VOLATILE
Add a new VOLATILE control flag that is set for volatile controls.
That way applications know whether the value of the control is volatile
(i.e. can change continuously) or not.
Until now this was an internal property, but it is useful to know in
userspace as well.
A typical use case is the gain value when autogain is on. In that case the
hardware will continuously adjust the gain based various environmental
factors.
This patch just adds and documents the flag, it's not yet used.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-ctrls.h')
0 files changed, 0 insertions, 0 deletions