| OLD | NEW | 
|   1 /* |   1 /* | 
|   2  * Copyright 2016 Google Inc. |   2  * Copyright 2016 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 SkPngFilters_DEFINED |   8 #ifndef SkPngFilters_DEFINED | 
|   9 #define SkPngFilters_DEFINED |   9 #define SkPngFilters_DEFINED | 
|  10  |  10  | 
|  11 #include "png.h" |  11 #include "png.h" | 
 |  12 #include "SkTypes.h" | 
|  12  |  13  | 
|  13 // We don't bother specializing Up... |  14 // We don't bother specializing Up... | 
|  14 // it's so simple it's usually already perfectly autovectorized. |  15 // it's so simple it's usually already perfectly autovectorized. | 
|  15  |  16  | 
|  16 // These all require bpp=3 (i.e. RGB). |  17 // These all require bpp=3 (i.e. RGB). | 
|  17 void   sk_sub3_sse2(png_row_infop, png_bytep, png_const_bytep); |  18 void   sk_sub3_sse2(png_row_infop, uint8_t*, const uint8_t*); | 
|  18 void   sk_avg3_sse2(png_row_infop, png_bytep, png_const_bytep); |  19 void   sk_avg3_sse2(png_row_infop, uint8_t*, const uint8_t*); | 
|  19 void sk_paeth3_sse2(png_row_infop, png_bytep, png_const_bytep); |  20 void sk_paeth3_sse2(png_row_infop, uint8_t*, const uint8_t*); | 
|  20  |  21  | 
|  21 // These all require bpp=4 (i.e. RGBA). |  22 // These all require bpp=4 (i.e. RGBA). | 
|  22 void   sk_sub4_sse2(png_row_infop, png_bytep, png_const_bytep); |  23 void   sk_sub4_sse2(png_row_infop, uint8_t*, const uint8_t*); | 
|  23 void   sk_avg4_sse2(png_row_infop, png_bytep, png_const_bytep); |  24 void   sk_avg4_sse2(png_row_infop, uint8_t*, const uint8_t*); | 
|  24 void sk_paeth4_sse2(png_row_infop, png_bytep, png_const_bytep); |  25 void sk_paeth4_sse2(png_row_infop, uint8_t*, const uint8_t*); | 
|  25  |  26  | 
|  26 #endif//SkPngFilterOpts_DEFINED |  27 #endif//SkPngFilterOpts_DEFINED | 
| OLD | NEW |