1/*
2 * Copyright 2020 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#include "src/core/SkOpts.h"
9
10#define SK_OPTS_NS skx
11#include "src/opts/SkBlitRow_opts.h"
12#include "src/opts/SkSwizzler_opts.h"
13#include "src/opts/SkVM_opts.h"
14
15namespace SkOpts {
16 void Init_skx() {
17 blit_row_s32a_opaque = SK_OPTS_NS::blit_row_s32a_opaque;
18 interpret_skvm = SK_OPTS_NS::interpret_skvm;
19 RGBA_to_BGRA = SK_OPTS_NS::RGBA_to_BGRA;
20 RGBA_to_rgbA = SK_OPTS_NS::RGBA_to_rgbA;
21 RGBA_to_bgrA = SK_OPTS_NS::RGBA_to_bgrA;
22 grayA_to_RGBA = SK_OPTS_NS::grayA_to_RGBA;
23 grayA_to_rgbA = SK_OPTS_NS::grayA_to_rgbA;
24 inverted_CMYK_to_RGB1 = SK_OPTS_NS::inverted_CMYK_to_RGB1;
25 inverted_CMYK_to_BGR1 = SK_OPTS_NS::inverted_CMYK_to_BGR1;
26 }
27} // namespace SkOpts
28