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

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: Fix bug in transferBuffer. 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
« src/codec/SkRawCodec.cpp ('K') | « 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 94eea65b938ad3d9ec96663b1e8422fde80f02f8..ec4117c56598f56a1603ccab93f9830deace2ad2 100644
--- a/tests/CodexTest.cpp
+++ b/tests/CodexTest.cpp
@@ -437,6 +437,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);
}
// Test interlaced PNG in stripes, similar to DM's kStripe_Mode
@@ -630,6 +633,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[]) {
« src/codec/SkRawCodec.cpp ('K') | « src/codec/SkRawCodec.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698