| Index: src/opts/SkMatrixConvolutionImageFilter_opts_AVX2.h
|
| diff --git a/src/opts/SkMatrixConvolutionImageFilter_opts_AVX2.h b/src/opts/SkMatrixConvolutionImageFilter_opts_AVX2.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..886abbceb81475acf72ece0a208241e8c3122489
|
| --- /dev/null
|
| +++ b/src/opts/SkMatrixConvolutionImageFilter_opts_AVX2.h
|
| @@ -0,0 +1,31 @@
|
| +/*
|
| + * Copyright 2016 Google Inc.
|
| + *
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +#ifndef SkMatrixConvolutionImageFilter_opts_AVX2_DEFINED
|
| +#define SkMatrixConvolutionImageFilter_opts_AVX2_DEFINED
|
| +
|
| +#include "SkScalar.h"
|
| +#include "SkSize.h"
|
| +#include "SkPoint.h"
|
| +
|
| +
|
| +namespace sk_avx2{
|
| +
|
| +void SkMatrixConvolutionImageFilter_filterPixels_AVX2(
|
| + const SkBitmap& src,
|
| + SkBitmap* result,
|
| + const SkIRect& r,
|
| + const SkIRect& bounds,
|
| + bool convolveAlpha,
|
| + SkScalar* kernel,
|
| + const SkISize& kernel_size,
|
| + const SkIPoint& kernel_offset, SkScalar gain,
|
| + SkScalar bias);
|
| +
|
| +}
|
| +
|
| +#endif
|
|
|