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

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: rebase to ToT Created 4 years, 2 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
« no previous file with comments | « cc/resources/resource_format.cc ('k') | cc/resources/resource_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « cc/resources/resource_format.cc ('k') | cc/resources/resource_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698