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

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

Issue 2846713002: [Media] Added feature flag for new remote playback pipeline (Closed)
Patch Set: 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // Let video without audio be paused when it is playing in the background. 183 // Let video without audio be paused when it is playing in the background.
184 const base::Feature kBackgroundVideoPauseOptimization{ 184 const base::Feature kBackgroundVideoPauseOptimization{
185 "BackgroundVideoPauseOptimization", base::FEATURE_DISABLED_BY_DEFAULT}; 185 "BackgroundVideoPauseOptimization", base::FEATURE_DISABLED_BY_DEFAULT};
186 186
187 // Make MSE garbage collection algorithm more aggressive when we are under 187 // Make MSE garbage collection algorithm more aggressive when we are under
188 // moderate or critical memory pressure. This will relieve memory pressure by 188 // moderate or critical memory pressure. This will relieve memory pressure by
189 // releasing stale data from MSE buffers. 189 // releasing stale data from MSE buffers.
190 const base::Feature kMemoryPressureBasedSourceBufferGC{ 190 const base::Feature kMemoryPressureBasedSourceBufferGC{
191 "MemoryPressureBasedSourceBufferGC", base::FEATURE_DISABLED_BY_DEFAULT}; 191 "MemoryPressureBasedSourceBufferGC", base::FEATURE_DISABLED_BY_DEFAULT};
192 192
193 // Use the new Remote Playback / media flinging pipeline.
194 const base::Feature kNewRemotePlaybackPipeline{
195 "NewRemotePlaybackPipeline", base::FEATURE_DISABLED_BY_DEFAULT};
196
193 // Use shared block-based buffering for media. 197 // Use shared block-based buffering for media.
194 const base::Feature kUseNewMediaCache{"use-new-media-cache", 198 const base::Feature kUseNewMediaCache{"use-new-media-cache",
195 base::FEATURE_ENABLED_BY_DEFAULT}; 199 base::FEATURE_ENABLED_BY_DEFAULT};
196 200
197 // Correct video colors based on output display? 201 // Correct video colors based on output display?
198 const base::Feature kVideoColorManagement{"video-color-management", 202 const base::Feature kVideoColorManagement{"video-color-management",
199 base::FEATURE_DISABLED_BY_DEFAULT}; 203 base::FEATURE_DISABLED_BY_DEFAULT};
200 204
201 // Inform video blitter of video color space. 205 // Inform video blitter of video color space.
202 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy", 206 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy",
(...skipping 23 matching lines...) Expand all
226 // This is completely insecure - DO NOT USE except for testing. 230 // This is completely insecure - DO NOT USE except for testing.
227 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", 231 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding",
228 base::FEATURE_DISABLED_BY_DEFAULT}; 232 base::FEATURE_DISABLED_BY_DEFAULT};
229 233
230 // Enables H264 HW encode acceleration using Media Foundation for Windows. 234 // Enables H264 HW encode acceleration using Media Foundation for Windows.
231 const base::Feature kMediaFoundationH264Encoding{ 235 const base::Feature kMediaFoundationH264Encoding{
232 "MediaFoundationH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; 236 "MediaFoundationH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT};
233 #endif // defined(OS_WIN) 237 #endif // defined(OS_WIN)
234 238
235 } // namespace media 239 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698