]> granicus.if.org Git - libvpx/commitdiff
fwd_dct32x32 avx2: resolve missing declarations
authorJohann <johannkoenig@google.com>
Fri, 21 Dec 2018 20:44:49 +0000 (12:44 -0800)
committerJohann <johannkoenig@google.com>
Fri, 21 Dec 2018 20:44:49 +0000 (12:44 -0800)
BUG=webm:1584

Change-Id: Iaba854952534a95e710a985acfcab46e093872c2

vpx_dsp/x86/fwd_txfm_avx2.c

index 21f11f0c3e5ff05e27ac8d48c74cf1bae6ef2c7f..a2ed420e37ed378b2c956cfb3da81842b185c15e 100644 (file)
@@ -9,7 +9,9 @@
  */
 
 #include "./vpx_config.h"
+#include "./vpx_dsp_rtcd.h"
 
+#if !CONFIG_VP9_HIGHBITDEPTH
 #define FDCT32x32_2D_AVX2 vpx_fdct32x32_rd_avx2
 #define FDCT32x32_HIGH_PRECISION 0
 #include "vpx_dsp/x86/fwd_dct32x32_impl_avx2.h"
@@ -21,3 +23,4 @@
 #include "vpx_dsp/x86/fwd_dct32x32_impl_avx2.h"  // NOLINT
 #undef FDCT32x32_2D_AVX2
 #undef FDCT32x32_HIGH_PRECISION
+#endif  // !CONFIG_VP9_HIGHBITDEPTH