diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2021-11-01 09:15:06 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-11-02 12:08:45 +0000 |
commit | 91bd175c8f43bf66a039f9979ed89103808aef0b (patch) | |
tree | 65bc2fbe030502874500ec681c632bd22de54212 /src/cam/kms_sink.cpp | |
parent | 16ab13eaa94eb05554cba8ce585caa1fa3ee8f50 (diff) |
libcamera: bayer_format: Add PixelFormat conversion helpers to BayerFormat class
Add BayerFormat::toPixelFormat() and BayerFormat::fromPixelFormat() helper
functions to convert between BayerFormat and PixelFormat types.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[Kieran: Minor checkstyle fix]
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/kms_sink.cpp')
0 files changed, 0 insertions, 0 deletions