Skip to content

Commit

Permalink
dng: Update libcamera format strings for PISP formats
Browse files Browse the repository at this point in the history
These have changed from XXXX16_PISP_COMP1 to XXXX_PISP_COMP1.

Signed-off-by: Naushir Patuck <[email protected]>
  • Loading branch information
naushir committed Apr 17, 2024
1 parent 70894c0 commit deb38c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions image/dng.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ static const std::map<PixelFormat, BayerFormat> 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)
Expand Down

0 comments on commit deb38c1

Please sign in to comment.