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

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

Issue 2534313004: Add prototype D3D11VideoDecodeAccelerator. (Closed)
Patch Set: rename d3d11_video_decoder.cc and other changes Created 4 years 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 | « media/base/media_switches.h ('k') | media/gpu/BUILD.gn » ('j') | 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 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Allows explicitly specifying MSE audio/video buffer sizes. 123 // Allows explicitly specifying MSE audio/video buffer sizes.
124 // Default values are 150M for video and 12M for audio. 124 // Default values are 150M for video and 12M for audio.
125 const char kMSEAudioBufferSizeLimit[] = "mse-audio-buffer-size-limit"; 125 const char kMSEAudioBufferSizeLimit[] = "mse-audio-buffer-size-limit";
126 const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit"; 126 const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit";
127 127
128 } // namespace switches 128 } // namespace switches
129 129
130 namespace media { 130 namespace media {
131 131
132 #if defined(OS_WIN) 132 #if defined(OS_WIN)
133 // Enables video decode acceleration using the D3D11 video decoder api.
134 // This is completely insecure - DO NOT USE except for testing.
135 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding",
136 base::FEATURE_DISABLED_BY_DEFAULT};
137
133 // Enables H264 HW encode acceleration using Media Foundation for Windows. 138 // Enables H264 HW encode acceleration using Media Foundation for Windows.
134 const base::Feature kMediaFoundationH264Encoding{ 139 const base::Feature kMediaFoundationH264Encoding{
135 "MediaFoundationH264Encoding", base::FEATURE_DISABLED_BY_DEFAULT}; 140 "MediaFoundationH264Encoding", base::FEATURE_DISABLED_BY_DEFAULT};
136 #endif // defined(OS_WIN) 141 #endif // defined(OS_WIN)
137 142
138 // Use new audio rendering mixer. 143 // Use new audio rendering mixer.
139 const base::Feature kNewAudioRenderingMixingStrategy{ 144 const base::Feature kNewAudioRenderingMixingStrategy{
140 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT}; 145 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT};
141 146
142 // Only used for disabling overlay fullscreen (aka SurfaceView) in Clank. 147 // Only used for disabling overlay fullscreen (aka SurfaceView) in Clank.
(...skipping 25 matching lines...) Expand all
168 const base::Feature kExternalClearKeyForTesting{ 173 const base::Feature kExternalClearKeyForTesting{
169 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; 174 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT};
170 175
171 #if defined(OS_ANDROID) 176 #if defined(OS_ANDROID)
172 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. 177 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback.
173 const base::Feature kAndroidMediaPlayerRenderer{ 178 const base::Feature kAndroidMediaPlayerRenderer{
174 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT}; 179 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT};
175 #endif 180 #endif
176 181
177 } // namespace media 182 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | media/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698