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

Unified Diff: src/pdf/SkPngPredictors.h

Issue 1686313005: SkPDF: Implement Paeth predictor for images. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-02-25 (Thursday) 14:57:16 EST 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pdf/SkPDFBitmap.cpp ('k') | src/pdf/SkPngPredictors.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPngPredictors.h
diff --git a/src/pdf/SkPngPredictors.h b/src/pdf/SkPngPredictors.h
new file mode 100644
index 0000000000000000000000000000000000000000..5c1d4fbdf653eef21dae4d14114d902b09c5f2e6
--- /dev/null
+++ b/src/pdf/SkPngPredictors.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+#ifndef SkPngPredictors_DEFINED
+#define SkPngPredictors_DEFINED
+
+#include "stdint.h"
+
+uint8_t SkPngEncode3(int width, const uint8_t* prev,
+ const uint8_t* scanline, uint8_t* out);
+
+uint8_t SkPngEncode1(int width, const uint8_t* prev,
+ const uint8_t* scanline, uint8_t* out);
+
+uint8_t SkPaethEncode3(int width, const uint8_t* prev,
+ const uint8_t* scanline, uint8_t* out);
+
+uint8_t SkPaethEncode1(int width, const uint8_t* prev,
+ const uint8_t* scanline, uint8_t* out);
+
+#endif // SkPngPredictors_DEFINED
« no previous file with comments | « src/pdf/SkPDFBitmap.cpp ('k') | src/pdf/SkPngPredictors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698