diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-11-01 09:15:03 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-11-02 12:08:44 +0000 |
commit | 364ae3b78d3f0fc18c9bf1c2c3ee9fee1d80e68a (patch) | |
tree | 40b6baf78322b15f26e1c188266e38af6de5e8bb /src/v4l2/v4l2_compat.cpp | |
parent | 9e3470ad3e4f03364c8160917117d62fde5a7d88 (diff) |
libcamera: bayer_format: Turn BayerFormat::Packing into scoped enum
The unscoped enum BayerFormat::Packing leads to usage of the ambiguous
BayerFormat::None enumerator. Turn the enumeration into a scoped enum to
force usage of BayerFormat::Packing::None, and drop the now redundant
"Packed" suffix for the CSI2 and IPU3 packing.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_compat.cpp')
0 files changed, 0 insertions, 0 deletions