| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright 2016 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 | |
| 8 #ifndef SkPngFilters_DEFINED | |
| 9 #define SkPngFilters_DEFINED | |
| 10 | |
| 11 #include "png.h" | |
| 12 #include "SkTypes.h" | |
| 13 | |
| 14 // We don't bother specializing Up... | |
| 15 // it's so simple it's usually already perfectly autovectorized. | |
| 16 | |
| 17 // These all require bpp=3 (i.e. RGB). | |
| 18 void sk_sub3_sse2(png_row_infop, uint8_t*, const uint8_t*); | |
| 19 void sk_avg3_sse2(png_row_infop, uint8_t*, const uint8_t*); | |
| 20 void sk_paeth3_sse2(png_row_infop, uint8_t*, const uint8_t*); | |
| 21 | |
| 22 // These all require bpp=4 (i.e. RGBA). | |
| 23 void sk_sub4_sse2(png_row_infop, uint8_t*, const uint8_t*); | |
| 24 void sk_avg4_sse2(png_row_infop, uint8_t*, const uint8_t*); | |
| 25 void sk_paeth4_sse2(png_row_infop, uint8_t*, const uint8_t*); | |
| 26 | |
| 27 #endif//SkPngFilterOpts_DEFINED | |
| OLD | NEW |