]> git.pld-linux.org Git - packages/vmaf.git/blob - vmaf-x86-nosimd.patch
- updated to 1.5.3
[packages/vmaf.git] / vmaf-x86-nosimd.patch
1 --- vmaf-1.5.3/libvmaf/src/feature/adm_tools.c.orig     2020-08-25 01:35:41.000000000 +0200
2 +++ vmaf-1.5.3/libvmaf/src/feature/adm_tools.c  2021-01-12 18:58:18.525832313 +0100
3 @@ -35,8 +35,7 @@
4  #define MIN(x, y) (((x) < (y)) ? (x) : (y))
5  #define MAX(x, y) (((x) > (y)) ? (x) : (y))
6  
7 -#if ARCH_X86
8 -#ifdef ADM_OPT_RECIP_DIVISION
9 +#if ARCH_X86 && defined(ADM_OPT_RECIP_DIVISION)
10  
11  #include <emmintrin.h>
12  
13 @@ -47,7 +46,6 @@
14  }
15  
16  #define DIVS(n, d) ((n) * rcp_s(d))
17 -#endif //ADM_OPT_RECIP_DIVISION
18  #else
19  #define DIVS(n, d) ((n) / (d))
20  #endif //ARCH_X86
This page took 0.392398 seconds and 3 git commands to generate.