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 |
| 13 // We don't bother specializing Up... |
| 14 // it's so simple it's usually already perfectly autovectorized. |
| 15 |
| 16 // These all require bpp=3 (i.e. RGB). |
| 17 void sk_sub3_sse2(png_row_infop, png_bytep, png_const_bytep); |
| 18 void sk_avg3_sse2(png_row_infop, png_bytep, png_const_bytep); |
| 19 void sk_paeth3_sse2(png_row_infop, png_bytep, png_const_bytep); |
| 20 |
| 21 // These all require bpp=4 (i.e. RGBA). |
| 22 void sk_sub4_sse2(png_row_infop, png_bytep, png_const_bytep); |
| 23 void sk_avg4_sse2(png_row_infop, png_bytep, png_const_bytep); |
| 24 void sk_paeth4_sse2(png_row_infop, png_bytep, png_const_bytep); |
| 25 |
| 26 #endif//SkPngFilterOpts_DEFINED |
OLD | NEW |