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

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

Issue 66413007: Implement a speedup for Y-only blurs by transposing. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix _none version of SkBoxBlurGetPlatformProcs. 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
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 #ifndef SkBlurImage_opts_DEFINED 8 #ifndef SkBlurImage_opts_DEFINED
9 #define SkBlurImage_opts_DEFINED 9 #define SkBlurImage_opts_DEFINED
10 10
11 #include "SkColorPriv.h" 11 #include "SkColorPriv.h"
12 12
13 typedef void (*SkBoxBlurProc)(const SkPMColor* src, int srcStride, SkPMColor* ds t, int kernelSize, 13 typedef void (*SkBoxBlurProc)(const SkPMColor* src, int srcStride, SkPMColor* ds t, int kernelSize,
14 int leftOffset, int rightOffset, int width, int he ight); 14 int leftOffset, int rightOffset, int width, int he ight);
15 15
16 bool SkBoxBlurGetPlatformProcs(SkBoxBlurProc* boxBlurX, 16 bool SkBoxBlurGetPlatformProcs(SkBoxBlurProc* boxBlurX,
17 SkBoxBlurProc* boxBlurY, 17 SkBoxBlurProc* boxBlurY,
18 SkBoxBlurProc* boxBlurXY); 18 SkBoxBlurProc* boxBlurXY,
19 SkBoxBlurProc* boxBlurYX);
19 #endif 20 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698