mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-10-28 18:07:12 +08:00
- Add avx512bw, neon 32 bit and RVV versions - Adapt SSE2 to psrlw instead of pmulhuw CPU Before After Improvement --------------------------------------------------------------- Granite Rapids (AVX10) 77 ms 75 ms +2.6% (1.03x) Emerald Rapids (AVX512) 75 ms 67 ms +10.7% (1.12x) Sapphire Rapids (AVX512) 91 ms 85 ms +6.6% (1.07x) AMD Venice Zen 6 (AVX512) 30 ms 30 ms 0.0% (1.00x) AMD Turin Zen 5 (AVX512) 32 ms 32 ms 0.0% (1.00x) AMD Genoa Zen 4 (AVX512) 35 ms 36 ms -2.9% (0.97x) Skylake-X (AVX512) 119 ms 119 ms 0.0% (1.00x) Ice Lake (AVX512) 93 ms 104 ms -11.8% (0.89x) AMD Milan Zen 3 (AVX2) 43 ms 44 ms -2.3% (0.98x) Haswell (AVX2) 129 ms 138 ms -7.0% (0.93x) NVIDIA Grace (SVE2) 42 ms 43 ms -2.4% (0.98x) Neoverse-N1 (NEON) 87 ms 87 ms 0.0% (1.00x) --------------------------------------------------------------- Bug: None Change-Id: Ia8f310a70c8b1229927fcdf117fe22e131d70ea9 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/8330912 Commit-Queue: Frank Barchard <fbarchard@google.com> Reviewed-by: richard winterton <rrwinterton@gmail.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.