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
daaa6375
Commit
daaa6375
authored
Jun 29, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: add libdca
parent
9c0b836a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
0 deletions
+47
-0
contrib/src/dca/SHA512SUMS
contrib/src/dca/SHA512SUMS
+1
-0
contrib/src/dca/libdca-llvm-gcc.patch
contrib/src/dca/libdca-llvm-gcc.patch
+22
-0
contrib/src/dca/rules.mak
contrib/src/dca/rules.mak
+24
-0
No files found.
contrib/src/dca/SHA512SUMS
0 → 100644
View file @
daaa6375
d9f0ed34efeb3f27af8424fcb3e6df56744c6735854a65b5709c02b42b4513b9c4618dcc19eb44293afa051bd95616651bda5fc3b49dfabe975d0babfb1bc287 libdca-0.0.5.tar.bz2
contrib/src/dca/libdca-llvm-gcc.patch
0 → 100644
View file @
daaa6375
Index: libdca/parse.c
===================================================================
--- libdca/parse.c (revision 90)
+++ libdca/parse.c (working copy)
@@ -1193,11 +1193,14 @@
for (k=0;k<16;k++)
{
B[k] = 0.0;
- for (i=0;i<16;i++)
+
+ B[k]+=(raXin[0])*state->cos_mod[j++];
+
+ for (i=1;i<16;i++)
{
- if(i>0) B[k]+=(raXin[2*i]+raXin[2*i-1])*state->cos_mod[j++];
- else B[k]+=(raXin[2*i])*state->cos_mod[j++];
+ B[k]+=(raXin[2*i]+raXin[2*i-1])*state->cos_mod[j++];
}
+
SUM[k]=A[k]+B[k];
DIFF[k]=A[k]-B[k];
}
contrib/src/dca/rules.mak
0 → 100644
View file @
daaa6375
# libdca
DCA_VERSION
:=
0.0.5
DCA_URL
:=
$(VIDEOLAN)
/libdca/
$(DCA_VERSION)
/libdca-
$(DCA_VERSION)
.tar.bz2
ifdef
HAVE_FPU
PKGS
+=
dca
endif
$(TARBALLS)/libdca-$(DCA_VERSION).tar.bz2
:
$(
call
download,
$(DCA_URL)
)
.sum-dca
:
libdca-$(DCA_VERSION).tar.bz2
libdca
:
libdca-$(DCA_VERSION).tar.bz2 .sum-dca
$(UNPACK)
#
(
cd
$@
-
$(DCA_VERSION)
&&
patch
-p1
)
<
$(SRC)
/dca/libdca-llvm-gcc.patch
mv
$@
-
$(DCA_VERSION)
$@
touch
$@
.dca
:
libdca
cd
$<
&&
$(HOSTVARS)
./configure
$(HOSTCONF)
cd
$<
&&
$(MAKE)
install
touch
$@
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