Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
d45ebd48
Commit
d45ebd48
authored
May 13, 2014
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: add support for neon intrinsics
parent
389380c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
Makefile
Makefile
+1
-0
configure
configure
+12
-0
No files found.
Makefile
View file @
d45ebd48
...
@@ -130,6 +130,7 @@ $(foreach V,$(SUBDIR_VARS),$(eval $(call RESET,$(V))))
...
@@ -130,6 +130,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
...
...
configure
View file @
d45ebd48
...
@@ -1397,6 +1397,10 @@ HEADERS_LIST="
...
@@ -1397,6 +1397,10 @@ HEADERS_LIST="
winsock2_h
winsock2_h
"
"
INTRINSICS_LIST
=
"
intrinsics_neon
"
MATH_FUNCS
=
"
MATH_FUNCS
=
"
atanf
atanf
atan2f
atan2f
...
@@ -1512,6 +1516,7 @@ HAVE_LIST="
...
@@ -1512,6 +1516,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
...
@@ -1651,6 +1656,7 @@ armv6_deps="arm"
...
@@ -1651,6 +1656,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"
...
@@ -2196,6 +2202,7 @@ nogas=":"
...
@@ -2196,6 +2202,7 @@ nogas=":"
# machine
# machine
arch_default
=
$(
uname
-m
)
arch_default
=
$(
uname
-m
)
cpu
=
"generic"
cpu
=
"generic"
intrinsics
=
"none"
# OS
# OS
target_os_default
=
$(
tolower
$(
uname
-s
))
target_os_default
=
$(
tolower
$(
uname
-s
))
...
@@ -3928,6 +3935,8 @@ EOF
...
@@ -3928,6 +3935,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
...
@@ -4423,6 +4432,8 @@ enabled_all dxva2 CoTaskMemFree &&
...
@@ -4423,6 +4432,8 @@ enabled_all dxva2 CoTaskMemFree &&
!
enabled_any memalign posix_memalign aligned_malloc
&&
!
enabled_any memalign posix_memalign aligned_malloc
&&
enabled_any
$need_memalign
&&
enable
memalign_hack
enabled_any
$need_memalign
&&
enable
memalign_hack
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
"
&&
...
@@ -4555,6 +4566,7 @@ MANDIR=\$(DESTDIR)$mandir
...
@@ -4555,6 +4566,7 @@ MANDIR=\$(DESTDIR)$mandir
SRC_PATH=
$source_path
SRC_PATH=
$source_path
CC_IDENT=
$cc_ident
CC_IDENT=
$cc_ident
ARCH=
$arch
ARCH=
$arch
INTRINSICS=
$intrinsics
CC=
$cc
CC=
$cc
AS=
$as
AS=
$as
LD=
$ld
LD=
$ld
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment