[vlc-commits] [Git][videolan/vlc][master] contrib/mpg123: select the NEON64 dct36 on aarch64
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Mon Oct 19 18:50:44 UTC 2026
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
942cdaea by Felix Paul Kühne at 2026-10-19T20:14:48+02:00
contrib/mpg123: select the NEON64 dct36 on aarch64
- - - - -
2 changed files:
- + contrib/src/mpg123/0003-libmpg123-select-the-NEON64-dct36-on-aarch64.patch
- contrib/src/mpg123/rules.mak
Changes:
=====================================
contrib/src/mpg123/0003-libmpg123-select-the-NEON64-dct36-on-aarch64.patch
=====================================
@@ -0,0 +1,25 @@
+From 688c9a6c683d3baad796c73024c200db0e99662c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne at videolan.org>
+Date: Sun, 18 Oct 2026 10:03:40 +0200
+Subject: [PATCH] libmpg123: select the NEON64 dct36 on aarch64
+
+INT123_dct36_choose() matched the neon decoder type under OPT_NEON64,
+but the aarch64 decoder type is neon64, so OPT_MULTI builds always fell
+back to the generic INT123_dct36().
+---
+ src/libmpg123/layer3.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/libmpg123/layer3.c b/src/libmpg123/layer3.c
+index e8059c4..eb93059 100644
+--- a/src/libmpg123/layer3.c
++++ b/src/libmpg123/layer3.c
+@@ -1543,7 +1543,7 @@ void INT123_dct36_choose(mpg123_handle *fr)
+ break;
+ #endif
+ #ifdef OPT_NEON64
+- case neon:
++ case neon64:
+ fr->cpu_opts.the_dct36 = INT123_dct36_neon64_wrap;
+ break;
+ #endif
=====================================
contrib/src/mpg123/rules.mak
=====================================
@@ -21,6 +21,8 @@ mpg123: mpg123-$(MPG123_VERSION).tar.bz2 .sum-mpg123
# fix llvm-mingw ARM/AArch64 build
$(APPLY) $(SRC)/mpg123/0001-ports-cmake-Fix-detecting-asm-align-directives-in-cm.patch
$(APPLY) $(SRC)/mpg123/0002-ports-cmake-Fix-building-ARM-assembly-for-Windows-fo.patch
+ # use the NEON64 dct36 on aarch64
+ $(APPLY) $(SRC)/mpg123/0003-libmpg123-select-the-NEON64-dct36-on-aarch64.patch
$(MOVE)
.mpg123: mpg123 toolchain.cmake
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/942cdaea17fc2daa9cb2b8098a3c9b8560aef1fb
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/942cdaea17fc2daa9cb2b8098a3c9b8560aef1fb
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list