Skip to content

Commit

Permalink
dng: Add support for 10-bit mono format
Browse files Browse the repository at this point in the history
Emulate a BGGR Bayer order to simplify things.

Signed-off-by: Naushir Patuck <[email protected]>
  • Loading branch information
naushir committed Jun 30, 2023
1 parent 8c94e57 commit d932d31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions image/dng.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ static const std::map<PixelFormat, BayerFormat> 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 } },
Expand Down

0 comments on commit d932d31

Please sign in to comment.