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

Unified Diff: ui/gfx/mojo/buffer_types_traits.h

Issue 2636433003: [NotForReview] Enable YUV video overlay on Skylake ChromeOS.
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
« no previous file with comments | « ui/gfx/mojo/buffer_types.mojom ('k') | ui/gl/gl_image_memory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/buffer_types_traits.h
diff --git a/ui/gfx/mojo/buffer_types_traits.h b/ui/gfx/mojo/buffer_types_traits.h
index 086b27deb9078a69729df9448ec936916c2c4ec8..30c99e6c390858ebf7cee840b9a57a4da1c5c80f 100644
--- a/ui/gfx/mojo/buffer_types_traits.h
+++ b/ui/gfx/mojo/buffer_types_traits.h
@@ -46,6 +46,8 @@ struct EnumTraits<gfx::mojom::BufferFormat, gfx::BufferFormat> {
return gfx::mojom::BufferFormat::YUV_420_BIPLANAR;
case gfx::BufferFormat::UYVY_422:
return gfx::mojom::BufferFormat::UYVY_422;
+ case gfx::BufferFormat::YUYV_422:
+ return gfx::mojom::BufferFormat::YUYV_422;
}
NOTREACHED();
return gfx::mojom::BufferFormat::LAST;
@@ -101,6 +103,8 @@ struct EnumTraits<gfx::mojom::BufferFormat, gfx::BufferFormat> {
return true;
case gfx::mojom::BufferFormat::UYVY_422:
*out = gfx::BufferFormat::UYVY_422;
+ case gfx::mojom::BufferFormat::YUYV_422:
+ *out = gfx::BufferFormat::YUYV_422;
}
NOTREACHED();
return false;
« no previous file with comments | « ui/gfx/mojo/buffer_types.mojom ('k') | ui/gl/gl_image_memory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698