Searched refs:event_device (Results 1 – 3 of 3) sorted by relevance
164 SmartPtr<V4l2SubDevice> event_device = new V4l2SubDevice (DEFAULT_EVENT_DEVICE); in main() local181 ret = event_device->open (); in main()182 CHECK (ret, "event device(%s) open failed", event_device->get_device_name()); in main()184 ret = event_device->subscribe_event (event); in main()188 event_device->get_device_name(), event); in main()190 ret = event_device->subscribe_event (event); in main()194 event_device->get_device_name(), event); in main()195 ret = event_device->start(); in main()226 poll_thread->set_event_device(event_device); in main()244 event_device->close (); in main()
319 SmartPtr<V4l2SubDevice> event_device; in main() local781 if (!event_device.ptr ()) in main()782 event_device = new V4l2SubDevice (DEFAULT_EVENT_DEVICE); in main()783 ret = event_device->open (); in main()785 CHECK (ret, "event device(%s) open failed", event_device->get_device_name()); in main()787 ret = event_device->subscribe_event (event); in main()791 event_device->get_device_name(), event); in main()793 ret = event_device->subscribe_event (event); in main()797 event_device->get_device_name(), event); in main()799 device_manager->set_event_device (event_device); in main()[all …]
922 SmartPtr<V4l2SubDevice> event_device; in gst_xcam_src_start() local964 event_device = new V4l2SubDevice (DEFAULT_EVENT_DEVICE); in gst_xcam_src_start()965 XCamReturn ret = event_device->open (); in gst_xcam_src_start()967 event_device->subscribe_event (V4L2_EVENT_ATOMISP_3A_STATS_READY); in gst_xcam_src_start()968 device_manager->set_event_device (event_device); in gst_xcam_src_start()1161 SmartPtr<V4l2SubDevice> event_device; in gst_xcam_src_stop() local1169 event_device = device_manager->get_event_device(); in gst_xcam_src_stop()1171 if (event_device.ptr()) in gst_xcam_src_stop()1172 event_device->close (); in gst_xcam_src_stop()