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

Unified Diff: media/gpu/v4l2_device.cc

Issue 2559423002: media/gpu: switch v4l2_jpeg_decode_accelerator to use multi-planar APIs (Closed)
Patch Set: address the review comments Created 4 years 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 | « media/gpu/generic_v4l2_device.cc ('k') | media/gpu/v4l2_jpeg_decode_accelerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/v4l2_device.cc
diff --git a/media/gpu/v4l2_device.cc b/media/gpu/v4l2_device.cc
index 3dcd1bf4f16edda8aa7c5be8bfc8f03418dd61b8..718d566d73813390ed4a96f3af29ce85cbc45490 100644
--- a/media/gpu/v4l2_device.cc
+++ b/media/gpu/v4l2_device.cc
@@ -56,6 +56,9 @@ VideoPixelFormat V4L2Device::V4L2PixFmtToVideoPixelFormat(uint32_t pix_fmt) {
case V4L2_PIX_FMT_YVU420:
return PIXEL_FORMAT_YV12;
+ case V4L2_PIX_FMT_YUV422M:
+ return PIXEL_FORMAT_I422;
+
case V4L2_PIX_FMT_RGB32:
return PIXEL_FORMAT_ARGB;
« no previous file with comments | « media/gpu/generic_v4l2_device.cc ('k') | media/gpu/v4l2_jpeg_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698