Home
last modified time | relevance | path

Searched refs:queryctrl (Results 1 – 2 of 2) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c913 struct v4l2_queryctrl queryctrl; in increase_contrast() local
916 memset (&queryctrl, 0, sizeof (queryctrl)); in increase_contrast()
917 queryctrl.id = V4L2_CID_CONTRAST; in increase_contrast()
919 if (-1 == ioctl (camfd, VIDIOC_QUERYCTRL, &queryctrl)) { in increase_contrast()
926 } else if (queryctrl.flags & V4L2_CTRL_FLAG_DISABLED) { in increase_contrast()
957 struct v4l2_queryctrl queryctrl; in decrease_contrast() local
960 memset (&queryctrl, 0, sizeof (queryctrl)); in decrease_contrast()
961 queryctrl.id = V4L2_CID_CONTRAST; in decrease_contrast()
963 if (-1 == ioctl (camfd, VIDIOC_QUERYCTRL, &queryctrl)) { in decrease_contrast()
970 } else if (queryctrl.flags & V4L2_CTRL_FLAG_DISABLED) { in decrease_contrast()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c1365 struct v4l2_queryctrl queryctrl; in mm_camera_ctrl_set_auto_focus() local
1367 memset (&queryctrl, 0, sizeof (queryctrl)); in mm_camera_ctrl_set_auto_focus()
1368 queryctrl.id = V4L2_CID_FOCUS_AUTO; in mm_camera_ctrl_set_auto_focus()
1374 if (-1 == ioctl (my_obj->ctrl_fd, VIDIOC_QUERYCTRL, &queryctrl)) { in mm_camera_ctrl_set_auto_focus()
1376 } else if (queryctrl.flags & V4L2_CTRL_FLAG_DISABLED) { in mm_camera_ctrl_set_auto_focus()