daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/tests/checkasm/sdidec.c b/tests/checkasm/sdidec.c
  2. index 12e8adf6..82ee582b 100644
  3. --- a/tests/checkasm/sdidec.c
  4. +++ b/tests/checkasm/sdidec.c
  5. @@ -44,14 +44,14 @@ void checkasm_check_sdidec(void)
  6.      };
  7.  
  8.      int cpu_flags = av_get_cpu_flags();
  9. -
  10. +#ifdef HAVE_X86ASM
  11.      if (cpu_flags & AV_CPU_FLAG_SSSE3) {
  12.          s.uyvy = upipe_sdi_unpack_10_ssse3;
  13.      }
  14.      if (cpu_flags & AV_CPU_FLAG_AVX2) {
  15.          s.uyvy = upipe_sdi_unpack_10_avx2;
  16.      }
  17. -
  18. +#endif
  19.      if (check_func(s.uyvy, "sdi_to_uyvy")) {
  20.          uint8_t  src0[NUM_SAMPLES * 10 / 8];
  21.          uint8_t  src1[NUM_SAMPLES * 10 / 8];
RAW Paste Data
Top