Searched refs:query_ctrl (Results 1 – 3 of 3) sorted by relevance
/external/autotest/client/site_tests/camera_V4L2/src/ |
D | media_v4l2_device.cc | 549 v4l2_queryctrl query_ctrl; in EnumControl() local 550 memset(&query_ctrl, 0, sizeof(query_ctrl)); in EnumControl() 551 for (query_ctrl.id = V4L2_CID_BASE; in EnumControl() 552 query_ctrl.id < V4L2_CID_LASTP1; in EnumControl() 553 ++query_ctrl.id) { in EnumControl() 554 if (0 == DoIoctl(VIDIOC_QUERYCTRL, &query_ctrl)) { in EnumControl() 555 if (query_ctrl.flags & V4L2_CTRL_FLAG_DISABLED) { in EnumControl() 556 printf("Control %s is disabled\n", query_ctrl.name); in EnumControl() 559 query_ctrl.name, query_ctrl.minimum, in EnumControl() 560 query_ctrl.maximum, query_ctrl.default_value); in EnumControl() [all …]
|
D | media_v4l2_unittest.cc | 12 v4l2_queryctrl query_ctrl; in ExerciseControl() local 13 if (v4l2_dev->QueryControl(id, &query_ctrl)) { in ExerciseControl() 14 if (!v4l2_dev->SetControl(id, query_ctrl.maximum)) in ExerciseControl() 16 if (!v4l2_dev->SetControl(id, query_ctrl.minimum)) in ExerciseControl() 18 if (!v4l2_dev->SetControl(id, query_ctrl.default_value)) in ExerciseControl()
|
D | media_v4l2_device.h | 53 bool EnumControlMenu(const v4l2_queryctrl& query_ctrl);
|