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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/codec/SkPngFilters.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkPngFilters.h
diff --git a/src/codec/SkPngFilters.h b/src/codec/SkPngFilters.h
index 5fc446881c6f8aa93a88597ff604da4c54ef0dc8..32708107d0da3fc7e47b8f609ea869c6388a6681 100644
--- a/src/codec/SkPngFilters.h
+++ b/src/codec/SkPngFilters.h
@@ -9,18 +9,19 @@
#define SkPngFilters_DEFINED
#include "png.h"
+#include "SkTypes.h"
// We don't bother specializing Up...
// it's so simple it's usually already perfectly autovectorized.
// These all require bpp=3 (i.e. RGB).
-void sk_sub3_sse2(png_row_infop, png_bytep, png_const_bytep);
-void sk_avg3_sse2(png_row_infop, png_bytep, png_const_bytep);
-void sk_paeth3_sse2(png_row_infop, png_bytep, png_const_bytep);
+void sk_sub3_sse2(png_row_infop, uint8_t*, const uint8_t*);
+void sk_avg3_sse2(png_row_infop, uint8_t*, const uint8_t*);
+void sk_paeth3_sse2(png_row_infop, uint8_t*, const uint8_t*);
// These all require bpp=4 (i.e. RGBA).
-void sk_sub4_sse2(png_row_infop, png_bytep, png_const_bytep);
-void sk_avg4_sse2(png_row_infop, png_bytep, png_const_bytep);
-void sk_paeth4_sse2(png_row_infop, png_bytep, png_const_bytep);
+void sk_sub4_sse2(png_row_infop, uint8_t*, const uint8_t*);
+void sk_avg4_sse2(png_row_infop, uint8_t*, const uint8_t*);
+void sk_paeth4_sse2(png_row_infop, uint8_t*, const uint8_t*);
#endif//SkPngFilterOpts_DEFINED
« 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