1910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger/*
2910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger * Copyright 2013 The Android Open Source Project
3910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger *
4910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger * Use of this source code is governed by a BSD-style license that can be
5910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger * found in the LICENSE file.
6910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger */
7910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger
8910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger#ifndef SkBlurImage_opts_DEFINED
9910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger#define SkBlurImage_opts_DEFINED
10910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger
11910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger#include "SkColorPriv.h"
12910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger
13910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenbergertypedef void (*SkBoxBlurProc)(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize,
14910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger                              int leftOffset, int rightOffset, int width, int height);
15910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger
16910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenbergerbool SkBoxBlurGetPlatformProcs(SkBoxBlurProc* boxBlurX,
17910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger                               SkBoxBlurProc* boxBlurY,
18910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger                               SkBoxBlurProc* boxBlurXY,
19910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger                               SkBoxBlurProc* boxBlurYX);
20910f694aefb0b671dd8522a9afe9b6be645701c1Derek Sollenberger#endif
21