| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The Android Open Source Project | 2 * Copyright 2012 The Android Open Source Project |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "SkBlitRow_opts_arm_neon.h" | 8 #include "SkBlitRow_opts_arm_neon.h" |
| 9 | 9 |
| 10 #include "SkBlitMask.h" | 10 #include "SkBlitMask.h" |
| (...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1639 while (count > 0) { | 1639 while (count > 0) { |
| 1640 *dst = color + SkAlphaMulQ(*src, scale); | 1640 *dst = color + SkAlphaMulQ(*src, scale); |
| 1641 src += 1; | 1641 src += 1; |
| 1642 dst += 1; | 1642 dst += 1; |
| 1643 count--; | 1643 count--; |
| 1644 } | 1644 } |
| 1645 } | 1645 } |
| 1646 | 1646 |
| 1647 /////////////////////////////////////////////////////////////////////////////// | 1647 /////////////////////////////////////////////////////////////////////////////// |
| 1648 | 1648 |
| 1649 const SkBlitRow::Proc sk_blitrow_platform_565_procs_arm_neon[] = { | 1649 const SkBlitRow::Proc16 sk_blitrow_platform_565_procs_arm_neon[] = { |
| 1650 // no dither | 1650 // no dither |
| 1651 S32_D565_Opaque_neon, | 1651 S32_D565_Opaque_neon, |
| 1652 S32_D565_Blend_neon, | 1652 S32_D565_Blend_neon, |
| 1653 S32A_D565_Opaque_neon, | 1653 S32A_D565_Opaque_neon, |
| 1654 #if 0 | 1654 #if 0 |
| 1655 S32A_D565_Blend_neon, | 1655 S32A_D565_Blend_neon, |
| 1656 #else | 1656 #else |
| 1657 NULL, // https://code.google.com/p/skia/issues/detail?id=2845 | 1657 NULL, // https://code.google.com/p/skia/issues/detail?id=2845 |
| 1658 // https://code.google.com/p/skia/issues/detail?id=2797 | 1658 // https://code.google.com/p/skia/issues/detail?id=2797 |
| 1659 #endif | 1659 #endif |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1682 S32A_Opaque_BlitRow32_neon_src_alpha, // S32A_Opaque, | 1682 S32A_Opaque_BlitRow32_neon_src_alpha, // S32A_Opaque, |
| 1683 #else | 1683 #else |
| 1684 S32A_Opaque_BlitRow32_neon, // S32A_Opaque, | 1684 S32A_Opaque_BlitRow32_neon, // S32A_Opaque, |
| 1685 #endif | 1685 #endif |
| 1686 #ifdef SK_CPU_ARM32 | 1686 #ifdef SK_CPU_ARM32 |
| 1687 S32A_Blend_BlitRow32_neon // S32A_Blend | 1687 S32A_Blend_BlitRow32_neon // S32A_Blend |
| 1688 #else | 1688 #else |
| 1689 NULL | 1689 NULL |
| 1690 #endif | 1690 #endif |
| 1691 }; | 1691 }; |
| OLD | NEW |