libcamera: bayer_format: Add unpacked mono 10-bit format to the conversion table
Add BayerFormat conversions for formats::R10 (10-bit unpacked) format. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
c308ae532a
commit
16ab13eaa9
@@ -149,6 +149,8 @@ const std::map<BayerFormat, Formats, BayerFormatComparator> bayerToFormat{
|
||||
{ formats::SRGGB16, V4L2PixelFormat(V4L2_PIX_FMT_SRGGB16) } },
|
||||
{ { BayerFormat::MONO, 8, BayerFormat::Packing::None },
|
||||
{ formats::R8, V4L2PixelFormat(V4L2_PIX_FMT_GREY) } },
|
||||
{ { BayerFormat::MONO, 10, BayerFormat::Packing::None },
|
||||
{ formats::R10, V4L2PixelFormat(V4L2_PIX_FMT_Y10) } },
|
||||
{ { BayerFormat::MONO, 10, BayerFormat::Packing::CSI2 },
|
||||
{ formats::R10_CSI2P, V4L2PixelFormat(V4L2_PIX_FMT_Y10P) } },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user