diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-09-11 23:18:14 +0200 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-09-12 12:01:29 +0200 |
commit | a783562a34893fb1f96fea4ba6584d8e8e61d9b2 (patch) | |
tree | 574cb30b6903d2b3f4a370492aec306c6227057a /utils/hooks/pre-commit | |
parent | 6837607ca3f5ef0c516198494c5211cd7be0b165 (diff) |
libcamera: media_object: Add MediaLink string representations
Various parts of libcamera print the representation of a MediaLink by
inline joining the parts to make a string representation.
This repeated use case can be supported with a common helper to print
the MediaLink in a common manner using the existing toString() and
operator<< overload style to make it easier to report on MediaLink
types.
This implementation will report in the following style:
'imx283 1-001a'[0] -> 'video-mux'[0]
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/hooks/pre-commit')
0 files changed, 0 insertions, 0 deletions