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

Side by Side Diff: src/core/SkOpts.h

Issue 1881903004: Rewriting MatrixConvolution image filter with SSE and AVX2 Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 8 months 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
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
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 SkOpts_DEFINED 8 #ifndef SkOpts_DEFINED
9 #define SkOpts_DEFINED 9 #define SkOpts_DEFINED
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 RGB_to_RGB1, // i.e. insert an opaque alpha 60 RGB_to_RGB1, // i.e. insert an opaque alpha
61 RGB_to_BGR1, // i.e. swap RB and insert an opa que alpha 61 RGB_to_BGR1, // i.e. swap RB and insert an opa que alpha
62 gray_to_RGB1, // i.e. expand to color channels + an opaque alpha 62 gray_to_RGB1, // i.e. expand to color channels + an opaque alpha
63 grayA_to_RGBA, // i.e. expand to color channels 63 grayA_to_RGBA, // i.e. expand to color channels
64 grayA_to_rgbA, // i.e. expand to color channels and premultiply 64 grayA_to_rgbA, // i.e. expand to color channels and premultiply
65 inverted_CMYK_to_RGB1, // i.e. convert color space 65 inverted_CMYK_to_RGB1, // i.e. convert color space
66 inverted_CMYK_to_BGR1; // i.e. convert color space 66 inverted_CMYK_to_BGR1; // i.e. convert color space
67 67
68 extern void (*half_to_float)(float[], const uint16_t[], int); 68 extern void (*half_to_float)(float[], const uint16_t[], int);
69 extern void (*float_to_half)(uint16_t[], const float[], int); 69 extern void (*float_to_half)(uint16_t[], const float[], int);
70
71 extern void (*matrix_convolution_image_filter_filter_pixels)(
72 const SkBitmap& src,
73 SkBitmap* result,
74 const SkIRect& r,
75 const SkIRect& bounds,
76 bool convolveAlpha,
77 SkScalar* kernel,
78 const SkISize& kernel_size,
79 const SkIPoint& kernel_offset,
80 SkScalar gain,
81 SkScalar bias);
70 } 82 }
71 83
72 #endif//SkOpts_DEFINED 84 #endif//SkOpts_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698