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

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

Issue 1820313002: Port S32A_opaque blit row to SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fmt Created 4 years, 9 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 21 matching lines...) Expand all
32 typedef void (*Morph)(const SkPMColor*, SkPMColor*, int, int, int, int, int) ; 32 typedef void (*Morph)(const SkPMColor*, SkPMColor*, int, int, int, int, int) ;
33 extern Morph dilate_x, dilate_y, erode_x, erode_y; 33 extern Morph dilate_x, dilate_y, erode_x, erode_y;
34 34
35 typedef bool (*TextureCompressor)(uint8_t* dst, const uint8_t* src, 35 typedef bool (*TextureCompressor)(uint8_t* dst, const uint8_t* src,
36 int width, int height, size_t rowBytes); 36 int width, int height, size_t rowBytes);
37 extern TextureCompressor (*texture_compressor)(SkColorType, SkTextureCompres sor::Format); 37 extern TextureCompressor (*texture_compressor)(SkColorType, SkTextureCompres sor::Format);
38 extern bool (*fill_block_dimensions)(SkTextureCompressor::Format, int* x, in t* y); 38 extern bool (*fill_block_dimensions)(SkTextureCompressor::Format, int* x, in t* y);
39 39
40 extern void (*blit_mask_d32_a8)(SkPMColor*, size_t, const SkAlpha*, size_t, SkColor, int, int); 40 extern void (*blit_mask_d32_a8)(SkPMColor*, size_t, const SkAlpha*, size_t, SkColor, int, int);
41 extern void (*blit_row_color32)(SkPMColor*, const SkPMColor*, int, SkPMColor ); 41 extern void (*blit_row_color32)(SkPMColor*, const SkPMColor*, int, SkPMColor );
42 extern void (*blit_row_s32a_opaque)(SkPMColor*, const SkPMColor*, int, U8CPU );
42 43
43 // This function is an optimized version of SkColorCubeFilter::filterSpan 44 // This function is an optimized version of SkColorCubeFilter::filterSpan
44 extern void (*color_cube_filter_span)(const SkPMColor[], 45 extern void (*color_cube_filter_span)(const SkPMColor[],
45 int, 46 int,
46 SkPMColor[], 47 SkPMColor[],
47 const int * [2], 48 const int * [2],
48 const SkScalar * [2], 49 const SkScalar * [2],
49 int, 50 int,
50 const SkColor*); 51 const SkColor*);
51 52
(...skipping 10 matching lines...) Expand all
62 grayA_to_RGBA, // i.e. expand to color channels 63 grayA_to_RGBA, // i.e. expand to color channels
63 grayA_to_rgbA, // i.e. expand to color channels and premultiply 64 grayA_to_rgbA, // i.e. expand to color channels and premultiply
64 inverted_CMYK_to_RGB1, // i.e. convert color space 65 inverted_CMYK_to_RGB1, // i.e. convert color space
65 inverted_CMYK_to_BGR1; // i.e. convert color space 66 inverted_CMYK_to_BGR1; // i.e. convert color space
66 67
67 extern void (*half_to_float)(float[], const uint16_t[], int); 68 extern void (*half_to_float)(float[], const uint16_t[], int);
68 extern void (*float_to_half)(uint16_t[], const float[], int); 69 extern void (*float_to_half)(uint16_t[], const float[], int);
69 } 70 }
70 71
71 #endif//SkOpts_DEFINED 72 #endif//SkOpts_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkBlitRow_D32.cpp ('k') | src/core/SkOpts.cpp » ('j') | src/opts/SkOpts_sse41.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698