senorblanco@chromium.org | 4e75355 | 2009-11-16 21:09:00 +0000 | [diff] [blame] | 1 | /* |
epoger@google.com | ec3ed6a | 2011-07-28 14:26:00 +0000 | [diff] [blame] | 2 | * Copyright 2009 The Android Open Source Project |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
senorblanco@chromium.org | 4e75355 | 2009-11-16 21:09:00 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
commit-bot@chromium.org | 8c4953c | 2014-04-30 14:58:46 +0000 | [diff] [blame] | 8 | #ifndef SkBlitRow_opts_SSE2_DEFINED |
| 9 | #define SkBlitRow_opts_SSE2_DEFINED |
epoger@google.com | ec3ed6a | 2011-07-28 14:26:00 +0000 | [diff] [blame] | 10 | |
senorblanco@chromium.org | 4e75355 | 2009-11-16 21:09:00 +0000 | [diff] [blame] | 11 | #include "SkBlitRow.h" |
| 12 | |
| 13 | void S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, |
| 14 | const SkPMColor* SK_RESTRICT src, |
| 15 | int count, U8CPU alpha); |
| 16 | |
| 17 | void S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, |
| 18 | const SkPMColor* SK_RESTRICT src, |
| 19 | int count, U8CPU alpha); |
| 20 | |
| 21 | void S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, |
| 22 | const SkPMColor* SK_RESTRICT src, |
| 23 | int count, U8CPU alpha); |
reed@google.com | edb606c | 2011-10-18 13:56:50 +0000 | [diff] [blame] | 24 | void SkARGB32_A8_BlitMask_SSE2(void* device, size_t dstRB, const void* mask, |
| 25 | size_t maskRB, SkColor color, |
| 26 | int width, int height); |
tomhudson@google.com | d6770e6 | 2012-02-14 16:01:15 +0000 | [diff] [blame] | 27 | |
| 28 | void SkBlitLCD16Row_SSE2(SkPMColor dst[], const uint16_t src[], |
| 29 | SkColor color, int width, SkPMColor); |
| 30 | void SkBlitLCD16OpaqueRow_SSE2(SkPMColor dst[], const uint16_t src[], |
| 31 | SkColor color, int width, SkPMColor opaqueDst); |
commit-bot@chromium.org | 4759107 | 2014-02-19 03:09:52 +0000 | [diff] [blame] | 32 | |
commit-bot@chromium.org | 39ce33a | 2014-02-24 04:23:39 +0000 | [diff] [blame] | 33 | void S32_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst, |
| 34 | const SkPMColor* SK_RESTRICT src, int count, |
| 35 | U8CPU alpha, int /*x*/, int /*y*/); |
commit-bot@chromium.org | 4759107 | 2014-02-19 03:09:52 +0000 | [diff] [blame] | 36 | void S32A_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst, |
| 37 | const SkPMColor* SK_RESTRICT src, |
| 38 | int count, U8CPU alpha, int /*x*/, int /*y*/); |
commit-bot@chromium.org | 2758047 | 2014-03-07 03:25:32 +0000 | [diff] [blame] | 39 | void S32_D565_Opaque_Dither_SSE2(uint16_t* SK_RESTRICT dst, |
| 40 | const SkPMColor* SK_RESTRICT src, |
| 41 | int count, U8CPU alpha, int x, int y); |
commit-bot@chromium.org | fe089b3 | 2014-03-07 13:24:42 +0000 | [diff] [blame] | 42 | void S32A_D565_Opaque_Dither_SSE2(uint16_t* SK_RESTRICT dst, |
| 43 | const SkPMColor* SK_RESTRICT src, |
| 44 | int count, U8CPU alpha, int x, int y); |
commit-bot@chromium.org | 8c4953c | 2014-04-30 14:58:46 +0000 | [diff] [blame] | 45 | |
| 46 | #endif |