diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-12-18 15:51:39 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-12-30 11:22:52 +0100 |
commit | 1c0096d7517afca568e642dac6ffce894a5098fb (patch) | |
tree | 7205ef2e8d34ac4e7036bd5c3c756cdd846718ea /src/ipa/raspberrypi/md_parser.hpp | |
parent | 5d3d0dcedb36f991b7f395c15b9112694f44d87d (diff) |
libcamera: bayer_format: Add support for mbus codes
The existing implementation of the BayerFormat class supports
converting a V4L2PixelFormat to a BayerFormat and vice-versa.
Expand the class by adding support for converting a media bus code
to a BayerFormat instance, by providing a conversion table and a
dedicated static methods.
Do not provide support for converting a BayerFormat to a media bus code
as there's no 1-to-1 mapping between the two.
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/ipa/raspberrypi/md_parser.hpp')
0 files changed, 0 insertions, 0 deletions