| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SK_CONVOLVER_H | 5 #ifndef SK_CONVOLVER_H |
| 6 #define SK_CONVOLVER_H | 6 #define SK_CONVOLVER_H |
| 7 | 7 |
| 8 #include "SkSize.h" | 8 #include "SkSize.h" |
| 9 #include "SkTypes.h" | 9 #include "SkTypes.h" |
| 10 #include "SkTArray.h" | 10 #include "SkTArray.h" |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 // | 190 // |
| 191 // The layout in memory is assumed to be 4-bytes per pixel in B-G-R-A order | 191 // The layout in memory is assumed to be 4-bytes per pixel in B-G-R-A order |
| 192 // (this is ARGB when loaded into 32-bit words on a little-endian machine). | 192 // (this is ARGB when loaded into 32-bit words on a little-endian machine). |
| 193 SK_API void BGRAConvolve2D(const unsigned char* sourceData, | 193 SK_API void BGRAConvolve2D(const unsigned char* sourceData, |
| 194 int sourceByteRowStride, | 194 int sourceByteRowStride, |
| 195 bool sourceHasAlpha, | 195 bool sourceHasAlpha, |
| 196 const SkConvolutionFilter1D& xfilter, | 196 const SkConvolutionFilter1D& xfilter, |
| 197 const SkConvolutionFilter1D& yfilter, | 197 const SkConvolutionFilter1D& yfilter, |
| 198 int outputByteRowStride, | 198 int outputByteRowStride, |
| 199 unsigned char* output, | 199 unsigned char* output, |
| 200 SkConvolutionProcs* convolveProcs, | 200 const SkConvolutionProcs&, |
| 201 bool useSimdIfPossible); | 201 bool useSimdIfPossible); |
| 202 | 202 |
| 203 #endif // SK_CONVOLVER_H | 203 #endif // SK_CONVOLVER_H |
| OLD | NEW |