From d932d3132a2414b976a08373ff8dc5e83f568ef5 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Fri, 30 Jun 2023 09:04:46 +0100 Subject: [PATCH] dng: Add support for 10-bit mono format Emulate a BGGR Bayer order to simplify things. Signed-off-by: Naushir Patuck --- image/dng.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/image/dng.cpp b/image/dng.cpp index fbc02bb0..d255b1ed 100644 --- a/image/dng.cpp +++ b/image/dng.cpp @@ -39,6 +39,7 @@ static const std::map bayer_formats = { formats::SRGGB10_CSI2P, { "RGGB-10", 10, TIFF_RGGB } }, { formats::SGRBG10_CSI2P, { "GRBG-10", 10, TIFF_GRBG } }, { formats::SBGGR10_CSI2P, { "BGGR-10", 10, TIFF_BGGR } }, + { formats::R10_CSI2P, { "BGGR-10", 10, TIFF_BGGR } }, { formats::SGBRG10_CSI2P, { "GBRG-10", 10, TIFF_GBRG } }, { formats::SRGGB12_CSI2P, { "RGGB-12", 12, TIFF_RGGB } }, { formats::SGRBG12_CSI2P, { "GRBG-12", 12, TIFF_GRBG } },