1dc7de745dd142cdc00ffed7963ebb030a0506f72senorblanco@chromium.org/*
2ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com * Copyright 2009 The Android Open Source Project
3ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com *
4ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com * Use of this source code is governed by a BSD-style license that can be
5ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com * found in the LICENSE file.
6dc7de745dd142cdc00ffed7963ebb030a0506f72senorblanco@chromium.org */
7dc7de745dd142cdc00ffed7963ebb030a0506f72senorblanco@chromium.org
88c4953c6f176469ad287c3270ab146e292b23badcommit-bot@chromium.org#ifndef SkBitmapProcState_opts_SSE2_DEFINED
98c4953c6f176469ad287c3270ab146e292b23badcommit-bot@chromium.org#define SkBitmapProcState_opts_SSE2_DEFINED
10ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com
11dc7de745dd142cdc00ffed7963ebb030a0506f72senorblanco@chromium.org#include "SkBitmapProcState.h"
12dc7de745dd142cdc00ffed7963ebb030a0506f72senorblanco@chromium.org
13dc7de745dd142cdc00ffed7963ebb030a0506f72senorblanco@chromium.orgvoid S32_opaque_D32_filter_DX_SSE2(const SkBitmapProcState& s,
14dc7de745dd142cdc00ffed7963ebb030a0506f72senorblanco@chromium.org                                   const uint32_t* xy,
15dc7de745dd142cdc00ffed7963ebb030a0506f72senorblanco@chromium.org                                   int count, uint32_t* colors);
16f3f0bd71b81097f6c640e7f60805de7eacbc98c6senorblanco@chromium.orgvoid S32_alpha_D32_filter_DX_SSE2(const SkBitmapProcState& s,
17f3f0bd71b81097f6c640e7f60805de7eacbc98c6senorblanco@chromium.org                                  const uint32_t* xy,
18f3f0bd71b81097f6c640e7f60805de7eacbc98c6senorblanco@chromium.org                                  int count, uint32_t* colors);
19c3856384e4ab9a7ad5902696a5c972ab595b8467senorblanco@chromium.orgvoid Color32_SSE2(SkPMColor dst[], const SkPMColor src[], int count,
20c3856384e4ab9a7ad5902696a5c972ab595b8467senorblanco@chromium.org                  SkPMColor color);
2106a7313430728b18f2ed92f14b189f3320fb8d13tomhudson@google.comvoid ClampX_ClampY_filter_scale_SSE2(const SkBitmapProcState& s, uint32_t xy[],
2206a7313430728b18f2ed92f14b189f3320fb8d13tomhudson@google.com                                     int count, int x, int y);
2306a7313430728b18f2ed92f14b189f3320fb8d13tomhudson@google.comvoid ClampX_ClampY_nofilter_scale_SSE2(const SkBitmapProcState& s,
2406a7313430728b18f2ed92f14b189f3320fb8d13tomhudson@google.com                                       uint32_t xy[], int count, int x, int y);
255efaf268931d01498f4f1af63c556d811e5d5797tomhudson@google.comvoid ClampX_ClampY_filter_affine_SSE2(const SkBitmapProcState& s,
265efaf268931d01498f4f1af63c556d811e5d5797tomhudson@google.com                                      uint32_t xy[], int count, int x, int y);
275efaf268931d01498f4f1af63c556d811e5d5797tomhudson@google.comvoid ClampX_ClampY_nofilter_affine_SSE2(const SkBitmapProcState& s,
288c4953c6f176469ad287c3270ab146e292b23badcommit-bot@chromium.org                                        uint32_t xy[], int count, int x, int y);
297866228f06e402d37f8fcab70a688e1f34c1d27breed@google.comvoid S32_D16_filter_DX_SSE2(const SkBitmapProcState& s,
308c4953c6f176469ad287c3270ab146e292b23badcommit-bot@chromium.org                            const uint32_t* xy,
318c4953c6f176469ad287c3270ab146e292b23badcommit-bot@chromium.org                            int count, uint16_t* colors);
328c4953c6f176469ad287c3270ab146e292b23badcommit-bot@chromium.org
338c4953c6f176469ad287c3270ab146e292b23badcommit-bot@chromium.org#endif
34