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
9fbb56a5
Commit
9fbb56a5
authored
Feb 27, 2008
by
Jean-Marc Valin
Browse files
fixed-point: converted pitch_quant_bands() -- that one was an easy one-liner
parent
ff74e396
Changes
1
Show whitespace changes
Inline
Side-by-side
libcelt/bands.c
View file @
9fbb56a5
...
@@ -208,7 +208,7 @@ void pitch_quant_bands(const CELTMode *m, celt_norm_t *X, celt_norm_t *P, celt_p
...
@@ -208,7 +208,7 @@ void pitch_quant_bands(const CELTMode *m, celt_norm_t *X, celt_norm_t *P, celt_p
{
{
int
j
;
int
j
;
for
(
j
=
B
*
pBands
[
i
];
j
<
B
*
pBands
[
i
+
1
];
j
++
)
for
(
j
=
B
*
pBands
[
i
];
j
<
B
*
pBands
[
i
+
1
];
j
++
)
P
[
j
]
*
=
PGAIN_SCALING_1
*
gains
[
i
];
P
[
j
]
=
MULT16_16_Q15
(
gains
[
i
]
,
P
[
j
])
;
/*printf ("%f ", gain);*/
/*printf ("%f ", gain);*/
}
}
for
(
i
=
B
*
pBands
[
m
->
nbPBands
];
i
<
B
*
pBands
[
m
->
nbPBands
+
1
];
i
++
)
for
(
i
=
B
*
pBands
[
m
->
nbPBands
];
i
<
B
*
pBands
[
m
->
nbPBands
+
1
];
i
++
)
...
...
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