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

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

Issue 2846713002: [Media] Added feature flag for new remote playback pipeline (Closed)
Patch Set: Fixed failing layout tests Created 3 years, 7 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
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // Let video without audio be paused when it is playing in the background. 189 // Let video without audio be paused when it is playing in the background.
190 const base::Feature kBackgroundVideoPauseOptimization{ 190 const base::Feature kBackgroundVideoPauseOptimization{
191 "BackgroundVideoPauseOptimization", base::FEATURE_DISABLED_BY_DEFAULT}; 191 "BackgroundVideoPauseOptimization", base::FEATURE_DISABLED_BY_DEFAULT};
192 192
193 // Make MSE garbage collection algorithm more aggressive when we are under 193 // Make MSE garbage collection algorithm more aggressive when we are under
194 // moderate or critical memory pressure. This will relieve memory pressure by 194 // moderate or critical memory pressure. This will relieve memory pressure by
195 // releasing stale data from MSE buffers. 195 // releasing stale data from MSE buffers.
196 const base::Feature kMemoryPressureBasedSourceBufferGC{ 196 const base::Feature kMemoryPressureBasedSourceBufferGC{
197 "MemoryPressureBasedSourceBufferGC", base::FEATURE_DISABLED_BY_DEFAULT}; 197 "MemoryPressureBasedSourceBufferGC", base::FEATURE_DISABLED_BY_DEFAULT};
198 198
199 // Use the new Remote Playback / media flinging pipeline.
200 const base::Feature kNewRemotePlaybackPipeline{
201 "NewRemotePlaybackPipeline", base::FEATURE_DISABLED_BY_DEFAULT};
202
199 // Use shared block-based buffering for media. 203 // Use shared block-based buffering for media.
200 const base::Feature kUseNewMediaCache{"use-new-media-cache", 204 const base::Feature kUseNewMediaCache{"use-new-media-cache",
201 base::FEATURE_ENABLED_BY_DEFAULT}; 205 base::FEATURE_ENABLED_BY_DEFAULT};
202 206
203 // Correct video colors based on output display? 207 // Correct video colors based on output display?
204 const base::Feature kVideoColorManagement{"video-color-management", 208 const base::Feature kVideoColorManagement{"video-color-management",
205 base::FEATURE_DISABLED_BY_DEFAULT}; 209 base::FEATURE_DISABLED_BY_DEFAULT};
206 210
207 // Inform video blitter of video color space. 211 // Inform video blitter of video color space.
208 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy", 212 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy",
(...skipping 23 matching lines...) Expand all
232 // This is completely insecure - DO NOT USE except for testing. 236 // This is completely insecure - DO NOT USE except for testing.
233 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", 237 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding",
234 base::FEATURE_DISABLED_BY_DEFAULT}; 238 base::FEATURE_DISABLED_BY_DEFAULT};
235 239
236 // Enables H264 HW encode acceleration using Media Foundation for Windows. 240 // Enables H264 HW encode acceleration using Media Foundation for Windows.
237 const base::Feature kMediaFoundationH264Encoding{ 241 const base::Feature kMediaFoundationH264Encoding{
238 "MediaFoundationH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; 242 "MediaFoundationH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT};
239 #endif // defined(OS_WIN) 243 #endif // defined(OS_WIN)
240 244
241 } // namespace media 245 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698