[libcamera-devel] [PATCH v2 0/5] Introduce UVC hotplug support

Umang Jain email at uajain.com
Wed May 13 19:29:57 CEST 2020


Hi all, 

After a while, working through the reviews and gripping few
concepts along the way, this is the second iteration of
the initial hotplug support, I submitted for review at [1]

[1]: https://u15657259.ct.sendgrid.net/ls/click?upn=8H1KCc2bev8KdIveckpOEBeWjI3THEr-2F8W-2FrEpvXj1ekoJbGR9Ivjkfu-2BLRbGop4lLFTSSW-2BR7XzFtf418GE1MWhYN2yDdtgpIDma1I7Xxo50CYA-2FzGdn8vdeIY5M9vLkoyz_C3wFy2Q4UgRsRLDAYieRZ5Z3EhAWyy0-2FkOzyYc6FPc1dn6ROcAJqKXb9hjP566uPvKbTBxONXI-2BCZL7pLzOWeYqZxVpLQFvCIQZO9BAhCDIK-2FLR5rbAomN4ygqeqT9lRXHCCjJnCJFOYydaTLVCyOhnIK8Yi7XerNc7G2lc-2FvskrBjGSVHMgg41o-2BmhmHuHFlv2Hw-2Bj5uHtcueHBoF1VumNlotoZ9IUhIoLNNo9ZS9kX58IlHcI0IbfF9B57rwUk

Umang Jain (5):
  libcamera: camera_manager: Refactor device enumeration into separate
    function
  libcamera: device_enumerator: Emit a signal when a new device is
    hotplugged
  libcamera: camera_manager: Introduce signals when a camera is
    added/removed
  qcam: main_window: Introduce hotplug support
  tests: Introduce hotplug hot-unplug unit test

 include/libcamera/camera_manager.h        |   6 +-
 src/libcamera/camera_manager.cpp          |  54 ++++++--
 src/libcamera/device_enumerator.cpp       |  12 ++
 src/libcamera/include/device_enumerator.h |   4 +
 src/libcamera/pipeline_handler.cpp        |   2 +-
 src/qcam/main_window.cpp                  |  83 ++++++++++++
 src/qcam/main_window.h                    |   6 +
 test/hotplug-cameras.cpp                  | 152 ++++++++++++++++++++++
 test/meson.build                          |   1 +
 9 files changed, 309 insertions(+), 11 deletions(-)
 create mode 100644 test/hotplug-cameras.cpp

-- 
2.26.2



More information about the libcamera-devel mailing list