Files
sousa-gecko/media/libyuv
Timothy Nikkel aabf0af5ea Bug 2048543. Fix linux gcc aarch64 libyuv build. r=chunmin
include/libyuv/row.h defines HAS_RGBTOUVMATRIXROW_NEON twice: once under
the `#if !defined(__GNUC__) || defined(__clang__)` guard that disables
the NEON matrix-row path on GCC, and again unconditionally in the
AArch64 block (a copy/paste of HAS_ARGBTOUVMATRIXROW_NEON_I8MM with the
suffix dropped). On GCC the stray define re-enables the call sites while
RGBToUVMatrixRow_NEON's definition stays guarded off, giving the
undefined reference; clang is fine. There is no _I8MM variant of the
function so the line is just removed.

Submitted upstream as
https://chromium-review.googlesource.com/c/libyuv/libyuv/+/7960369 ; the
local vendoring patch 05_fix_gcc_neon_rgbtouvmatrixrow.patch can be
dropped once it lands and we re-vendor.

Differential Revision: https://phabricator.services.mozilla.com/D307495
2026-06-18 23:23:35 +00:00
..
…
…
…