aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/opts/SkBlurImage_opts.h
blob: d4006f7e88cdfebb86206b518c5bd126aa763fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright 2013 The Android Open Source Project
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkBlurImage_opts_DEFINED
#define SkBlurImage_opts_DEFINED

#include "SkColorPriv.h"

typedef void (*SkBoxBlurProc)(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize,
                              int leftOffset, int rightOffset, int width, int height);

bool SkBoxBlurGetPlatformProcs(SkBoxBlurProc* boxBlurX,
                               SkBoxBlurProc* boxBlurY,
                               SkBoxBlurProc* boxBlurXY,
                               SkBoxBlurProc* boxBlurYX);
#endif