diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2023-11-13 02:48:46 +0000 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-11-18 20:20:39 +0000 |
commit | 3db813ec767819d1b3936d8bac1d08b3549f404d (patch) | |
tree | a311bd29639434748ba03b890f508826e699c688 /multimedia | |
parent | 5738eeb7fd9a4cf21aada1d43291e42865e220c9 (diff) | |
download | ports-3db813ec767819d1b3936d8bac1d08b3549f404d.tar.gz ports-3db813ec767819d1b3936d8bac1d08b3549f404d.zip |
multimedia/vvenc: fix build on armv7
No SIMD on armv7, but there's one place in the code where they forgot
to check if we want SIMD or not. Fix the oversight to make the port
work.
Approved by: portmgr (build fix blanket)
MFH: 2023Q4
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vvenc/files/patch-source_Lib_EncoderLib_EncAdaptiveLoopFilter.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/vvenc/files/patch-source_Lib_EncoderLib_EncAdaptiveLoopFilter.cpp b/multimedia/vvenc/files/patch-source_Lib_EncoderLib_EncAdaptiveLoopFilter.cpp new file mode 100644 index 000000000000..38b24c951fc5 --- /dev/null +++ b/multimedia/vvenc/files/patch-source_Lib_EncoderLib_EncAdaptiveLoopFilter.cpp @@ -0,0 +1,12 @@ +--- source/Lib/EncoderLib/EncAdaptiveLoopFilter.cpp.orig 2023-11-13 02:43:14 UTC ++++ source/Lib/EncoderLib/EncAdaptiveLoopFilter.cpp +@@ -6290,7 +6290,9 @@ void EncAdaptiveLoopFilter::getBlkStatsCcAlf(AlfCovari + + int effStride = recStride << getComponentScaleY(compID, m_chromaFormat); + ++#if defined( TARGET_SIMD_X86 ) && ENABLE_SIMD_OPT_ALF + const bool useSimd = read_x86_extension_flags() > SCALAR; ++#endif + + Pel ELocal[MAX_NUM_CC_ALF_CHROMA_COEFF][16]; + Pel yLocal[4][4]; |