OLD | NEW |
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 // Defines all the "media" command-line switches. | 5 // Defines all the "media" command-line switches. |
6 | 6 |
7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ | 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ |
8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ | 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "media/base/media_export.h" | 11 #include "media/base/media_export.h" |
12 | 12 |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 MEDIA_EXPORT extern const char kAudioBufferSize[]; | 15 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
16 | 16 |
17 MEDIA_EXPORT extern const char kVideoThreads[]; | 17 MEDIA_EXPORT extern const char kVideoThreads[]; |
18 | 18 |
19 MEDIA_EXPORT extern const char kEnableADTSStreamParser[]; | 19 MEDIA_EXPORT extern const char kEnableADTSStreamParser[]; |
20 | 20 |
| 21 MEDIA_EXPORT extern const char kForce4kAcceleratedVideoDecode[]; |
| 22 |
21 #if defined(OS_ANDROID) | 23 #if defined(OS_ANDROID) |
22 MEDIA_EXPORT extern const char kDisableInfobarForProtectedMediaIdentifier[]; | 24 MEDIA_EXPORT extern const char kDisableInfobarForProtectedMediaIdentifier[]; |
23 MEDIA_EXPORT extern const char kMediaDrmEnableNonCompositing[]; | 25 MEDIA_EXPORT extern const char kMediaDrmEnableNonCompositing[]; |
24 #endif | 26 #endif |
25 | 27 |
26 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 28 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
27 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 29 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
28 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 30 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
29 #endif | 31 #endif |
30 | 32 |
(...skipping 14 matching lines...) Expand all Loading... |
45 #if defined(USE_CRAS) | 47 #if defined(USE_CRAS) |
46 MEDIA_EXPORT extern const char kUseCras[]; | 48 MEDIA_EXPORT extern const char kUseCras[]; |
47 #endif | 49 #endif |
48 | 50 |
49 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[]; | 51 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[]; |
50 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; | 52 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; |
51 | 53 |
52 } // namespace switches | 54 } // namespace switches |
53 | 55 |
54 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 56 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |