Home
last modified time | relevance | path

Searched refs:query_ctrl (Results 1 – 4 of 4) 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.cc14 v4l2_queryctrl query_ctrl; in ExerciseControl() local
15 if (v4l2_dev->QueryControl(id, &query_ctrl)) { in ExerciseControl()
16 if (!v4l2_dev->SetControl(id, query_ctrl.maximum)) in ExerciseControl()
18 if (!v4l2_dev->SetControl(id, query_ctrl.minimum)) in ExerciseControl()
20 if (!v4l2_dev->SetControl(id, query_ctrl.default_value)) in ExerciseControl()
Dmedia_v4l2_device.h69 bool EnumControlMenu(const v4l2_queryctrl& query_ctrl);
/external/v4l2_codec2/vda/
Dv4l2_slice_video_decode_accelerator.cc2260 struct v4l2_queryctrl query_ctrl; in IsCtrlExposed() local
2261 memset(&query_ctrl, 0, sizeof(query_ctrl)); in IsCtrlExposed()
2262 query_ctrl.id = ctrl_id; in IsCtrlExposed()
2264 return (device_->Ioctl(VIDIOC_QUERYCTRL, &query_ctrl) == 0); in IsCtrlExposed()