Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
27a7fa8b
Commit
27a7fa8b
authored
Sep 01, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: build faad with fixed point on ARM
It would seem to be significantly faster that way.
parent
0199f9c4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+1
-0
extras/contrib/src/Patches/faad-arm-fixed.patch
extras/contrib/src/Patches/faad-arm-fixed.patch
+15
-0
No files found.
extras/contrib/src/Makefile
View file @
27a7fa8b
...
@@ -875,6 +875,7 @@ faad2-$(FAAD2_VERSION).tar.gz:
...
@@ -875,6 +875,7 @@ faad2-$(FAAD2_VERSION).tar.gz:
faad2
:
faad2-$(FAAD2_VERSION).tar.gz
faad2
:
faad2-$(FAAD2_VERSION).tar.gz
$(EXTRACT_GZ)
$(EXTRACT_GZ)
(
cd
$@
;
echo
|
$(HOSTCC)
-iquote
.
-E
-
||
sed
-i
's/-iquote /-I/'
libfaad/Makefile.am
;
sh ./bootstrap
)
(
cd
$@
;
echo
|
$(HOSTCC)
-iquote
.
-E
-
||
sed
-i
's/-iquote /-I/'
libfaad/Makefile.am
;
sh ./bootstrap
)
patch
-p0
< Patches/faad-arm-fixed.patch
.faad
:
faad2
.faad
:
faad2
(
cd
$<
&&
$(HOSTCC)
./configure
$(HOSTCONF)
--disable-shared
--prefix
=
$(PREFIX)
CFLAGS
=
"-O3"
&&
sed
-i
.orig
"s/shrext_cmds/shrext/g"
libtool
&&
make
-C
libfaad
&&
make
-C
libfaad
install
)
(
cd
$<
&&
$(HOSTCC)
./configure
$(HOSTCONF)
--disable-shared
--prefix
=
$(PREFIX)
CFLAGS
=
"-O3"
&&
sed
-i
.orig
"s/shrext_cmds/shrext/g"
libtool
&&
make
-C
libfaad
&&
make
-C
libfaad
install
)
...
...
extras/contrib/src/Patches/faad-arm-fixed.patch
0 → 100644
View file @
27a7fa8b
diff -ru faad2-2.7/libfaad/common.h faad2/libfaad/common.h
--- faad2-2.7/libfaad/common.h 2009-02-05 02:51:03.000000000 +0200
+++ faad2/libfaad/common.h 2009-09-01 20:41:20.000000000 +0300
@@ -79,6 +79,10 @@
#define FIXED_POINT
#endif
+#ifdef __arm__
+#define FIXED_POINT
+#endif
+
#define ERROR_RESILIENCE
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