diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-01-14 15:19:19 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-01-21 11:35:30 +0100 |
commit | ec53057f0af858a0fbfbb6ceeb3cf83b5921858f (patch) | |
tree | 7e5973e803cb78e43546add8915f59af4167e291 /include/linux/v4l2-subdev.h | |
parent | 21ff749a790386f87e767a690c77948a6474ceaa (diff) |
libcamera: media_object: Add functions to entities
Media entities convey information about their main function in the
'function' field of 'struct media_v2_entity'.
Store the main function in the MediaEntity function_ class member and provide
a getter function for that.
While at there update comments, keep the MediaPad description in sync
with the MediaEntity one and remove a stale TODO entry.
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include/linux/v4l2-subdev.h')
0 files changed, 0 insertions, 0 deletions