Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Mark Harris
Opus
Commits
c232f65b
Commit
c232f65b
authored
Oct 08, 2015
by
Rhishikesh Agashe
Committed by
Jean-Marc Valin
Oct 08, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds "arch" argument to MIPS MDCT
Signed-off-by:
Jean-Marc Valin
<
jmvalin@jmvalin.ca
>
parent
db7a0d66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
celt/mips/mdct_mipsr1.h
celt/mips/mdct_mipsr1.h
+7
-2
No files found.
celt/mips/mdct_mipsr1.h
View file @
c232f65b
...
...
@@ -58,7 +58,7 @@
/* Forward MDCT trashes the input array */
#define OVERRIDE_clt_mdct_forward
void
clt_mdct_forward
(
const
mdct_lookup
*
l
,
kiss_fft_scalar
*
in
,
kiss_fft_scalar
*
OPUS_RESTRICT
out
,
const
opus_val16
*
window
,
int
overlap
,
int
shift
,
int
stride
)
const
opus_val16
*
window
,
int
overlap
,
int
shift
,
int
stride
,
int
arch
)
{
int
i
;
int
N
,
N2
,
N4
;
...
...
@@ -72,6 +72,9 @@ void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar
MULT16_32_Q15() on ARM. */
int
scale_shift
=
st
->
scale_shift
-
1
;
#endif
(
void
)
arch
;
SAVE_STACK
;
scale
=
st
->
scale
;
...
...
@@ -181,12 +184,14 @@ void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar
#define OVERRIDE_clt_mdct_backward
void
clt_mdct_backward
(
const
mdct_lookup
*
l
,
kiss_fft_scalar
*
in
,
kiss_fft_scalar
*
OPUS_RESTRICT
out
,
const
opus_val16
*
OPUS_RESTRICT
window
,
int
overlap
,
int
shift
,
int
stride
)
const
opus_val16
*
OPUS_RESTRICT
window
,
int
overlap
,
int
shift
,
int
stride
,
int
arch
)
{
int
i
;
int
N
,
N2
,
N4
;
const
kiss_twiddle_scalar
*
trig
;
(
void
)
arch
;
N
=
l
->
n
;
trig
=
l
->
trig
;
for
(
i
=
0
;
i
<
shift
;
i
++
)
...
...
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