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

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-19 (Friday) 15:12:05 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
Index: src/pdf/SkPngPredictors.h
diff --git a/src/pdf/SkPngPredictors.h b/src/pdf/SkPngPredictors.h
new file mode 100644
index 0000000000000000000000000000000000000000..47db6d8d0c06ae386a59fac2aef130617f46daa5
--- /dev/null
+++ b/src/pdf/SkPngPredictors.h
@@ -0,0 +1,15 @@
+/*
+ * 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"
mtklein 2016/02/19 21:53:07 <stdint.h>, or "SkTypes.h"
+
+void SkPaethEncode3(int width, const uint8_t* prev, const uint8_t* scanline, uint8_t* out);
mtklein 2016/02/19 21:53:07 Note whether width is in bytes or pixels?
+void SkPaethEncode1(int width, const uint8_t* prev, const uint8_t* scanline, uint8_t* out);
+
+#endif // SkPngPredictors_DEFINED

Powered by Google App Engine
This is Rietveld 408576698