mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
2ccbe779bc
This patch adds a helper function that allows to modify range, i.e. minimum, maximum, step and default value of a v4l2 control, after the control has been created and initialized. This is helpful in situations when range of a control depends on user configurable parameters, e.g. camera sensor absolute exposure time depending on an output image resolution and frame rate. v4l2_ctrl_modify_range() function allows to modify range of an INTEGER, BOOL, MENU, INTEGER_MENU and BITMASK type controls. Based on a patch from Hans Verkuil http://patchwork.linuxtv.org/patch/8654. Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
dvb | ||
v4l | ||
bayer.png.b64 | ||
constraints.png.b64 | ||
crop.gif.b64 | ||
dvbstb.png.b64 | ||
fieldseq_bt.gif.b64 | ||
fieldseq_tb.gif.b64 | ||
Makefile | ||
nv12mt_example.gif.b64 | ||
nv12mt.gif.b64 | ||
pipeline.png.b64 | ||
selection.png.b64 | ||
vbi_525.gif.b64 | ||
vbi_625.gif.b64 | ||
vbi_hsync.gif.b64 |