Implement DNG bad pixels constant for LibRaw

Works if the FixBadPixelsConstant is zero, as implemented for dcraw.
Other constant values may be implemented in the future.
This commit is contained in:
Lawrence Lee
2024-01-01 17:55:05 -08:00
parent d96809ecab
commit d13badbbe0
7 changed files with 60 additions and 32 deletions

View File

@@ -362,6 +362,16 @@ int CacheImageData::save (const Glib::ustring& fname)
}
}
std::uint32_t CacheImageData::getFixBadPixelsConstant() const
{
return 0;
}
bool CacheImageData::hasFixBadPixelsConstant() const
{
return false;
}
std::vector<GainMap> CacheImageData::getGainMaps() const
{
return std::vector<GainMap>();