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

Unified Diff: tests/CodexTest.cpp

Issue 1044433002: Add SkWebpCodec, for decoding .webp images. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix conversion from float to int. Created 5 years, 6 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/codec/SkWebpCodec.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/CodexTest.cpp
diff --git a/tests/CodexTest.cpp b/tests/CodexTest.cpp
index 080e6e5974af81c903e756c4e1d3a6180be4c612..5c969908b9ecb4122ba604b05623e9442d558f3a 100644
--- a/tests/CodexTest.cpp
+++ b/tests/CodexTest.cpp
@@ -89,6 +89,11 @@ DEF_TEST(Codec, r) {
// WBMP
check(r, "mandrill.wbmp", SkISize::Make(512, 512), false);
+ // WEBP
+ check(r, "baby_tux.webp", SkISize::Make(386, 395), false);
+ check(r, "color_wheel.webp", SkISize::Make(128, 128), false);
+ check(r, "yellow_rose.webp", SkISize::Make(400, 301), false);
+
// BMP
check(r, "randPixels.bmp", SkISize::Make(8, 8), false);
« no previous file with comments | « src/codec/SkWebpCodec.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698