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

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

Issue 45963007: Mac build fix. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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 | no next file » | 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 2013 The Android Open Source Project 2 * Copyright 2013 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 8
9 #include "SkColorPriv.h" 9 #include "SkColorPriv.h"
10 #include "SkMorphology_opts_SSE2.h"
10 11
11 #include <emmintrin.h> 12 #include <emmintrin.h>
12 13
13 /* SSE2 version of dilateX, dilateY, erodeX, erodeY. 14 /* SSE2 version of dilateX, dilateY, erodeX, erodeY.
14 * portable versions are in src/effects/SkMorphologyImageFilter.cpp. 15 * portable versions are in src/effects/SkMorphologyImageFilter.cpp.
15 */ 16 */
16 17
17 enum MorphType { 18 enum MorphType {
18 kDilate, kErode 19 kDilate, kErode
19 }; 20 };
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 int width, int height, int srcStride, int dstStride) 70 int width, int height, int srcStride, int dstStride)
70 { 71 {
71 SkMorph_SSE2<kDilate, kY>(src, dst, radius, width, height, srcStride, dstStr ide); 72 SkMorph_SSE2<kDilate, kY>(src, dst, radius, width, height, srcStride, dstStr ide);
72 } 73 }
73 74
74 void SkErodeY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, 75 void SkErodeY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
75 int width, int height, int srcStride, int dstStride) 76 int width, int height, int srcStride, int dstStride)
76 { 77 {
77 SkMorph_SSE2<kErode, kY>(src, dst, radius, width, height, srcStride, dstStri de); 78 SkMorph_SSE2<kErode, kY>(src, dst, radius, width, height, srcStride, dstStri de);
78 } 79 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698