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

Unified Diff: src/core/SkOpts.h

Issue 1676773003: Optimize CMYK->RGBA (BGRA) transform for jpeg decodes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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
Index: src/core/SkOpts.h
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h
index 69da36254ce9986e4f3c952bf966a57a27a672cd..052ef5bac2b8d69189997f67e8c5446f9085e9bc 100644
--- a/src/core/SkOpts.h
+++ b/src/core/SkOpts.h
@@ -64,7 +64,9 @@ namespace SkOpts {
RGB_to_BGR1, // i.e. swap RB and insert an opaque alpha
gray_to_RGB1, // i.e. expand to color channels + an opaque alpha
grayA_to_RGBA, // i.e. expand to color channels
- grayA_to_rgbA; // i.e. expand to color channels and premultiply
+ grayA_to_rgbA, // i.e. expand to color channels and premultiply
+ CMYK_to_RGB1, // i.e. convert color space
scroggo 2016/02/08 14:59:43 I know this isn't the first appearance of it, but
mtklein 2016/02/08 15:08:47 opaque. the alpha channel is 1.
+ CMYK_to_BGR1; // i.e. convert color space
}
#endif//SkOpts_DEFINED
« no previous file with comments | « src/codec/SkSwizzler.cpp ('k') | src/core/SkOpts.cpp » ('j') | src/opts/SkSwizzler_opts.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698