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

Side by Side Diff: media/base/media_switches.cc

Issue 285343003: Add 4k HW decode override flag and support larger bitstream buffers in V4L2VDA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/media_switches.h" 5 #include "media/base/media_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Allow users to specify a custom buffer size for debugging purpose. 9 // Allow users to specify a custom buffer size for debugging purpose.
10 const char kAudioBufferSize[] = "audio-buffer-size"; 10 const char kAudioBufferSize[] = "audio-buffer-size";
11 11
12 // Set number of threads to use for video decoding. 12 // Set number of threads to use for video decoding.
13 const char kVideoThreads[] = "video-threads"; 13 const char kVideoThreads[] = "video-threads";
14 14
15 // Enables ADTS stream parser for Media Source Extensions. 15 // Enables ADTS stream parser for Media Source Extensions.
16 const char kEnableADTSStreamParser[] = "enable-adts-stream-parser"; 16 const char kEnableADTSStreamParser[] = "enable-adts-stream-parser";
17 17
18 // Force hardware decode of 4k video even if we were not able to detect
19 // this capability.
20 const char kForce4kAcceleratedVideoDecode[] =
Ami GONE FROM CHROMIUM 2014/05/15 16:00:42 kAssume4kHWVideoDecodeIsSupported is closer to wha
Pawel Osciak 2014/05/16 03:53:01 I'd prefer s/Size/Resolution/. This will probably
Ami GONE FROM CHROMIUM 2014/05/16 16:49:59 \grumpycat{good} (it's not like this is a flag tha
21 "force-4k-accelerated-video-decode";
22
18 #if defined(OS_ANDROID) 23 #if defined(OS_ANDROID)
19 // Disables the infobar popup for accessing protected media identifier. 24 // Disables the infobar popup for accessing protected media identifier.
20 const char kDisableInfobarForProtectedMediaIdentifier[] = 25 const char kDisableInfobarForProtectedMediaIdentifier[] =
21 "disable-infobar-for-protected-media-identifier"; 26 "disable-infobar-for-protected-media-identifier";
22 27
23 // Enables use of non-compositing MediaDrm decoding by default for Encrypted 28 // Enables use of non-compositing MediaDrm decoding by default for Encrypted
24 // Media Extensions implementation. 29 // Media Extensions implementation.
25 const char kMediaDrmEnableNonCompositing[] = "mediadrm-enable-non-compositing"; 30 const char kMediaDrmEnableNonCompositing[] = "mediadrm-enable-non-compositing";
26 #endif 31 #endif
27 32
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const char kUseCras[] = "use-cras"; 91 const char kUseCras[] = "use-cras";
87 #endif 92 #endif
88 93
89 // Use fake device for Media Stream to replace actual camera and microphone. 94 // Use fake device for Media Stream to replace actual camera and microphone.
90 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; 95 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
91 96
92 // Use a raw video file as fake video capture device. 97 // Use a raw video file as fake video capture device.
93 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; 98 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture";
94 99
95 } // namespace switches 100 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698