mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-07-30 08:16:22 +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> |
||
|---|---|---|
| build_overrides | ||
| docs | ||
| include | ||
| infra/config | ||
| riscv_script | ||
| source | ||
| tools_libyuv | ||
| unit_test | ||
| util | ||
| .clang-format | ||
| .gitignore | ||
| .gn | ||
| .vpython3 | ||
| Android.bp | ||
| Android.mk | ||
| AUTHORS | ||
| BUILD.bazel | ||
| BUILD.gn | ||
| CM_linux_packages.cmake | ||
| CMakeLists.txt | ||
| codereview.settings | ||
| DEPS | ||
| DIR_METADATA | ||
| download_vs_toolchain.py | ||
| GEMINI.md | ||
| libyuv.bzl | ||
| libyuv.gni | ||
| libyuv.gyp | ||
| libyuv.gypi | ||
| LICENSE | ||
| linux.mk | ||
| OWNERS | ||
| PATENTS | ||
| PRESUBMIT.py | ||
| public.mk | ||
| pylintrc | ||
| README.chromium | ||
| README.md | ||
| winarm.mk | ||
| WORKSPACE.bazel | ||
libyuv is an open source project that includes YUV scaling and conversion functionality.
- Scale YUV to prepare content for compression, with point, bilinear or box filter.
- Convert to YUV from webcam formats for compression.
- Convert to RGB formats for rendering/effects.
- Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode.
- Optimized for SSSE3/AVX2 on x86/x64.
- Optimized for Neon/SVE2/SME on Arm.
- Optimized for MSA on Mips.
- Optimized for RVV on RISC-V.
Development
See Getting started for instructions on how to get started developing.
You can also browse the docs directory for more documentation.