Krita Source Code Documentation
Loading...
Searching...
No Matches
KoAlphaMaskApplicatorFactoryImpl.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Dmitry Kazakov <dimula73@gmail.com>
3 * SPDX-FileCopyrightText: 2022 L. E. Segovia <amy@amyspark.me>
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7
9
10#if XSIMD_UNIVERSAL_BUILD_PASS
12
13#include <KoConfig.h>
14#ifdef HAVE_OPENEXR
15#include <half.h>
16#endif
17
18template<typename _channels_type_, int _channels_nb_, int _alpha_pos_>
19template<typename _impl>
22 create()
23{
24 return new KoAlphaMaskApplicator<_channels_type_,
25 _channels_nb_,
26 _alpha_pos_,
27 _impl>();
28}
29
34#ifdef HAVE_OPENEXR
36#endif
38
41#ifdef HAVE_OPENEXR
43#endif
45
48#ifdef HAVE_OPENEXR
50#endif
52
55#ifdef HAVE_OPENEXR
57#endif
59
60#endif // XSIMD_UNIVERSAL_BUILD_PASS
static KoAlphaMaskApplicatorBase * create()