Home
last modified time | relevance | path

Searched refs:query_ctrl (Results 1 – 3 of 3) sorted by relevance

/external/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_device.cc591 v4l2_queryctrl query_ctrl; in EnumControl() local
592 memset(&query_ctrl, 0, sizeof(query_ctrl)); in EnumControl()
600 for (query_ctrl.id = query_ctrl_sets[i].first; in EnumControl()
601 query_ctrl.id < query_ctrl_sets[i].second; in EnumControl()
602 ++query_ctrl.id) { in EnumControl()
603 if (0 == DoIoctl(VIDIOC_QUERYCTRL, &query_ctrl)) { in EnumControl()
604 if (query_ctrl.flags & V4L2_CTRL_FLAG_DISABLED) { in EnumControl()
605 printf("Control %s is disabled\n", query_ctrl.name); in EnumControl()
608 query_ctrl.name, query_ctrl.minimum, in EnumControl()
609 query_ctrl.maximum, query_ctrl.default_value); in EnumControl()
[all …]
Dmedia_v4l2_unittest.cc17 v4l2_queryctrl query_ctrl; in ExerciseControl() local
18 if (v4l2_dev->QueryControl(id, &query_ctrl)) { in ExerciseControl()
19 if (!v4l2_dev->SetControl(id, query_ctrl.maximum)) in ExerciseControl()
21 if (!v4l2_dev->SetControl(id, query_ctrl.minimum)) in ExerciseControl()
23 if (!v4l2_dev->SetControl(id, query_ctrl.default_value)) in ExerciseControl()
Dmedia_v4l2_device.h69 bool EnumControlMenu(const v4l2_queryctrl& query_ctrl);