diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2019-05-02 16:50:49 -0400 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2019-05-03 16:31:10 -0400 |
commit | 977cfbd526f2da1cfce5c5c2b187c83af3d3efdc (patch) | |
tree | bc80ecc5b23a7a78c1c019b31aff0ad62600339a /Documentation | |
parent | 05ff3d56e04a33756a679d24fe5542e9e50935b4 (diff) |
libcamera: device_enumerator: add DeviceEnumeratorSysfs class
A udev-based device enumerator is not sufficient, since libudev is an
optional dependency, or udev might fail. In these cases, we should fall
back to using sysfs to enumerate devices.
Add a DeviceEnumeratorSysfs class which is a specialization of
DeviceEnumerator that uses sysfs to enumerate media devices on the
system.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/Doxyfile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/Doxyfile.in b/Documentation/Doxyfile.in index 950ad4fe..381f7771 100644 --- a/Documentation/Doxyfile.in +++ b/Documentation/Doxyfile.in @@ -833,7 +833,9 @@ RECURSIVE = YES # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = ../src/libcamera/device_enumerator_udev.cpp \ +EXCLUDE = ../src/libcamera/device_enumerator_sysfs.cpp \ + ../src/libcamera/device_enumerator_udev.cpp \ + ../src/libcamera/include/device_enumerator_sysfs.h \ ../src/libcamera/include/device_enumerator_udev.h \ ../src/libcamera/pipeline/ |