blob: 3fdf69691f3649e1315331e4d7428611bfb09e52 [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001
senorblanco@chromium.orgdc7de742009-11-30 20:00:29 +00002/*
epoger@google.comec3ed6a2011-07-28 14:26:00 +00003 * Copyright 2009 The Android Open Source Project
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
senorblanco@chromium.orgdc7de742009-11-30 20:00:29 +00007 */
8
epoger@google.comec3ed6a2011-07-28 14:26:00 +00009
senorblanco@chromium.orgdc7de742009-11-30 20:00:29 +000010#include "SkBitmapProcState.h"
11
12void S32_opaque_D32_filter_DX_SSE2(const SkBitmapProcState& s,
13 const uint32_t* xy,
14 int count, uint32_t* colors);
senorblanco@chromium.orgf3f0bd72009-12-10 22:46:31 +000015void S32_alpha_D32_filter_DX_SSE2(const SkBitmapProcState& s,
16 const uint32_t* xy,
17 int count, uint32_t* colors);
senorblanco@chromium.orgc3856382010-12-13 15:27:20 +000018void Color32_SSE2(SkPMColor dst[], const SkPMColor src[], int count,
19 SkPMColor color);
tomhudson@google.com06a73132012-02-22 18:30:43 +000020void ClampX_ClampY_filter_scale_SSE2(const SkBitmapProcState& s, uint32_t xy[],
21 int count, int x, int y);
22void ClampX_ClampY_nofilter_scale_SSE2(const SkBitmapProcState& s,
23 uint32_t xy[], int count, int x, int y);
tomhudson@google.com5efaf262012-02-28 15:41:49 +000024void ClampX_ClampY_filter_affine_SSE2(const SkBitmapProcState& s,
25 uint32_t xy[], int count, int x, int y);
26void ClampX_ClampY_nofilter_affine_SSE2(const SkBitmapProcState& s,
27 uint32_t xy[], int count, int x, int y);