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

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

Issue 2969223002: [media]: Replace LUMINANCE_F16 by R16 for 9/10-bit h264 videos.
Patch Set: Fix in resource_format_utils Created 3 years, 4 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 | « media/base/media_switches.h ('k') | 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 "media/base/media_switches.h" 5 #include "media/base/media_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 "NewRemotePlaybackPipeline", base::FEATURE_DISABLED_BY_DEFAULT}; 235 "NewRemotePlaybackPipeline", base::FEATURE_DISABLED_BY_DEFAULT};
236 236
237 // CanPlayThrough issued according to standard. 237 // CanPlayThrough issued according to standard.
238 const base::Feature kSpecCompliantCanPlayThrough{ 238 const base::Feature kSpecCompliantCanPlayThrough{
239 "SpecCompliantCanPlayThrough", base::FEATURE_ENABLED_BY_DEFAULT}; 239 "SpecCompliantCanPlayThrough", base::FEATURE_ENABLED_BY_DEFAULT};
240 240
241 // Use shared block-based buffering for media. 241 // Use shared block-based buffering for media.
242 const base::Feature kUseNewMediaCache{"use-new-media-cache", 242 const base::Feature kUseNewMediaCache{"use-new-media-cache",
243 base::FEATURE_ENABLED_BY_DEFAULT}; 243 base::FEATURE_ENABLED_BY_DEFAULT};
244 244
245 // Use R16 texture for 9-16 bit channel instead of half-float conversion by CPU.
246 const base::Feature kUseR16Texture{"use-r16-texture",
247 base::FEATURE_DISABLED_BY_DEFAULT};
248
245 // Correct video colors based on output display? 249 // Correct video colors based on output display?
246 const base::Feature kVideoColorManagement{"video-color-management", 250 const base::Feature kVideoColorManagement{"video-color-management",
247 base::FEATURE_DISABLED_BY_DEFAULT}; 251 base::FEATURE_DISABLED_BY_DEFAULT};
248 252
249 // Use SurfaceLayer instead of VideoLayer. 253 // Use SurfaceLayer instead of VideoLayer.
250 const base::Feature kUseSurfaceLayerForVideo{"UseSurfaceLayerForVideo", 254 const base::Feature kUseSurfaceLayerForVideo{"UseSurfaceLayerForVideo",
251 base::FEATURE_DISABLED_BY_DEFAULT}; 255 base::FEATURE_DISABLED_BY_DEFAULT};
252 256
253 // Inform video blitter of video color space. 257 // Inform video blitter of video color space.
254 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy", 258 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy",
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 326
323 // The default value is platform dependent. 327 // The default value is platform dependent.
324 #if defined(OS_ANDROID) 328 #if defined(OS_ANDROID)
325 return switches::autoplay::kUserGestureRequiredPolicy; 329 return switches::autoplay::kUserGestureRequiredPolicy;
326 #else 330 #else
327 return switches::autoplay::kNoUserGestureRequiredPolicy; 331 return switches::autoplay::kNoUserGestureRequiredPolicy;
328 #endif 332 #endif
329 } 333 }
330 334
331 } // namespace media 335 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698