You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Merge commit 'd45ebd4876ab8fc07736a644de07e1b1d11a8e5d'
* commit 'd45ebd4876ab8fc07736a644de07e1b1d11a8e5d': configure: add support for neon intrinsics Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
1
Makefile
1
Makefile
@@ -92,6 +92,7 @@ $(foreach V,$(SUBDIR_VARS),$(eval $(call RESET,$(V))))
|
|||||||
SUBDIR := $(1)/
|
SUBDIR := $(1)/
|
||||||
include $(SRC_PATH)/$(1)/Makefile
|
include $(SRC_PATH)/$(1)/Makefile
|
||||||
-include $(SRC_PATH)/$(1)/$(ARCH)/Makefile
|
-include $(SRC_PATH)/$(1)/$(ARCH)/Makefile
|
||||||
|
-include $(SRC_PATH)/$(1)/$(INTRINSICS)/Makefile
|
||||||
include $(SRC_PATH)/library.mak
|
include $(SRC_PATH)/library.mak
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
12
configure
vendored
12
configure
vendored
@@ -1647,6 +1647,10 @@ HEADERS_LIST="
|
|||||||
winsock2_h
|
winsock2_h
|
||||||
"
|
"
|
||||||
|
|
||||||
|
INTRINSICS_LIST="
|
||||||
|
intrinsics_neon
|
||||||
|
"
|
||||||
|
|
||||||
MATH_FUNCS="
|
MATH_FUNCS="
|
||||||
atanf
|
atanf
|
||||||
atan2f
|
atan2f
|
||||||
@@ -1778,6 +1782,7 @@ HAVE_LIST="
|
|||||||
$HAVE_LIST_CMDLINE
|
$HAVE_LIST_CMDLINE
|
||||||
$HAVE_LIST_PUB
|
$HAVE_LIST_PUB
|
||||||
$HEADERS_LIST
|
$HEADERS_LIST
|
||||||
|
$INTRINSICS_LIST
|
||||||
$MATH_FUNCS
|
$MATH_FUNCS
|
||||||
$SYSTEM_FUNCS
|
$SYSTEM_FUNCS
|
||||||
$THREADS_LIST
|
$THREADS_LIST
|
||||||
@@ -1941,6 +1946,7 @@ armv6_deps="arm"
|
|||||||
armv6t2_deps="arm"
|
armv6t2_deps="arm"
|
||||||
armv8_deps="aarch64"
|
armv8_deps="aarch64"
|
||||||
neon_deps_any="aarch64 arm"
|
neon_deps_any="aarch64 arm"
|
||||||
|
intrinsics_neon_deps="neon"
|
||||||
vfp_deps_any="aarch64 arm"
|
vfp_deps_any="aarch64 arm"
|
||||||
vfpv3_deps="vfp"
|
vfpv3_deps="vfp"
|
||||||
|
|
||||||
@@ -2662,6 +2668,7 @@ else
|
|||||||
arch_default=$(uname -m)
|
arch_default=$(uname -m)
|
||||||
fi
|
fi
|
||||||
cpu="generic"
|
cpu="generic"
|
||||||
|
intrinsics="none"
|
||||||
|
|
||||||
# configurable options
|
# configurable options
|
||||||
enable $PROGRAM_LIST
|
enable $PROGRAM_LIST
|
||||||
@@ -4536,6 +4543,8 @@ EOF
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
check_code cc arm_neon.h "int64x2_t test" && enable intrinsics_neon
|
||||||
|
|
||||||
check_ldflags -Wl,--as-needed
|
check_ldflags -Wl,--as-needed
|
||||||
|
|
||||||
if check_func dlopen; then
|
if check_func dlopen; then
|
||||||
@@ -5211,6 +5220,8 @@ merge_deps() {
|
|||||||
|
|
||||||
merge_deps libavfilter $FILTER_LIST
|
merge_deps libavfilter $FILTER_LIST
|
||||||
|
|
||||||
|
map 'enabled $v && intrinsics=${v#intrinsics_}' $INTRINSICS_LIST
|
||||||
|
|
||||||
for thread in $THREADS_LIST; do
|
for thread in $THREADS_LIST; do
|
||||||
if enabled $thread; then
|
if enabled $thread; then
|
||||||
test -n "$thread_type" &&
|
test -n "$thread_type" &&
|
||||||
@@ -5391,6 +5402,7 @@ SRC_PATH:=\$(SRC_PATH:.%=..%)
|
|||||||
endif
|
endif
|
||||||
CC_IDENT=$cc_ident
|
CC_IDENT=$cc_ident
|
||||||
ARCH=$arch
|
ARCH=$arch
|
||||||
|
INTRINSICS=$intrinsics
|
||||||
CC=$cc
|
CC=$cc
|
||||||
CXX=$cxx
|
CXX=$cxx
|
||||||
AS=$as
|
AS=$as
|
||||||
|
Reference in New Issue
Block a user