Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a1f22537
Commit
a1f22537
authored
Jun 30, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: use fixed-point for faad2 iff !HAVE_FPU
parent
ec32355f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
contrib/src/faad2/faad2-fixed.patch
contrib/src/faad2/faad2-fixed.patch
+1
-3
contrib/src/faad2/rules.mak
contrib/src/faad2/rules.mak
+5
-2
No files found.
contrib/src/faad2/
arm
-fixed.patch
→
contrib/src/faad2/
faad2
-fixed.patch
View file @
a1f22537
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
@@
@@ -79,6 +79,
8
@@
#define FIXED_POINT
#endif
+#ifdef __arm__
+#define FIXED_POINT
+#endif
+
#define ERROR_RESILIENCE
...
...
contrib/src/faad2/rules.mak
View file @
a1f22537
...
...
@@ -12,12 +12,15 @@ $(TARBALLS)/faad2-$(FAAD2_VERSION).tar.gz:
faad2
:
faad2-$(FAAD2_VERSION).tar.gz .sum-faad2
$(UNPACK)
(
cd
$@
-
$(FAAD2_VERSION)
;
echo
|
$(CC)
-iquote
.
-E
-
||
sed
-i
's/-iquote /-I/'
libfaad/Makefile.am
;
autoreconf
-ivf
)
patch
-p0
<
$(SRC)
/faad2/arm-fixed.patch
ifndef
HAVE_FPU
(
cd
$@
-
$(FAAD2_VERSION)
&&
patch
-p1
)
<
$(SRC)
/faad2/faad2-fixed.patch
endif
(
cd
$@
-
$(FAAD2_VERSION)
&&
$(CC)
-iquote
.
-E
- </dev/null
||
sed
-i
's/-iquote /-I/'
libfaad/Makefile.am
)
mv
$@
-
$(FAAD2_VERSION)
$@
touch
$@
.faad2
:
faad2
cd
$<
&&
autoreconf
-fiv
cd
$<
&&
$(HOSTVARS)
./configure
$(HOSTCONF)
CFLAGS
=
"
$(NOTHUMB)
"
cd
$<
&&
sed
-i
.orig
"s/shrext_cmds/shrext/g"
libtool
cd
$<
/libfaad
&&
$(MAKE)
install
...
...
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