Third version, ideally ready to be pushed.
Apart incorporating comments from Laurent, I have left out the last patch that
adds tests, as this might be reworked to make proper use of device enumerator.
Thanks
j
Jacopo Mondi (3):
libcamera: Add pointer to MediaDevice to MediaObject
libcamera: media_device: Add functions to get a MediaLink
libcamera: Add link handling functions
src/libcamera/include/media_device.h | 10 ++
src/libcamera/include/media_object.h | 8 +-
src/libcamera/media_device.cpp | 159 ++++++++++++++++++++++++++-
src/libcamera/media_object.cpp | 62 +++++++++--
4 files changed, 227 insertions(+), 12 deletions(-)
--
2.20.1