mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-07-30 16:26:19 +08:00
HAS_RGBTOUVMATRIXROW_NEON is defined under #if !defined(__GNUC__) || defined(__clang__) to disable the NEON matrix-row path on plain GCC, where the inline asm in ARGBToUVMatrixRow_NEON (which RGBToUVMatrixRow_NEON depends on) is not available. However it is also defined unconditionally in the AArch64 block, among the _I8MM defines, and is almost certainly a copy/paste of HAS_ARGBTOUVMATRIXROW_NEON_I8MM with the suffix dropped. On GCC/aarch64 this re-enables the call sites in convert.cc and row_any.cc, while the definition of RGBToUVMatrixRow_NEON in row_common.cc (guarded by HAS_ARGBTOUVMATRIXROW_NEON && HAS_RGB24TOARGBROW_NEON) stays disabled, producing a link failure: convert.cc: undefined reference to 'RGBToUVMatrixRow_NEON' row_any.cc: undefined reference to 'RGBToUVMatrixRow_NEON' There is no RGBToUVMatrixRow_NEON_I8MM function, so the line is simply removed rather than renamed. Bug: None Change-Id: Ia13894f6477507e4ebfefc2e1a9f087c53ee467a Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/7960369 Commit-Queue: Wan-Teh Chang <wtc@google.com> Reviewed-by: Frank Barchard <fbarchard@google.com> Reviewed-by: Mirko Bonadei <mbonadei@chromium.org> Reviewed-by: Wan-Teh Chang <wtc@google.com> |
||
|---|---|---|
| .. | ||
| libyuv | ||
| libyuv.h | ||