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

Unified Diff: dm/DM.cpp

Issue 1520403003: Prototype of RAW decoding in Skia. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Initial upload of the Prototype. Created 5 years 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 | « no previous file | dm/DMSrcSink.cpp » ('j') | dm/DMSrcSink.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index c7e0934008f3b5a8b2d8dd982976d169b1c923e0..163716d31226881ca8a00b46deeb794bac6d6c1e 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -487,8 +487,8 @@ static void push_brd_srcs(Path path) {
static bool brd_supported(const char* ext) {
static const char* const exts[] = {
- "jpg", "jpeg", "png", "webp",
- "JPG", "JPEG", "PNG", "WEBP",
+ "jpg", "jpeg", "png", "webp", "arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2",
+ "JPG", "JPEG", "PNG", "WEBP", "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2",
djsollen 2015/12/16 20:35:34 I don't think we have plans to support RAW for Bit
yujieqin 2016/01/06 18:47:18 Done.
};
for (uint32_t i = 0; i < SK_ARRAY_COUNT(exts); i++) {
@@ -515,8 +515,8 @@ static void gather_srcs() {
}
}
static const char* const exts[] = {
- "bmp", "gif", "jpg", "jpeg", "png", "webp", "ktx", "astc", "wbmp", "ico",
- "BMP", "GIF", "JPG", "JPEG", "PNG", "WEBP", "KTX", "ASTC", "WBMP", "ICO",
+ "bmp", "gif", "jpg", "jpeg", "png", "webp", "ktx", "astc", "wbmp", "ico", "arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2",
scroggo 2015/12/18 15:56:26 nit: over 100 chars.
yujieqin 2016/01/06 18:47:18 Done.
+ "BMP", "GIF", "JPG", "JPEG", "PNG", "WEBP", "KTX", "ASTC", "WBMP", "ICO", "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2",
};
for (int i = 0; i < FLAGS_images.count(); i++) {
const char* flag = FLAGS_images[i];
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | dm/DMSrcSink.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698