gfx/skia/trunk/src/opts/SkBlitRow_opts_SSE2.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/src/opts/SkBlitRow_opts_SSE2.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,43 @@
     1.4 +
     1.5 +/*
     1.6 + * Copyright 2009 The Android Open Source Project
     1.7 + *
     1.8 + * Use of this source code is governed by a BSD-style license that can be
     1.9 + * found in the LICENSE file.
    1.10 + */
    1.11 +
    1.12 +
    1.13 +#include "SkBlitRow.h"
    1.14 +
    1.15 +void S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst,
    1.16 +                              const SkPMColor* SK_RESTRICT src,
    1.17 +                              int count, U8CPU alpha);
    1.18 +
    1.19 +void S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst,
    1.20 +                                const SkPMColor* SK_RESTRICT src,
    1.21 +                                int count, U8CPU alpha);
    1.22 +
    1.23 +void S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst,
    1.24 +                               const SkPMColor* SK_RESTRICT src,
    1.25 +                               int count, U8CPU alpha);
    1.26 +void SkARGB32_A8_BlitMask_SSE2(void* device, size_t dstRB, const void* mask,
    1.27 +                               size_t maskRB, SkColor color,
    1.28 +                               int width, int height);
    1.29 +
    1.30 +void SkBlitLCD16Row_SSE2(SkPMColor dst[], const uint16_t src[],
    1.31 +                         SkColor color, int width, SkPMColor);
    1.32 +void SkBlitLCD16OpaqueRow_SSE2(SkPMColor dst[], const uint16_t src[],
    1.33 +                               SkColor color, int width, SkPMColor opaqueDst);
    1.34 +
    1.35 +void S32_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst,
    1.36 +                          const SkPMColor* SK_RESTRICT src, int count,
    1.37 +                          U8CPU alpha, int /*x*/, int /*y*/);
    1.38 +void S32A_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst,
    1.39 +                           const SkPMColor* SK_RESTRICT src,
    1.40 +                           int count, U8CPU alpha, int /*x*/, int /*y*/);
    1.41 +void S32_D565_Opaque_Dither_SSE2(uint16_t* SK_RESTRICT dst,
    1.42 +                                 const SkPMColor* SK_RESTRICT src,
    1.43 +                                 int count, U8CPU alpha, int x, int y);
    1.44 +void S32A_D565_Opaque_Dither_SSE2(uint16_t* SK_RESTRICT dst,
    1.45 +                                  const SkPMColor* SK_RESTRICT src,
    1.46 +                                  int count, U8CPU alpha, int x, int y);

mercurial