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

Unified Diff: content/browser/gpu/gpu_internals_ui.cc

Issue 2648633005: cros: Support YUYV format for GPU memory buffer video frames
Patch Set: Created 3 years, 11 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: content/browser/gpu/gpu_internals_ui.cc
diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc
index 793a39c6ba642487450162d8ab8ca0ebcd6089fa..8be7a4fa967b62faf9e6b218c776fd74b3b5943e 100644
--- a/content/browser/gpu/gpu_internals_ui.cc
+++ b/content/browser/gpu/gpu_internals_ui.cc
@@ -300,6 +300,8 @@ const char* BufferFormatToString(gfx::BufferFormat format) {
return "YUV_420_BIPLANAR";
case gfx::BufferFormat::UYVY_422:
return "UYVY_422";
+ case gfx::BufferFormat::YUYV_422:
+ return "YUYV_422";
}
NOTREACHED();
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698