Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: src/opts/SkBlitRow_opts_arm_neon.cpp

Issue 847443003: rename blitrow::proc and add (uncalled) hook for colorproc16 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/opts/SkBlitRow_opts_arm_neon.h ('k') | src/opts/SkBlitRow_opts_mips_dsp.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 };
OLDNEW
« no previous file with comments | « src/opts/SkBlitRow_opts_arm_neon.h ('k') | src/opts/SkBlitRow_opts_mips_dsp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698