blob: 94a26a1ca24d1d92eff3ade408c2bbb507cbd7ab [file] [log] [blame]
mtklein8317a182015-07-30 07:30:16 -07001/*
2 * Copyright 2015 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 "SkOpts.h"
mtkleinb2a32702015-08-18 10:00:29 -07009#define SK_OPTS_NS sk_ssse3
mtklein94837632015-08-18 05:18:52 -070010#include "SkBlitMask_opts.h"
mtklein2d141ba2015-08-18 09:43:28 -070011#include "SkColorCubeFilter_opts.h"
msarett53b9d292016-01-19 13:17:58 -080012#include "SkSwizzler_opts.h"
mtklein94837632015-08-18 05:18:52 -070013#include "SkXfermode_opts.h"
mtklein8317a182015-07-30 07:30:16 -070014
15namespace SkOpts {
16 void Init_ssse3() {
mtklein08f92342015-08-18 12:23:28 -070017 create_xfermode = sk_ssse3::create_xfermode;
mtkleinb2a32702015-08-18 10:00:29 -070018 blit_mask_d32_a8 = sk_ssse3::blit_mask_d32_a8;
19 color_cube_filter_span = sk_ssse3::color_cube_filter_span;
msarett53b9d292016-01-19 13:17:58 -080020
msarettc5c322d2016-02-08 13:26:25 -080021 RGBA_to_BGRA = sk_ssse3::RGBA_to_BGRA;
22 RGBA_to_rgbA = sk_ssse3::RGBA_to_rgbA;
23 RGBA_to_bgrA = sk_ssse3::RGBA_to_bgrA;
24 RGB_to_RGB1 = sk_ssse3::RGB_to_RGB1;
25 RGB_to_BGR1 = sk_ssse3::RGB_to_BGR1;
26 gray_to_RGB1 = sk_ssse3::gray_to_RGB1;
27 grayA_to_RGBA = sk_ssse3::grayA_to_RGBA;
28 grayA_to_rgbA = sk_ssse3::grayA_to_rgbA;
29 inverted_CMYK_to_RGB1 = sk_ssse3::inverted_CMYK_to_RGB1;
30 inverted_CMYK_to_BGR1 = sk_ssse3::inverted_CMYK_to_BGR1;
mtklein8317a182015-07-30 07:30:16 -070031 }
32}