blob: daa69872e074e191d9e598f4752b96a2ddcfdc54 [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
Mike Kleinc0bd9f92019-04-23 12:05:21 -05008#include "src/core/SkOpts.h"
mtklein0358a6a2016-07-13 08:02:20 -07009#define SK_OPTS_NS ssse3
Mike Kleinc0bd9f92019-04-23 12:05:21 -050010#include "src/opts/SkBitmapProcState_opts.h"
11#include "src/opts/SkBlitMask_opts.h"
12#include "src/opts/SkSwizzler_opts.h"
13#include "src/opts/SkXfermode_opts.h"
mtklein8317a182015-07-30 07:30:16 -070014
15namespace SkOpts {
16 void Init_ssse3() {
mtklein0358a6a2016-07-13 08:02:20 -070017 create_xfermode = ssse3::create_xfermode;
18 blit_mask_d32_a8 = ssse3::blit_mask_d32_a8;
msarett53b9d292016-01-19 13:17:58 -080019
mtklein0358a6a2016-07-13 08:02:20 -070020 RGBA_to_BGRA = ssse3::RGBA_to_BGRA;
21 RGBA_to_rgbA = ssse3::RGBA_to_rgbA;
22 RGBA_to_bgrA = ssse3::RGBA_to_bgrA;
23 RGB_to_RGB1 = ssse3::RGB_to_RGB1;
24 RGB_to_BGR1 = ssse3::RGB_to_BGR1;
25 gray_to_RGB1 = ssse3::gray_to_RGB1;
26 grayA_to_RGBA = ssse3::grayA_to_RGBA;
27 grayA_to_rgbA = ssse3::grayA_to_rgbA;
28 inverted_CMYK_to_RGB1 = ssse3::inverted_CMYK_to_RGB1;
29 inverted_CMYK_to_BGR1 = ssse3::inverted_CMYK_to_BGR1;
Mike Kleinf47abb42018-11-13 10:37:19 -050030
Mike Kleinf47abb42018-11-13 10:37:19 -050031 S32_alpha_D32_filter_DX = ssse3::S32_alpha_D32_filter_DX;
mtklein8317a182015-07-30 07:30:16 -070032 }
33}