Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_unittest.cc11 void ExerciseControl(V4L2Device* v4l2_dev, uint32_t id, const char* control) { in ExerciseControl() argument
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()
79 V4L2Device v4l2_dev(dev_name, io, 4); in TestEnumControl() local
80 if (!v4l2_dev.OpenDevice()) { in TestEnumControl()
83 v4l2_dev.EnumControl(); in TestEnumControl()
84 v4l2_dev.CloseDevice(); in TestEnumControl()
89 V4L2Device v4l2_dev(dev_name, io, 4); in TestSetControl() local
[all …]
Dmedia_v4l2_is_capture_device.cc16 V4L2Device v4l2_dev(argv[1], V4L2Device::IO_METHOD_MMAP, 4); in main() local
17 if (!v4l2_dev.OpenDevice()) { in main()
24 if (!v4l2_dev.ProbeCaps(&caps, false)) { in main()
31 v4l2_dev.CloseDevice(); in main()