| 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 #include "ppapi/features/features.h" | 7 #include "ppapi/features/features.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 #if defined(OS_WIN) | 138 #if defined(OS_WIN) |
| 139 // Enables video decode acceleration using the D3D11 video decoder api. | 139 // Enables video decode acceleration using the D3D11 video decoder api. |
| 140 // This is completely insecure - DO NOT USE except for testing. | 140 // This is completely insecure - DO NOT USE except for testing. |
| 141 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", | 141 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", |
| 142 base::FEATURE_DISABLED_BY_DEFAULT}; | 142 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 143 | 143 |
| 144 // Enables H264 HW encode acceleration using Media Foundation for Windows. | 144 // Enables H264 HW encode acceleration using Media Foundation for Windows. |
| 145 const base::Feature kMediaFoundationH264Encoding{ | 145 const base::Feature kMediaFoundationH264Encoding{ |
| 146 "MediaFoundationH264Encoding", base::FEATURE_DISABLED_BY_DEFAULT}; | 146 "MediaFoundationH264Encoding", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 147 |
| 148 // Enables VPX HW encode acceleration using Media Foundation for Windows. |
| 149 const base::Feature kMediaFoundationVPXEncoding{ |
| 150 "MediaFoundationVPXEncoding", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 147 #endif // defined(OS_WIN) | 151 #endif // defined(OS_WIN) |
| 148 | 152 |
| 149 // Use new audio rendering mixer. | 153 // Use new audio rendering mixer. |
| 150 const base::Feature kNewAudioRenderingMixingStrategy{ | 154 const base::Feature kNewAudioRenderingMixingStrategy{ |
| 151 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT}; | 155 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 152 | 156 |
| 153 // Only used for disabling overlay fullscreen (aka SurfaceView) in Clank. | 157 // Only used for disabling overlay fullscreen (aka SurfaceView) in Clank. |
| 154 const base::Feature kOverlayFullscreenVideo{"overlay-fullscreen-video", | 158 const base::Feature kOverlayFullscreenVideo{"overlay-fullscreen-video", |
| 155 base::FEATURE_ENABLED_BY_DEFAULT}; | 159 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 156 | 160 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. | 201 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. |
| 198 const base::Feature kAndroidMediaPlayerRenderer{ | 202 const base::Feature kAndroidMediaPlayerRenderer{ |
| 199 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT}; | 203 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 200 | 204 |
| 201 // Lock the screen orientation when a video goes fullscreen. | 205 // Lock the screen orientation when a video goes fullscreen. |
| 202 const base::Feature kVideoFullscreenOrientationLock{ | 206 const base::Feature kVideoFullscreenOrientationLock{ |
| 203 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT}; | 207 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 204 #endif | 208 #endif |
| 205 | 209 |
| 206 } // namespace media | 210 } // namespace media |
| OLD | NEW |