mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 23:08:35 +00:00
HammingDistance_AVX512VNNI clobbers k1 but lacks the LIBYUV_TARGET_AVX512VNNI attribute that its siblings use, so GCC on x86_64 fails with "the register 'k1' cannot be clobbered in 'asm' for the current target". ARGBAlphaBlendRow_SVE_SC uses "mov z25.s, #0x01010101", which the GNU assembler rejects as an invalid replicated MOV immediate. Use the equivalent "mov z25.b, #1", which sets the same value and is accepted by both GNU as and LLVM.
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.