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

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: rebase 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index c553a5531793f1b7aa27c0fcd147745cdcc5a038..b0eae0863c37baaf4e93e5217dec6d7028b76d7b 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -277,6 +277,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. **
« no previous file with comments | « content/public/common/content_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698