mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-06-15 00:16:08 +08:00
Refactored Matrix functions (ARGBToI420Matrix, ARGBToI422Matrix, ARGBToI444Matrix and ARGBToNV12Matrix) and updated their CPU dispatch logic. ARGBToNV12 clang 68.05% ARGBToUVMatrixRow_AVX512BW 21.04% ARGBToYMatrixRow_AVX512BW 2.88% MergeUVRow_AVX512BW ARGBToNV12 rowwin 61.26% ARGBToUVMatrixRow_AVX2 25.43% ARGBToYMatrixRow_AVX2 3.09% MergeUVRow_AVX2 ARM on One Plus 15 42.98% libyuv::ARGBToUVMatrixRow_SVE_SC() 38.95% ARGBToYMatrixRow_NEON_DotProd 2.96% MergeUVRow_NEON 0.18% ARGBToUVMatrixRow_SVE2 ARGBToI420 72.28% ARGBToUVMatrixRow_AVX512BW 19.04% ARGBToYMatrixRow_AVX512BW ARGBToI422 77.46% ARGBToUVMatrixRow_AVX512BW 15.55% ARGBToYMatrixRow_AVX512BW ARGBToI444 67.03% ARGBToYMatrixRow_AVX512BW 24.80% ARGBToUV444MatrixRow_AVX512BW Bug: libyuv:42280902 Change-Id: I463ebcdb70cb669a1ce1a81102b8fd2fb3943bd3 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/7819051 Reviewed-by: richard winterton <rrwinterton@gmail.com> Commit-Queue: Frank Barchard <fbarchard@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.