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

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: rebase Created 5 years, 9 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
« src/codec/SkWebpCodec.cpp ('K') | « 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 825251854db333f66b879dcc12a80bd3506e6f2a..161fbee57dedd924372ec8f3b1473f977427a6fc 100644
--- a/tests/CodexTest.cpp
+++ b/tests/CodexTest.cpp
@@ -84,6 +84,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);
jzern 2015/04/03 19:15:49 should be OK if you aren't concerned here about fu
+
// BMP
check(r, "randPixels.bmp", SkISize::Make(8, 8), false);
« src/codec/SkWebpCodec.cpp ('K') | « src/codec/SkWebpCodec.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698