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

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

Issue 2503063002: media: Inform VideoBlit/MFTransform of video color information (Closed)
Patch Set: merged 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
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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 "BackgroundVideoTrackOptimization", base::FEATURE_DISABLED_BY_DEFAULT}; 160 "BackgroundVideoTrackOptimization", base::FEATURE_DISABLED_BY_DEFAULT};
161 161
162 // Use shared block-based buffering for media. 162 // Use shared block-based buffering for media.
163 const base::Feature kUseNewMediaCache{"use-new-media-cache", 163 const base::Feature kUseNewMediaCache{"use-new-media-cache",
164 base::FEATURE_ENABLED_BY_DEFAULT}; 164 base::FEATURE_ENABLED_BY_DEFAULT};
165 165
166 // Correct video colors based on output display? 166 // Correct video colors based on output display?
167 const base::Feature kVideoColorManagement{"video-color-management", 167 const base::Feature kVideoColorManagement{"video-color-management",
168 base::FEATURE_DISABLED_BY_DEFAULT}; 168 base::FEATURE_DISABLED_BY_DEFAULT};
169 169
170 // Inform video blitter of video color space.
171 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy",
172 base::FEATURE_DISABLED_BY_DEFAULT};
173
170 // Enables support for External Clear Key (ECK) key system for testing on 174 // Enables support for External Clear Key (ECK) key system for testing on
171 // supported platforms. On platforms that do not support ECK, this feature has 175 // supported platforms. On platforms that do not support ECK, this feature has
172 // no effect. 176 // no effect.
173 const base::Feature kExternalClearKeyForTesting{ 177 const base::Feature kExternalClearKeyForTesting{
174 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; 178 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT};
175 179
176 #if defined(OS_ANDROID) 180 #if defined(OS_ANDROID)
177 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. 181 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback.
178 const base::Feature kAndroidMediaPlayerRenderer{ 182 const base::Feature kAndroidMediaPlayerRenderer{
179 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT}; 183 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT};
180 #endif 184 #endif
181 185
182 } // namespace media 186 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698