summaryrefslogtreecommitdiffstats
path: root/libvpx/build/make/rtcd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libvpx/build/make/rtcd.sh')
-rwxr-xr-xlibvpx/build/make/rtcd.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/libvpx/build/make/rtcd.sh b/libvpx/build/make/rtcd.sh
index 6cc3684..2967b5a 100755
--- a/libvpx/build/make/rtcd.sh
+++ b/libvpx/build/make/rtcd.sh
@@ -290,9 +290,15 @@ static void setup_rtcd_internal(void)
{
$(set_function_pointers c $ALL_ARCHS)
#if HAVE_DSPR2
+#if CONFIG_VP8
void dsputil_static_init();
dsputil_static_init();
#endif
+#if CONFIG_VP9
+void vp9_dsputil_static_init();
+vp9_dsputil_static_init();
+#endif
+#endif
}
#endif
$(common_bottom)
@@ -321,11 +327,11 @@ EOF
require c
case $arch in
x86)
- ALL_ARCHS=$(filter mmx sse sse2 sse3 ssse3 sse4_1)
+ ALL_ARCHS=$(filter mmx sse sse2 sse3 ssse3 sse4_1 avx avx2)
x86
;;
x86_64)
- ALL_ARCHS=$(filter mmx sse sse2 sse3 ssse3 sse4_1)
+ ALL_ARCHS=$(filter mmx sse sse2 sse3 ssse3 sse4_1 avx avx2)
REQUIRES=${REQUIRES:-mmx sse sse2}
require $(filter $REQUIRES)
x86