Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: media/base/media_switches.cc

Issue 2714153004: Enable MediaFoundationH264Encoding by default (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
137 namespace media { 137 namespace media {
138 138
139 #if defined(OS_WIN) 139 #if defined(OS_WIN)
140 // Enables video decode acceleration using the D3D11 video decoder api. 140 // Enables video decode acceleration using the D3D11 video decoder api.
141 // This is completely insecure - DO NOT USE except for testing. 141 // This is completely insecure - DO NOT USE except for testing.
142 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", 142 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding",
143 base::FEATURE_DISABLED_BY_DEFAULT}; 143 base::FEATURE_DISABLED_BY_DEFAULT};
144 144
145 // Enables H264 HW encode acceleration using Media Foundation for Windows. 145 // Enables H264 HW encode acceleration using Media Foundation for Windows.
146 const base::Feature kMediaFoundationH264Encoding{ 146 const base::Feature kMediaFoundationH264Encoding{
147 "MediaFoundationH264Encoding", base::FEATURE_DISABLED_BY_DEFAULT}; 147 "MediaFoundationH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT};
148 #endif // defined(OS_WIN) 148 #endif // defined(OS_WIN)
149 149
150 // Use new audio rendering mixer. 150 // Use new audio rendering mixer.
151 const base::Feature kNewAudioRenderingMixingStrategy{ 151 const base::Feature kNewAudioRenderingMixingStrategy{
152 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT}; 152 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT};
153 153
154 // Only used for disabling overlay fullscreen (aka SurfaceView) in Clank. 154 // Only used for disabling overlay fullscreen (aka SurfaceView) in Clank.
155 const base::Feature kOverlayFullscreenVideo{"overlay-fullscreen-video", 155 const base::Feature kOverlayFullscreenVideo{"overlay-fullscreen-video",
156 base::FEATURE_ENABLED_BY_DEFAULT}; 156 base::FEATURE_ENABLED_BY_DEFAULT};
157 157
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 // An experimental feature to enable persistent-license type support in MediaDrm 202 // An experimental feature to enable persistent-license type support in MediaDrm
203 // when using Encrypted Media Extensions (EME) API. 203 // when using Encrypted Media Extensions (EME) API.
204 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 204 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521
205 const base::Feature kMediaDrmPersistentLicense{ 205 const base::Feature kMediaDrmPersistentLicense{
206 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; 206 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT};
207 207
208 #endif 208 #endif
209 209
210 } // namespace media 210 } // namespace media
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698