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

Unified Diff: media/video/capture/video_capture_types.cc

Issue 760593003: Add PIXEL_FORMAT_NV12 into VideoPixelFormat (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove un-needed mock framewok Created 6 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/video/capture/video_capture_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/video_capture_types.cc
diff --git a/media/video/capture/video_capture_types.cc b/media/video/capture/video_capture_types.cc
index 27e68d9686868bcd21b0951661ae4742ebdd3bed..7a605b80713966e1c7c0c749472156a2230c527c 100644
--- a/media/video/capture/video_capture_types.cc
+++ b/media/video/capture/video_capture_types.cc
@@ -54,6 +54,8 @@ std::string VideoCaptureFormat::PixelFormatToString(VideoPixelFormat format) {
return "ARGB";
case PIXEL_FORMAT_MJPEG:
return "MJPEG";
+ case PIXEL_FORMAT_NV12:
+ return "NV12";
case PIXEL_FORMAT_NV21:
return "NV21";
case PIXEL_FORMAT_YV12:
« no previous file with comments | « media/video/capture/video_capture_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698