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

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

Issue 2969223002: [media]: Replace LUMINANCE_F16 by R16 for 9/10-bit h264 videos.
Patch Set: Fix in resource_format_utils Created 3 years, 3 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 | « components/viz/common/resources/resource_format_utils.cc ('k') | media/base/media_switches.cc » ('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 // Defines all the "media" command-line switches. 5 // Defines all the "media" command-line switches.
6 6
7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_
8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_
9 9
10 #include "base/feature_list.h" 10 #include "base/feature_list.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 MEDIA_EXPORT extern const base::Feature kMojoCdm; 114 MEDIA_EXPORT extern const base::Feature kMojoCdm;
115 MEDIA_EXPORT extern const base::Feature kMseFlacInIsobmff; 115 MEDIA_EXPORT extern const base::Feature kMseFlacInIsobmff;
116 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; 116 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy;
117 MEDIA_EXPORT extern const base::Feature kNewRemotePlaybackPipeline; 117 MEDIA_EXPORT extern const base::Feature kNewRemotePlaybackPipeline;
118 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; 118 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo;
119 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; 119 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo;
120 MEDIA_EXPORT extern const base::Feature kSpecCompliantCanPlayThrough; 120 MEDIA_EXPORT extern const base::Feature kSpecCompliantCanPlayThrough;
121 MEDIA_EXPORT extern const base::Feature kSupportExperimentalCdmInterface; 121 MEDIA_EXPORT extern const base::Feature kSupportExperimentalCdmInterface;
122 MEDIA_EXPORT extern const base::Feature kUseAndroidOverlay; 122 MEDIA_EXPORT extern const base::Feature kUseAndroidOverlay;
123 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; 123 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache;
124 MEDIA_EXPORT extern const base::Feature kUseR16Texture;
124 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy; 125 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy;
125 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; 126 MEDIA_EXPORT extern const base::Feature kVideoColorManagement;
126 MEDIA_EXPORT extern const base::Feature kUseSurfaceLayerForVideo; 127 MEDIA_EXPORT extern const base::Feature kUseSurfaceLayerForVideo;
127 128
128 #if defined(OS_ANDROID) 129 #if defined(OS_ANDROID)
129 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; 130 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock;
130 MEDIA_EXPORT extern const base::Feature kVideoRotateToFullscreen; 131 MEDIA_EXPORT extern const base::Feature kVideoRotateToFullscreen;
131 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; 132 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense;
132 #endif // defined(OS_ANDROID) 133 #endif // defined(OS_ANDROID)
133 134
134 #if defined(OS_WIN) 135 #if defined(OS_WIN)
135 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; 136 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding;
136 MEDIA_EXPORT extern const base::Feature kDelayCopyNV12Textures; 137 MEDIA_EXPORT extern const base::Feature kDelayCopyNV12Textures;
137 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; 138 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding;
138 #endif // defined(OS_WIN) 139 #endif // defined(OS_WIN)
139 140
140 // Based on a |command_line| and the current platform, returns the effective 141 // Based on a |command_line| and the current platform, returns the effective
141 // autoplay policy. In other words, it will take into account the default policy 142 // autoplay policy. In other words, it will take into account the default policy
142 // if none is specified via the command line and options passed for testing. 143 // if none is specified via the command line and options passed for testing.
143 // Returns one of the possible autoplay policy switches from the 144 // Returns one of the possible autoplay policy switches from the
144 // switches::autoplay namespace. 145 // switches::autoplay namespace.
145 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( 146 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy(
146 const base::CommandLine& command_line); 147 const base::CommandLine& command_line);
147 148
148 } // namespace media 149 } // namespace media
149 150
150 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ 151 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_
OLDNEW
« no previous file with comments | « components/viz/common/resources/resource_format_utils.cc ('k') | media/base/media_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698