Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
05291fd6
Commit
05291fd6
authored
Dec 29, 2013
by
Jean-Marc Valin
Browse files
Fixed-point: slight accuracy improvement in the comb filter
parent
30f52cbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
celt/celt.c
View file @
05291fd6
...
...
@@ -131,12 +131,12 @@ void comb_filter(opus_val32 *y, opus_val32 *x, int T0, int T1, int N,
OPUS_MOVE
(
y
,
x
,
N
);
return
;
}
g00
=
MULT16_16_
Q
15
(
g0
,
gains
[
tapset0
][
0
]);
g01
=
MULT16_16_
Q
15
(
g0
,
gains
[
tapset0
][
1
]);
g02
=
MULT16_16_
Q
15
(
g0
,
gains
[
tapset0
][
2
]);
g10
=
MULT16_16_
Q
15
(
g1
,
gains
[
tapset1
][
0
]);
g11
=
MULT16_16_
Q
15
(
g1
,
gains
[
tapset1
][
1
]);
g12
=
MULT16_16_
Q
15
(
g1
,
gains
[
tapset1
][
2
]);
g00
=
MULT16_16_
P
15
(
g0
,
gains
[
tapset0
][
0
]);
g01
=
MULT16_16_
P
15
(
g0
,
gains
[
tapset0
][
1
]);
g02
=
MULT16_16_
P
15
(
g0
,
gains
[
tapset0
][
2
]);
g10
=
MULT16_16_
P
15
(
g1
,
gains
[
tapset1
][
0
]);
g11
=
MULT16_16_
P
15
(
g1
,
gains
[
tapset1
][
1
]);
g12
=
MULT16_16_
P
15
(
g1
,
gains
[
tapset1
][
2
]);
x1
=
x
[
-
T1
+
1
];
x2
=
x
[
-
T1
];
x3
=
x
[
-
T1
-
1
];
...
...
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