[libcamera-devel,v3,0/5] Introduce UVC hotplugging support
mbox series

Message ID 20200521135416.13685-1-email@uajain.com
Headers show
Series
  • Introduce UVC hotplugging support
Related show

Message

Umang Jain May 21, 2020, 1:54 p.m. UTC
Hi all,

This version addressed the reviews flowed in for v2 with few more
documentation fixes and self-explanatory commit messages. 

This patch series also adds couple of todos to the codebase.
I am hoping that we can land this initial version and address
those todos separately as we go along. I prefer to own this
patch series' functional area hence, I will try to squash those
todos along moving forwards. Please advise if there is something
wrong with that.

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

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