Home | History | Annotate | Download | only in src

Lines Matching refs:dev_name

33   std::string dev_name;
248 bool TestIO(const std::string& dev_name) {
260 new V4L2Device(dev_name.c_str(), buffers));
293 bool TestResolutions(const std::string& dev_name,
306 new V4L2Device(dev_name.c_str(), buffers));
323 printf("[Error] Get supported formats failed in %s.\n", dev_name.c_str());
364 test_resolution.height, dev_name.c_str());
380 dev_name.c_str());
398 dev_name.c_str());
416 kFrameRate, dev_name.c_str());
434 test_format->fourcc, actual_fps, dev_name.c_str());
441 test_format->height, test_format->fourcc, dev_name.c_str());
457 bool TestFirstFrameAfterStreamOn(const std::string& dev_name,
467 new V4L2Device(dev_name.c_str(), buffers));
473 printf("[Error] Get supported formats failed in %s.\n", dev_name.c_str());
535 bool TestMaximumSupportedResolution(const std::string& dev_name,
539 new V4L2Device(dev_name.c_str(), buffers));
546 printf("[Error] Get supported formats failed in %s.\n", dev_name.c_str());
578 const TestProfile GetTestProfile(const std::string& dev_name,
615 profile.dev_name = dev_name;
665 ASSERT_TRUE(TestIO(g_profile.dev_name));
675 ASSERT_TRUE(TestResolutions(g_profile.dev_name, g_profile.check_1280x960,
685 ASSERT_TRUE(TestMaximumSupportedResolution(g_profile.dev_name,
693 ASSERT_TRUE(TestFirstFrameAfterStreamOn(g_profile.dev_name,
705 std::string dev_name = "/dev/video";
717 dev_name = it->second;
734 g_profile = GetTestProfile(dev_name, usb_info, test_list);