Update media_switches.cc
This commit is contained in:
parent
90a24df531
commit
94d924bca5
1 changed files with 9 additions and 13 deletions
|
@ -559,14 +559,8 @@ const base::Feature kVaapiH264TemporalLayerHWEncoding{
|
|||
const base::Feature kVaapiVp8TemporalLayerHWEncoding{
|
||||
"VaapiVp8TemporalLayerEncoding", base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
// Enable VP9 k-SVC encoding with HW encoder for webrtc use case on ChromeOS.
|
||||
const base::Feature kVaapiVp9kSVCHWEncoding {
|
||||
"VaapiVp9kSVCHWEncoding",
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
base::FEATURE_ENABLED_BY_DEFAULT
|
||||
#else
|
||||
base::FEATURE_DISABLED_BY_DEFAULT
|
||||
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
};
|
||||
const base::Feature kVaapiVp9kSVCHWEncoding{"VaapiVp9kSVCHWEncoding",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
#endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS)
|
||||
|
||||
// Inform video blitter of video color space.
|
||||
|
@ -576,10 +570,12 @@ const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy",
|
|||
// Enable VP9 k-SVC decoding with HW decoder for webrtc use case.
|
||||
const base::Feature kVp9kSVCHWDecoding {
|
||||
"Vp9kSVCHWDecoding",
|
||||
#if defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
// TODO(crbug.com/1325698): Remove defined(ARCH_CPU_X86_FAMILY) once this is
|
||||
// enabled by default on ChromeOS AMD devices.
|
||||
#if defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS)
|
||||
base::FEATURE_ENABLED_BY_DEFAULT
|
||||
#else
|
||||
base::FEATURE_DISABLED_BY_DEFAULT
|
||||
base::FEATURE_ENABLED_BY_DEFAULT
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@ -659,7 +655,7 @@ const base::Feature kHardwareSecureDecryptionFallback{
|
|||
|
||||
const base::Feature kWakeLockOptimisationHiddenMuted{
|
||||
"kWakeLockOptimisationHiddenMuted", base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
|
||||
// If active, enable HiDPI mode that increases the display scale factor
|
||||
// while capturing a low-resolution tab.
|
||||
const base::Feature kWebContentsCaptureHiDpi{"WebContentsCaptureHiDPI",
|
||||
|
@ -869,7 +865,7 @@ const base::Feature MEDIA_EXPORT kWasapiRawAudioCapture{
|
|||
|
||||
// Enable VP9 kSVC decoding with HW decoder for webrtc use case on Windows.
|
||||
const base::Feature kD3D11Vp9kSVCHWDecoding{"D3D11Vp9kSVCHWDecoding",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
// The Media Foundation Rendering Strategy determines which presentation mode
|
||||
// Media Foundation Renderer should use for presenting clear content. This
|
||||
|
@ -911,7 +907,7 @@ const base::FeatureParam<MediaFoundationClearRenderingStrategy>
|
|||
|
||||
#if BUILDFLAG(IS_CHROMEOS)
|
||||
const base::Feature MEDIA_EXPORT kDeprecateLowUsageCodecs{
|
||||
"DeprecateLowUsageCodecs", base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
"DeprecateLowUsageCodecs", base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
#endif // BUILDFLAG(IS_CHROMEOS)
|
||||
|
||||
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
|
|
Loading…
Reference in a new issue