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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
88 } // namespace autoplay | 88 } // namespace autoplay |
89 | 89 |
90 } // namespace switches | 90 } // namespace switches |
91 | 91 |
92 namespace media { | 92 namespace media { |
93 | 93 |
94 // All features in alphabetical order. The features should be documented | 94 // All features in alphabetical order. The features should be documented |
95 // alongside the definition of their values in the .cc file. | 95 // alongside the definition of their values in the .cc file. |
96 | 96 |
97 MEDIA_EXPORT extern const base::Feature kAutoplayPolicy; | 97 MEDIA_EXPORT extern const base::Feature kAutoplayPolicy; |
98 MEDIA_EXPORT extern const base::Feature kBackgroundVideoPauseOptimization; | |
99 MEDIA_EXPORT extern const base::Feature kBackgroundVideoTrackOptimization; | |
100 MEDIA_EXPORT extern const base::Feature kCanPlayThrough; | |
DaleCurtis
2017/05/04 22:56:51
kSpecCompliantCanPlayThrough?
hubbe
2017/05/05 20:30:34
Done.
| |
101 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; | |
102 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; | |
98 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; | 103 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; |
104 MEDIA_EXPORT extern const base::Feature kNewRemotePlaybackPipeline; | |
99 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; | 105 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; |
100 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; | 106 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; |
101 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 107 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
108 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy; | |
102 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; | 109 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; |
103 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy; | |
104 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; | |
105 MEDIA_EXPORT extern const base::Feature kBackgroundVideoTrackOptimization; | |
106 MEDIA_EXPORT extern const base::Feature kBackgroundVideoPauseOptimization; | |
107 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; | |
108 MEDIA_EXPORT extern const base::Feature kNewRemotePlaybackPipeline; | |
109 | 110 |
110 #if defined(OS_ANDROID) | 111 #if defined(OS_ANDROID) |
111 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; | 112 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; |
112 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; | 113 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; |
113 MEDIA_EXPORT extern const base::Feature kVideoRotateToFullscreen; | 114 MEDIA_EXPORT extern const base::Feature kVideoRotateToFullscreen; |
114 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; | 115 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; |
115 #endif // defined(OS_ANDROID) | 116 #endif // defined(OS_ANDROID) |
116 | 117 |
117 #if defined(OS_WIN) | 118 #if defined(OS_WIN) |
118 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; | 119 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; |
119 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; | 120 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; |
120 #endif // defined(OS_WIN) | 121 #endif // defined(OS_WIN) |
121 | 122 |
122 } // namespace media | 123 } // namespace media |
123 | 124 |
124 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 125 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |