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" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 MEDIA_EXPORT extern const char kDisableRTCSmoothnessAlgorithm[]; | 65 MEDIA_EXPORT extern const char kDisableRTCSmoothnessAlgorithm[]; |
66 | 66 |
67 MEDIA_EXPORT extern const char kEnableVp9InMp4[]; | 67 MEDIA_EXPORT extern const char kEnableVp9InMp4[]; |
68 | 68 |
69 MEDIA_EXPORT extern const char kForceVideoOverlays[]; | 69 MEDIA_EXPORT extern const char kForceVideoOverlays[]; |
70 | 70 |
71 MEDIA_EXPORT extern const char kMSEAudioBufferSizeLimit[]; | 71 MEDIA_EXPORT extern const char kMSEAudioBufferSizeLimit[]; |
72 MEDIA_EXPORT extern const char kMSEVideoBufferSizeLimit[]; | 72 MEDIA_EXPORT extern const char kMSEVideoBufferSizeLimit[]; |
73 | 73 |
| 74 MEDIA_EXPORT extern const char kIgnoreMissingCdmHostFileForTesting[]; |
| 75 |
74 } // namespace switches | 76 } // namespace switches |
75 | 77 |
76 namespace media { | 78 namespace media { |
77 | 79 |
78 // All features in alphabetical order. The features should be documented | 80 // All features in alphabetical order. The features should be documented |
79 // alongside the definition of their values in the .cc file. | 81 // alongside the definition of their values in the .cc file. |
80 | 82 |
81 #if defined(OS_WIN) | 83 #if defined(OS_WIN) |
82 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; | 84 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; |
83 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; | 85 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; |
84 #endif // defined(OS_WIN) | 86 #endif // defined(OS_WIN) |
85 | 87 |
86 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; | 88 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; |
87 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; | 89 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; |
88 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; | 90 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; |
89 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 91 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
90 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; | 92 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; |
91 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy; | 93 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy; |
92 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; | 94 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; |
93 MEDIA_EXPORT extern const base::Feature kBackgroundVideoTrackOptimization; | 95 MEDIA_EXPORT extern const base::Feature kBackgroundVideoTrackOptimization; |
94 | 96 |
95 #if defined(OS_ANDROID) | 97 #if defined(OS_ANDROID) |
96 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; | 98 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; |
97 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; | 99 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; |
98 #endif // defined(OS_ANDROID) | 100 #endif // defined(OS_ANDROID) |
99 } // namespace media | 101 } // namespace media |
100 | 102 |
101 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 103 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |