Commit ce3b82a3 authored by Miguel Casas's avatar Miguel Casas Committed by Commit Bot

media/gpu/vaapi: s/Blacklist/Block/

Remove use of blacklist in VaapiWrapper as per guidelines in
https://tools.ietf.org/id/draft-knodel-terminology-00.html#rfc.section.1.2

Change-Id: Iffee2570d8ed6c0340ea6624b774b5cb892e18f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2314994
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Commit-Queue: Jeffrey Kardatzke <jkardatzke@google.com>
Auto-Submit: Miguel Casas <mcasas@chromium.org>
Reviewed-by: default avatarJeffrey Kardatzke <jkardatzke@google.com>
Cr-Commit-Position: refs/heads/master@{#791080}
parent beb9a231
......@@ -285,7 +285,7 @@ bool IsVAProfileSupported(VAProfile va_profile) {
}) != kMediaToVAProfileMap.end();
}
bool IsBlackListedDriver(const std::string& va_vendor_string,
bool IsBlockedDriver(const std::string& va_vendor_string,
VaapiWrapper::CodecMode mode,
VAProfile va_profile) {
if (!IsModeEncoding(mode))
......@@ -304,7 +304,7 @@ bool IsBlackListedDriver(const std::string& va_vendor_string,
}
// TODO(b/158655609): Several Gen 9.5 GPU devices suffer from a GPU hang when
// VP8 encoding in some power saving states. Blacklist them temporarily.
// VP8 encoding in some power saving states. Block them temporarily.
if (IsGen95Gpu() && va_profile == VAProfileVP8Version0_3)
return true;
......@@ -772,7 +772,7 @@ void VASupportedProfiles::FillSupportedProfileInfos(base::Lock* va_lock,
std::vector<ProfileInfo> supported_profile_infos;
for (const auto& va_profile : va_profiles) {
if (IsBlackListedDriver(va_vendor_string, mode, va_profile))
if (IsBlockedDriver(va_vendor_string, mode, va_profile))
continue;
if ((mode != VaapiWrapper::kVideoProcess) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment