From deb38c133b4e217b41ca9609cf8c72ff4bec47c7 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Wed, 17 Apr 2024 15:44:47 +0100 Subject: [PATCH] dng: Update libcamera format strings for PISP formats These have changed from XXXX16_PISP_COMP1 to XXXX_PISP_COMP1. Signed-off-by: Naushir Patuck --- image/dng.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/image/dng.cpp b/image/dng.cpp index 7692f92c..974374d1 100644 --- a/image/dng.cpp +++ b/image/dng.cpp @@ -70,10 +70,10 @@ static const std::map bayer_formats = { formats::R12, { "BGGR-12", 12, TIFF_BGGR, false, false } }, /* PiSP compressed formats. */ - { formats::RGGB16_PISP_COMP1, { "RGGB-16-PISP", 16, TIFF_RGGB, false, true } }, - { formats::GRBG16_PISP_COMP1, { "GRBG-16-PISP", 16, TIFF_GRBG, false, true } }, - { formats::GBRG16_PISP_COMP1, { "GBRG-16-PISP", 16, TIFF_GBRG, false, true } }, - { formats::BGGR16_PISP_COMP1, { "BGGR-16-PISP", 16, TIFF_BGGR, false, true } }, + { formats::RGGB_PISP_COMP1, { "RGGB-16-PISP", 16, TIFF_RGGB, false, true } }, + { formats::GRBG_PISP_COMP1, { "GRBG-16-PISP", 16, TIFF_GRBG, false, true } }, + { formats::GBRG_PISP_COMP1, { "GBRG-16-PISP", 16, TIFF_GBRG, false, true } }, + { formats::BGGR_PISP_COMP1, { "BGGR-16-PISP", 16, TIFF_BGGR, false, true } }, }; static void unpack_10bit(uint8_t const *src, StreamInfo const &info, uint16_t *dest)