Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
3039c9bd
Commit
3039c9bd
authored
Dec 09, 2013
by
Jean-Marc Valin
Browse files
Makes silk_inner_prod_aligned() use celt_inner_prod() in fixed-point.
Should make it easier when writing assembly.
parent
a9b7def9
Changes
1
Hide whitespace changes
Inline
Side-by-side
silk/fixed/vector_ops_FIX.c
View file @
3039c9bd
...
...
@@ -30,6 +30,7 @@ POSSIBILITY OF SUCH DAMAGE.
#endif
#include
"SigProc_FIX.h"
#include
"pitch.h"
/* Copy and multiply a vector by a constant */
void
silk_scale_copy_vector16
(
...
...
@@ -73,12 +74,16 @@ opus_int32 silk_inner_prod_aligned(
const
opus_int
len
/* I vector lengths */
)
{
#ifdef FIXED_POINT
return
celt_inner_prod
(
inVec1
,
inVec2
,
len
);
#else
opus_int
i
;
opus_int32
sum
=
0
;
for
(
i
=
0
;
i
<
len
;
i
++
)
{
sum
=
silk_SMLABB
(
sum
,
inVec1
[
i
],
inVec2
[
i
]
);
}
return
sum
;
#endif
}
opus_int64
silk_inner_prod16_aligned_64
(
...
...
Write
Preview
Supports
Markdown
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