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

Side by Side Diff: src/codec/SkPngFilters.h

Issue 1573943002: sketch hooking into PNG_FILTER_OPTIMIZATIONS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: asserts Created 4 years, 10 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
(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
OLDNEW
« no previous file with comments | « src/codec/SkPngCodec.cpp ('k') | src/codec/SkPngFilters.cpp » ('j') | src/codec/SkPngFilters.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698