diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-08 12:55:00 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-08 12:55:00 +0200 |
commit | 7e060a1f1573031a7925ebba3789faf730c97ecb (patch) | |
tree | cd7c604c668896988de4c0d8cf009af9902de150 /linux/include/media | |
parent | 12a7cf3b8b955b3d1e47e82b00515f9e3d00d91e (diff) | |
download | mediapointer-dvb-s2-7e060a1f1573031a7925ebba3789faf730c97ecb.tar.gz mediapointer-dvb-s2-7e060a1f1573031a7925ebba3789faf730c97ecb.tar.bz2 |
v4l2: add v4l2_ctrl_get_name control support function.
From: Hans Verkuil <hverkuil@xs4all.nl>
Add function that returns the control name. Allows this to be used in
places where the normal v4l2_ctrl_query_fill() function cannot be
used (e.g. uvc).
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include/media')
-rw-r--r-- | linux/include/media/v4l2-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-common.h b/linux/include/media/v4l2-common.h index 07d3a9a57..8b678e0d4 100644 --- a/linux/include/media/v4l2-common.h +++ b/linux/include/media/v4l2-common.h @@ -76,6 +76,7 @@ int v4l2_prio_check(struct v4l2_prio_state *global, enum v4l2_priority *local); int v4l2_ctrl_check(struct v4l2_ext_control *ctrl, struct v4l2_queryctrl *qctrl, const char **menu_items); +const char *v4l2_ctrl_get_name(u32 id); const char **v4l2_ctrl_get_menu(u32 id); int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 step, s32 def); int v4l2_ctrl_query_fill_std(struct v4l2_queryctrl *qctrl); |