PR #21657 opened by brad URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21657 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21657.patch
>From a069379ff2c3f77b423bc3644cfe58a6b13c3a0f Mon Sep 17 00:00:00 2001 From: Brad Smith <[email protected]> Date: Thu, 5 Feb 2026 22:32:36 -0500 Subject: [PATCH] avutil/cpu: add CPU feature detection for AArch64 CRC32 on OpenBSD --- libavutil/aarch64/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/aarch64/cpu.c b/libavutil/aarch64/cpu.c index 6733b62123..ab297595d6 100644 --- a/libavutil/aarch64/cpu.c +++ b/libavutil/aarch64/cpu.c @@ -103,6 +103,8 @@ static int detect_flags(void) if (sysctl(mib, 2, &isar0, &len, NULL, 0) != -1) { if (ID_AA64ISAR0_DP(isar0) >= ID_AA64ISAR0_DP_IMPL) flags |= AV_CPU_FLAG_DOTPROD; + if (ID_AA64ISAR0_CRC32(isar0) >= ID_AA64ISAR0_CRC32_BASE) + flags |= AV_CPU_FLAG_ARM_CRC; } mib[0] = CTL_MACHDEP; -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
