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

Side by Side Diff: src/opts/SkBlitRow_opts_arm.h

Issue 22229002: Cleanup the ARM blitrow optimizations (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/opts/SkBlitRow_opts_arm.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2012 Google Inc.
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 #ifndef SkBlitRow_opts_arm_DEFINED
8 #define SkBlitRow_opts_arm_DEFINED
9
10 #include "SkBlitRow.h"
11 #include "SkUtilsArm.h"
12
13 // Define USE_NEON_CODE to indicate that we need to build NEON routines
14 #define USE_NEON_CODE (!SK_ARM_NEON_IS_NONE)
15
16 // Define USE_ARM_CODE to indicate that we need to build ARM routines
17 #define USE_ARM_CODE (!SK_ARM_NEON_IS_ALWAYS)
18
19 #if USE_NEON_CODE
20 // These are defined in SkBlitRow_opts_arm_neon.cpp
21 extern const SkBlitRow::Proc sk_blitrow_platform_565_procs_arm_neon[];
22 extern const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm_neon[];
23
24 extern void Color32_arm_neon(SkPMColor* dst, const SkPMColor* src, int count,
25 SkPMColor color);
26 #endif
27
28 #if USE_ARM_CODE
29 // These are defined in SkBlitRow_opts_arm.cpp
30 extern const SkBlitRow::Proc sk_blitrow_platform_565_procs_arm[];
31 extern const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm[];
32 #endif
33
34 // Defined in SkBlitRow_opts_arm.cpp, used in all cases.
35 extern void S32A_Blend_BlitRow32_arm(SkPMColor* SK_RESTRICT dst,
36 const SkPMColor* SK_RESTRICT src,
37 int count, U8CPU alpha);
38
39 #endif
OLDNEW
« no previous file with comments | « no previous file | src/opts/SkBlitRow_opts_arm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698