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

Unified Diff: tests/CodexTest.cpp

Issue 1520403003: Prototype of RAW decoding in Skia. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Set big endian explicitly for arm 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 | « src/codec/SkRawCodec.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 2768d57cfc392de03d58dbe07212a90e5f07a077..5210cf4bf45e29ff9ec6e30259b3444a8ee6bd1b 100644
--- a/tests/CodexTest.cpp
+++ b/tests/CodexTest.cpp
@@ -450,6 +450,9 @@ DEF_TEST(Codec, r) {
check(r, "plane_interlaced.png", SkISize::Make(250, 126), true, false, false);
check(r, "randPixels.png", SkISize::Make(8, 8), true, false, false);
check(r, "yellow_rose.png", SkISize::Make(400, 301), true, false, false);
+
+ // RAW
+ check(r, "sample_1mp.dng", SkISize::Make(600, 338), false, false, false);
}
// Test interlaced PNG in stripes, similar to DM's kStripe_Mode
@@ -643,6 +646,8 @@ DEF_TEST(Codec_Dimensions, r) {
test_dimensions(r, "1x16.png");
test_dimensions(r, "mandrill_16.png");
+ // RAW
+ test_dimensions(r, "sample_1mp.dng");
}
static void test_invalid(skiatest::Reporter* r, const char path[]) {
« no previous file with comments | « src/codec/SkRawCodec.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698