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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 }; | 160 }; |
161 | 161 |
162 // Use shared block-based buffering for media. | 162 // Use shared block-based buffering for media. |
163 const base::Feature kUseNewMediaCache{"use-new-media-cache", | 163 const base::Feature kUseNewMediaCache{"use-new-media-cache", |
164 base::FEATURE_ENABLED_BY_DEFAULT}; | 164 base::FEATURE_ENABLED_BY_DEFAULT}; |
165 | 165 |
166 // Correct video colors based on output display? | 166 // Correct video colors based on output display? |
167 const base::Feature kVideoColorManagement{"video-color-management", | 167 const base::Feature kVideoColorManagement{"video-color-management", |
168 base::FEATURE_DISABLED_BY_DEFAULT}; | 168 base::FEATURE_DISABLED_BY_DEFAULT}; |
169 | 169 |
| 170 // Use RG8 texture for 9-16 bit channel instead of half float conversion by CPU. |
| 171 const base::Feature kUseRGTexture{"use-rg-texture", |
| 172 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 173 |
170 // Enables support for External Clear Key (ECK) key system for testing on | 174 // Enables support for External Clear Key (ECK) key system for testing on |
171 // supported platforms. On platforms that do not support ECK, this feature has | 175 // supported platforms. On platforms that do not support ECK, this feature has |
172 // no effect. | 176 // no effect. |
173 const base::Feature kExternalClearKeyForTesting{ | 177 const base::Feature kExternalClearKeyForTesting{ |
174 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; | 178 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; |
175 | 179 |
176 } // namespace media | 180 } // namespace media |
OLD | NEW |