diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-02-26 05:40:59 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-03-15 12:54:47 +0200 |
commit | 1a1cf4a2c13a04f23593419ce93e97f9a5bb22d1 (patch) | |
tree | ce9be8479a8582ed57efae98305ce19d3ac137ce /include/linux/v4l2-common.h | |
parent | 3777d80acc863a19e1d0847d14f4ae86905fb76b (diff) |
libcamera: v4l2_subdevice: Add code member to MediaBusFormatInfo
To prepare for exposing the MediaBusFormatInfo structure as an internal
API, add a code member to the structure to store the media bus code.
This makes MediaBusFormatInfo usable standalone, without having to
externally associate the code related to the info.
The entries in the mediaBusFormatInfo map are becoming too long, so
split them on multiple lines.
While at it, swap the order of the members to match the PixelFormatInfo
class for consistency.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/linux/v4l2-common.h')
0 files changed, 0 insertions, 0 deletions