| 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 // Use RG8 texture for 9-16 bit channel instead of half float conversion by CPU. |
| 166 const base::Feature kUseRGTexture{"use-rg-texture", |
| 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 } // namespace media | 175 } // namespace media |
| OLD | NEW |