[FFmpeg-devel] [PATCH v2 0/3] Add WASM simd support
Zhao Zhili
quinkblack at foxmail.com
Wed Nov 20 14:44:06 EET 2024
From: Zhao Zhili <zhilizhao at tencent.com>
v2:
1. Remove unused include
2. Remove words on intrinsics vs handwritten assembly in wasm context.
Zhao Zhili (3):
configure: Add wasm as a fake arch
tests/checkasm: Add partial support for wasm
avcodec/hevc: Add wasm simd128 idct
Makefile | 3 +-
configure | 16 +
ffbuild/arch.mak | 2 +
libavcodec/Makefile | 1 +
libavcodec/hevc/dsp.c | 2 +
libavcodec/hevc/dsp.h | 1 +
libavcodec/wasm/hevc/Makefile | 3 +
libavcodec/wasm/hevc/dsp_init.c | 45 ++
libavcodec/wasm/hevc/idct.c | 869 ++++++++++++++++++++++++++++++++
libavcodec/wasm/hevc/idct.h | 36 ++
libavutil/cpu.c | 6 +
libavutil/cpu.h | 3 +
libavutil/cpu_internal.h | 2 +
libavutil/tests/cpu.c | 2 +
libavutil/wasm/Makefile | 1 +
libavutil/wasm/cpu.c | 42 ++
tests/checkasm/checkasm.c | 8 +
tests/checkasm/checkasm.h | 15 +-
18 files changed, 1054 insertions(+), 3 deletions(-)
create mode 100644 libavcodec/wasm/hevc/Makefile
create mode 100644 libavcodec/wasm/hevc/dsp_init.c
create mode 100644 libavcodec/wasm/hevc/idct.c
create mode 100644 libavcodec/wasm/hevc/idct.h
create mode 100644 libavutil/wasm/Makefile
create mode 100644 libavutil/wasm/cpu.c
--
2.46.0
More information about the ffmpeg-devel
mailing list