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

Unified Diff: media/base/video_types.cc

Issue 1326153002: Add PIXEL_FORMAT_MT21. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 3 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 | « media/base/video_types.h ('k') | media/blink/skcanvas_video_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_types.cc
diff --git a/media/base/video_types.cc b/media/base/video_types.cc
index 627fc8e7cd9d2e603006a48c20db4bc8094c3fe3..b6b041ee4718e48d9e89067b7ccd595a44115b80 100644
--- a/media/base/video_types.cc
+++ b/media/base/video_types.cc
@@ -40,6 +40,8 @@ std::string VideoPixelFormatToString(VideoPixelFormat format) {
return "PIXEL_FORMAT_RGB32";
case PIXEL_FORMAT_MJPEG:
return "PIXEL_FORMAT_MJPEG";
+ case PIXEL_FORMAT_MT21:
+ return "PIXEL_FORMAT_MT21";
}
NOTREACHED() << "Invalid VideoPixelFormat provided: " << format;
return "";
@@ -54,6 +56,7 @@ bool IsYuvPlanar(VideoPixelFormat format) {
case PIXEL_FORMAT_YV24:
case PIXEL_FORMAT_NV12:
case PIXEL_FORMAT_NV21:
+ case PIXEL_FORMAT_MT21:
return true;
case PIXEL_FORMAT_UNKNOWN:
« no previous file with comments | « media/base/video_types.h ('k') | media/blink/skcanvas_video_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698