[libcamera-devel,v2,0/4] libcamera: media device: Add link handling
mbox series

Message ID 20190108170407.4770-1-jacopo@jmondi.org
Headers show
Series
  • libcamera: media device: Add link handling
Related show

Message

Jacopo Mondi Jan. 8, 2019, 5:04 p.m. UTC
Hello,
   this series adds an interface to manipulate links to the MediaDevice
and MediaObject classes.

I have here incorporated review comments received on v1.

Changelog:
- Dropped doxygen patch and moved documentation of MediaDevice::setupLink()
  to the commit that adds it.
- The link handling test only runs on VIMC, otherwise the test is skipped
- Add a MediaDevice::resetLinks() function to reset all links in the media
  device.

Singular patches changelog is reported per patch when relevant.

Thanks
   j

Jacopo Mondi (4):
  libcamera: Add pointer to MediaDevice to MediaObject
  libcamera: media_device: Add functions to get a MediaLink
  libcamera: Add link handling functions
  test: MediaDevice: Add link exercise test

 src/libcamera/include/media_device.h    |  10 ++
 src/libcamera/include/media_object.h    |   8 +-
 src/libcamera/media_device.cpp          | 158 +++++++++++++++++++++++-
 src/libcamera/media_object.cpp          |  56 +++++++--
 test/media_device/media_device_test.cpp | 147 +++++++++++++++++++++-
 5 files changed, 363 insertions(+), 16 deletions(-)

--
2.20.1