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 #include "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "media/base/media_switches.h" | 6 #include "media/base/media_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Allow users to specify a custom buffer size for debugging purpose. | 10 // Allow users to specify a custom buffer size for debugging purpose. |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 }; | 155 }; |
156 | 156 |
157 // Use shared block-based buffering for media. | 157 // Use shared block-based buffering for media. |
158 const base::Feature kUseNewMediaCache{"use-new-media-cache", | 158 const base::Feature kUseNewMediaCache{"use-new-media-cache", |
159 base::FEATURE_ENABLED_BY_DEFAULT}; | 159 base::FEATURE_ENABLED_BY_DEFAULT}; |
160 | 160 |
161 // Correct video colors based on output display? | 161 // Correct video colors based on output display? |
162 const base::Feature kVideoColorManagement{"video-color-management", | 162 const base::Feature kVideoColorManagement{"video-color-management", |
163 base::FEATURE_DISABLED_BY_DEFAULT}; | 163 base::FEATURE_DISABLED_BY_DEFAULT}; |
164 | 164 |
| 165 // Inform video blitter of video color space. |
| 166 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy", |
| 167 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 168 |
165 // Enables support for External Clear Key (ECK) key system for testing on | 169 // Enables support for External Clear Key (ECK) key system for testing on |
166 // supported platforms. On platforms that do not support ECK, this feature has | 170 // supported platforms. On platforms that do not support ECK, this feature has |
167 // no effect. | 171 // no effect. |
168 const base::Feature kExternalClearKeyForTesting{ | 172 const base::Feature kExternalClearKeyForTesting{ |
169 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; | 173 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; |
170 | 174 |
171 #if defined(OS_ANDROID) | 175 #if defined(OS_ANDROID) |
172 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. | 176 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. |
173 const base::Feature kAndroidMediaPlayerRenderer{ | 177 const base::Feature kAndroidMediaPlayerRenderer{ |
174 "android-media-player-renderer", base::FEATURE_DISABLED_BY_DEFAULT}; | 178 "android-media-player-renderer", base::FEATURE_DISABLED_BY_DEFAULT}; |
175 #endif | 179 #endif |
176 | 180 |
177 } // namespace media | 181 } // namespace media |
OLD | NEW |