1 /* 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. 6 */ 7 8 #ifndef SkBlitRow_opts_SSE2_DEFINED 9 #define SkBlitRow_opts_SSE2_DEFINED 10 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_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 18 const SkPMColor* SK_RESTRICT src, 19 int count, U8CPU alpha); 20 21 void Color32A_D565_SSE2(uint16_t dst[], SkPMColor src, int count, int x, 22 int y); 23 24 void SkBlitLCD16Row_SSE2(SkPMColor dst[], const uint16_t src[], 25 SkColor color, int width, SkPMColor); 26 void SkBlitLCD16OpaqueRow_SSE2(SkPMColor dst[], const uint16_t src[], 27 SkColor color, int width, SkPMColor opaqueDst); 28 29 void S32_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst, 30 const SkPMColor* SK_RESTRICT src, int count, 31 U8CPU alpha, int /*x*/, int /*y*/); 32 void S32A_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst, 33 const SkPMColor* SK_RESTRICT src, 34 int count, U8CPU alpha, int /*x*/, int /*y*/); 35 void S32_D565_Opaque_Dither_SSE2(uint16_t* SK_RESTRICT dst, 36 const SkPMColor* SK_RESTRICT src, 37 int count, U8CPU alpha, int x, int y); 38 void S32A_D565_Opaque_Dither_SSE2(uint16_t* SK_RESTRICT dst, 39 const SkPMColor* SK_RESTRICT src, 40 int count, U8CPU alpha, int x, int y); 41 #endif 42