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

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

Issue 1134513003: We don't use boxBlurY. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 7 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/SkBlurImage_opts_SSE4.h ('k') | src/opts/SkBlurImage_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
1 /* 1 /*
2 * Copyright 2014 The Android Open Source Project 2 * Copyright 2014 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 "SkBitmap.h" 8 #include "SkBitmap.h"
9 #include "SkBlurImage_opts_SSE4.h" 9 #include "SkBlurImage_opts_SSE4.h"
10 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 dptr += dstStrideX; 87 dptr += dstStrideX;
88 } 88 }
89 src += srcStrideY; 89 src += srcStrideY;
90 dst += dstStrideY; 90 dst += dstStrideY;
91 } 91 }
92 } 92 }
93 93
94 } // namespace 94 } // namespace
95 95
96 bool SkBoxBlurGetPlatformProcs_SSE4(SkBoxBlurProc* boxBlurX, 96 bool SkBoxBlurGetPlatformProcs_SSE4(SkBoxBlurProc* boxBlurX,
97 SkBoxBlurProc* boxBlurY,
98 SkBoxBlurProc* boxBlurXY, 97 SkBoxBlurProc* boxBlurXY,
99 SkBoxBlurProc* boxBlurYX) { 98 SkBoxBlurProc* boxBlurYX) {
100 *boxBlurX = SkBoxBlur_SSE4<kX, kX>; 99 *boxBlurX = SkBoxBlur_SSE4<kX, kX>;
101 *boxBlurY = SkBoxBlur_SSE4<kY, kY>;
102 *boxBlurXY = SkBoxBlur_SSE4<kX, kY>; 100 *boxBlurXY = SkBoxBlur_SSE4<kX, kY>;
103 *boxBlurYX = SkBoxBlur_SSE4<kY, kX>; 101 *boxBlurYX = SkBoxBlur_SSE4<kY, kX>;
104 return true; 102 return true;
105 } 103 }
106 104
107 #else // SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE41 105 #else // SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE41
108 106
109 bool SkBoxBlurGetPlatformProcs_SSE4(SkBoxBlurProc* boxBlurX, 107 bool SkBoxBlurGetPlatformProcs_SSE4(SkBoxBlurProc* boxBlurX,
110 SkBoxBlurProc* boxBlurY,
111 SkBoxBlurProc* boxBlurXY, 108 SkBoxBlurProc* boxBlurXY,
112 SkBoxBlurProc* boxBlurYX) { 109 SkBoxBlurProc* boxBlurYX) {
113 sk_throw(); 110 sk_throw();
114 return false; 111 return false;
115 } 112 }
116 113
117 114
118 #endif 115 #endif
OLDNEW
« no previous file with comments | « src/opts/SkBlurImage_opts_SSE4.h ('k') | src/opts/SkBlurImage_opts_arm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698