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

Unified Diff: cc/raster/raster_buffer_provider.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/quads/yuv_video_draw_quad.h ('k') | cc/resources/platform_color.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/raster_buffer_provider.cc
diff --git a/cc/raster/raster_buffer_provider.cc b/cc/raster/raster_buffer_provider.cc
index 20264a7211336edb062c388fad2b9d430a42a6f4..afcaf56ad00816a58136ab6320bdddb6c153eaba 100644
--- a/cc/raster/raster_buffer_provider.cc
+++ b/cc/raster/raster_buffer_provider.cc
@@ -33,6 +33,7 @@ bool IsSupportedPlaybackToMemoryFormat(ResourceFormat format) {
case LUMINANCE_8:
case RGB_565:
case RED_8:
+ case RG_88:
case LUMINANCE_F16:
return false;
}
@@ -120,6 +121,7 @@ void RasterBufferProvider::PlaybackToMemory(
case LUMINANCE_8:
case RGB_565:
case RED_8:
+ case RG_88:
case LUMINANCE_F16:
NOTREACHED();
return;
@@ -142,6 +144,7 @@ bool RasterBufferProvider::ResourceFormatRequiresSwizzle(
case LUMINANCE_8:
case RGB_565:
case RED_8:
+ case RG_88:
case LUMINANCE_F16:
return false;
}
« no previous file with comments | « cc/quads/yuv_video_draw_quad.h ('k') | cc/resources/platform_color.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698