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 "base/feature_list.h" | 10 #include "base/feature_list.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
13 | 13 |
14 namespace switches { | 14 namespace switches { |
15 | 15 |
16 MEDIA_EXPORT extern const char kAudioBufferSize[]; | 16 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
17 | 17 |
18 MEDIA_EXPORT extern const char kVideoThreads[]; | 18 MEDIA_EXPORT extern const char kVideoThreads[]; |
19 | 19 |
20 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; | 20 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; |
21 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; | 21 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; |
22 | 22 |
23 MEDIA_EXPORT extern const char kReportVp9AsAnUnsupportedMimeType[]; | 23 MEDIA_EXPORT extern const char kReportVp9AsAnUnsupportedMimeType[]; |
24 | 24 |
25 #if defined(OS_ANDROID) | 25 #if defined(OS_ANDROID) |
26 MEDIA_EXPORT extern const char kDisableMediaThreadForMediaPlayback[]; | |
27 MEDIA_EXPORT extern const char kDisableUnifiedMediaPipeline[]; | 26 MEDIA_EXPORT extern const char kDisableUnifiedMediaPipeline[]; |
28 MEDIA_EXPORT extern const char kEnableMediaThreadForMediaPlayback[]; | |
29 #endif | 27 #endif |
30 | 28 |
31 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 29 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
32 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 30 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
33 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 31 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
34 #endif | 32 #endif |
35 | 33 |
36 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[]; | 34 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[]; |
37 | 35 |
38 #if defined(OS_WIN) | 36 #if defined(OS_WIN) |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 #endif // defined(ENABLE_PLUGINS) | 84 #endif // defined(ENABLE_PLUGINS) |
87 | 85 |
88 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; | 86 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; |
89 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; | 87 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; |
90 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 88 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
91 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; | 89 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; |
92 | 90 |
93 } // namespace media | 91 } // namespace media |
94 | 92 |
95 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 93 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |