/* * This file is part of Krita * * SPDX-FileCopyrightText: 2021 L. E. Segovia * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "KisDitherOpImpl.h" template inline void addStandardDitherOps(KoColorSpace *cs) { static_assert(std::is_same::value || std::is_same::value || #ifdef HAVE_OPENEXR std::is_same::value || #endif std::is_same::value, "Missing colorspace, add a transform case!"); addDitherOpsByDepth(cs, Integer8BitsColorDepthID); addDitherOpsByDepth(cs, Integer16BitsColorDepthID); #ifdef HAVE_OPENEXR addDitherOpsByDepth(cs, Float16BitsColorDepthID); #endif addDitherOpsByDepth(cs, Float32BitsColorDepthID); }