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

Unified Diff: components/exo/buffer.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: components/exo/buffer.cc
diff --git a/components/exo/buffer.cc b/components/exo/buffer.cc
index 060c7e542d6092d9ab6e7134dc4ff071f996846a..739376f5bacafd1d230ae407bee2b08d90d31e61 100644
--- a/components/exo/buffer.cc
+++ b/components/exo/buffer.cc
@@ -56,6 +56,7 @@ GLenum GLInternalFormat(gfx::BufferFormat format) {
GL_RGB_YCRCB_420_CHROMIUM, // YVU_420
GL_RGB_YCBCR_420V_CHROMIUM, // YUV_420_BIPLANAR
GL_RGB_YCBCR_422_CHROMIUM, // UYVY_422
+ GL_RGB_YCBCR_422_CHROMIUM, // YUYV_422
};
static_assert(arraysize(kGLInternalFormats) ==
(static_cast<int>(gfx::BufferFormat::LAST) + 1),

Powered by Google App Engine
This is Rietveld 408576698