mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
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
This commit is contained in:
parent
5738eeb7fd
commit
3db813ec76
@ -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];
|
Loading…
x
Reference in New Issue
Block a user