Add HEVC and VP9 kSVC hardware decoding for windows.

This commit is contained in:
Alexander David Frick 2022-02-11 14:22:03 -06:00 committed by GitHub
parent 793c7ea096
commit 02195c7a3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -788,9 +788,13 @@ const base::Feature kMediaFoundationClearPlayback{
const base::Feature MEDIA_EXPORT kWasapiRawAudioCapture{
"WASAPIRawAudioCapture", base::FEATURE_ENABLED_BY_DEFAULT};
// Enables HEVC hardware accelerated decoding.
const base::Feature kD3D11HEVCDecoding{"D3D11HEVCDecoding",
base::FEATURE_ENABLED_BY_DEFAULT};
// Enable VP9 kSVC decoding with HW decoder for webrtc use case on Windows.
const base::Feature kD3D11Vp9kSVCHWDecoding{"D3D11Vp9kSVCHWDecoding",
base::FEATURE_DISABLED_BY_DEFAULT};
base::FEATURE_ENABLED_BY_DEFAULT};
#endif // BUILDFLAG(IS_WIN)