0

[ios-blink] Enable CONFIG_VP9_HIGHBITDEPTH for iOS Blink

- Enabled CONFIG_VP9_HIGHBITDEPTH in third_party/libvpx/BUILD.gn by
  including is_ios in the relevant conditionals.
- Removed VP9 high bit depth test filters from
  testing/buildbot/filters/ios.content_browsertests.filter:
    - Default/MediaTest.VideoBearHighBitDepthVP9/0
    - Default/MediaTest.VideoBearHighBitDepthVP9/1
- Verified VP9 HDR playback using YouTube YTS certification tests[1]
  and all relevant tests are passing successfully.

[1] https://yts.devicecertification.youtube/2021/?tests=41-72&test_type=formatsupport-test#1745316763281

Bug: 1449877, 391914246
Change-Id: Idca4f52ca0b7edc39fb312176b60e896360abfe6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4790543
Reviewed-by: Ian Vollick <vollick@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1450049}
This commit is contained in:
Abhijeet Kandalkar
2025-04-22 10:40:04 -07:00
committed by Chromium LUCI CQ
parent 780273cd17
commit 145d9ceea1
3 changed files with 3 additions and 6 deletions
content/browser/media
testing/buildbot/filters
third_party/libvpx

@@ -164,7 +164,7 @@ IN_PROC_BROWSER_TEST_F(MediaCanPlayTypeTest, CodecSupportTest_Mpeg2Ts) {
IN_PROC_BROWSER_TEST_F(MediaCanPlayTypeTest, CodecSupportTest_NewVp9Variants) {
// Profile 2 and 3 support is currently disabled on Android prior to P and MIPS.
#if (defined(ARCH_CPU_ARM_FAMILY) && !BUILDFLAG(IS_WIN) && \
!BUILDFLAG(IS_MAC)) || \
!BUILDFLAG(IS_APPLE)) || \
defined(ARCH_CPU_MIPS_FAMILY)
#if BUILDFLAG(IS_ANDROID)
if (base::android::BuildInfo::GetInstance()->sdk_int() >=

@@ -54,8 +54,6 @@
-DataDecoderBrowserTest.DecodeImage
-DataDecoderBrowserTest.DecodeImageIsolated
-Default/MediaTest.VideoBear12DepthVP9/0
-Default/MediaTest.VideoBearHighBitDepthVP9/0
-Default/MediaTest.VideoBearHighBitDepthVP9/1
-DevToolsProtocolDeviceEmulationPrerenderTest.DeviceSize
-DevToolsProtocolDeviceEmulationTest.DeviceSize
-DohHttpsProtocolUpgradeBrowserTest.HttpsProtocolUpgrade
@@ -119,7 +117,6 @@
-WebRtcGetUserMediaBrowserTest.TestGetUserMediaAspectRatio4To3
# TODO(crbug.com/40276544): cannot create shared image.
-Default/MediaTest.LoadManyVideos/0
-Default/MediaTest.VideoBearMp4/1
-Default/MediaTest.VideoBearMp4Hevc10bit/1
-Default/MediaTest.VideoBearMp4Hevc10bit422/1

@@ -31,7 +31,7 @@ if (current_cpu == "x86") {
cpu_arch_full = "arm"
}
} else if (current_cpu == "arm64") {
if (is_win || is_chromeos || is_mac) {
if (is_win || is_chromeos || is_mac || is_ios) {
# This is necessary for CrOS and macOS as they reuse the Linux
# configuration, of which there are two (see the later definition of
# os_category).
@@ -560,7 +560,7 @@ static_library("libvpx") {
public_deps = [ ":libvpx_arm_headers" ]
}
} else if (current_cpu == "arm64") {
if (is_chromeos || is_win || is_mac) {
if (is_chromeos || is_win || is_mac || is_ios) {
sources = libvpx_srcs_arm64_highbd
public_deps = [ ":libvpx_arm64_highbd_headers" ]
} else {