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

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

Issue 1641793004: SkPngFilters: use normal pointer types. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: move types 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
« no previous file with comments | « no previous file | src/codec/SkPngFilters.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « no previous file | src/codec/SkPngFilters.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698