Lines Matching refs:controls
243 v4l2_ext_controls controls; in GetControl() local
245 memset(&controls, 0, sizeof(controls)); in GetControl()
248 controls.ctrl_class = V4L2_CTRL_ID2CLASS(control_id); in GetControl()
249 controls.count = 1; in GetControl()
250 controls.controls = &control; in GetControl()
252 if (IoctlLocked(VIDIOC_G_EXT_CTRLS, &controls) < 0) { in GetControl()
281 v4l2_ext_controls controls; in SetControl() local
283 memset(&controls, 0, sizeof(controls)); in SetControl()
287 controls.ctrl_class = V4L2_CTRL_ID2CLASS(control_id); in SetControl()
288 controls.count = 1; in SetControl()
289 controls.controls = &control; in SetControl()
291 if (IoctlLocked(VIDIOC_S_EXT_CTRLS, &controls) < 0) { in SetControl()