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

Unified Diff: content/public/common/content_switches.cc

Issue 1153163003: Add flag to enable MJPEG acceleration for video capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mjpeg-4-use
Patch Set: Created 5 years, 6 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: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index f7c94dde293d6a073cd00434928d7faef4a285aa..d445347f644da9536b8ecf4a6a23990fd66e08e2 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -283,6 +283,10 @@ const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa";
const char kDisableAcceleratedJpegDecoding[] =
"disable-accelerated-jpeg-decoding";
+// Enable hardware acceleration of mjpeg decode for captured frame, where
+// available.
+const char kEnableAcceleratedMjpegDecode[] = "enable-accelerated-mjpeg-decode";
+
// Enable bleeding-edge code to make Chrome draw content faster. The changes
// behind this path are very likely to break lots of content.
// ** DO NOT use this flag unless you know what you are doing. **

Powered by Google App Engine
This is Rietveld 408576698