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

Unified Diff: dm/DM.cpp

Issue 2174493002: Add color space xform support to SkJpegCodec (includes F16!) (Closed) Base URL: https://skia.googlesource.com/skia.git@drop
Patch Set: Created 4 years, 5 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: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index cccc92b9faf4b63b5a48187e63b563f709f32cbe..f18f4d4d62160cb697dc0f8dcdf72027b3b2167e 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -755,7 +755,8 @@ static bool gather_srcs() {
push_src("image", "color_codec_sRGB_kF16", src);
#if defined(SK_TEST_QCMS)
- src = new ColorCodecSrc(colorImage, ColorCodecSrc::kQCMS_HPZR30w_Mode, kN32_SkColorType);
+ src = new ColorCodecSrc(colorImage, ColorCodecSrc::kQCMS_HPZR30w_Mode,
+ kRGBA_8888_SkColorType);
push_src("image", "color_codec_QCMS_HPZR30w", src);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698