ptr.p_s32[idx]; @@ -1502,6 +1522,8 @@ static int check_range(enum v4l2_ctrl_type type, if (step != 1 || max > 1 || min < 0) return -ERANGE; /* fall through */ + case V4L2_CTRL_TYPE_U8: + case V4L2_CTRL_TYPE_U16: case V4L2_CTRL_TYPE_INTEGER: case V4L2_CTRL_TYPE...
media / v4l2-subdev.h v6 v5 v4 v4.20 v4.19 v4.18 v4.18.20 v4.18.19 v4.18.18 v4.18.17 v4.18.16 v4.18.15 v4.18.14 v4.18.13 v4.18.12 v4.18.11 v4.18.10 v4.18.9 v4.18.8 v4.18.7 v4.18.6 v4.18.5 v4.18.4 v4.18.3 v4.18.2 v4.18.1 v...
* modify it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The Open Astro Project is distributed in the hope that it will be ...
struct v4l2_ctrl_handler { int error; }; struct v4l2_ctrl_config { void *ops; u32 id; const char *name; int type; s32 min; s32 max; u32 step; s32 def; }; int v4l2_ctrl_handler_init(struct v4l2_ctrl_handler*hdl, unsigned nr_of_controls_hint) { hdl->...