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

Unified Diff: cc/resources/resource_format_utils.cc

Issue 2122573003: media: replace LUMINANCE_F16 by RG_88 for 9/10-bit h264 videos Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve hubbe's concerns except for test. separate the CLs. Created 4 years, 3 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: cc/resources/resource_format_utils.cc
diff --git a/cc/resources/resource_format_utils.cc b/cc/resources/resource_format_utils.cc
index 788f687adfbe81e13d55a96dc4bcefdc10f33682..fe1652284fe055ef6dac0889b43a07753bbdae1b 100644
--- a/cc/resources/resource_format_utils.cc
+++ b/cc/resources/resource_format_utils.cc
@@ -22,6 +22,7 @@ SkColorType ResourceFormatToClosestSkColorType(ResourceFormat format) {
return kGray_8_SkColorType;
case ETC1:
case RED_8:
+ case RG_88:
case LUMINANCE_F16:
return kN32_SkColorType;
}

Powered by Google App Engine
This is Rietveld 408576698