Skip to content
GitLab
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
ba238d87
Commit
ba238d87
authored
Mar 22, 2008
by
Jean-Marc Valin
Browse files
more use of restrict
parent
32034747
Changes
2
Hide whitespace changes
Inline
Side-by-side
libcelt/pitch.c
View file @
ba238d87
...
...
@@ -99,7 +99,7 @@ static void normalise16(celt_word16_t *x, int len, celt_word16_t val)
#define INPUT_SHIFT 15
void
find_spectral_pitch
(
kiss_fftr_cfg
fft
,
const
struct
PsyDecay
*
decay
,
const
celt_sig_t
*
x
,
const
celt_sig_t
*
y
,
const
celt_word16_t
*
restrict
window
,
int
overlap
,
int
lag
,
int
len
,
int
C
,
int
*
pitch
)
void
find_spectral_pitch
(
kiss_fftr_cfg
fft
,
const
struct
PsyDecay
*
decay
,
const
celt_sig_t
*
restrict
x
,
const
celt_sig_t
*
restrict
y
,
const
celt_word16_t
*
restrict
window
,
int
overlap
,
int
lag
,
int
len
,
int
C
,
int
*
pitch
)
{
int
c
,
i
;
celt_word32_t
max_corr
;
...
...
libcelt/psy.h
View file @
ba238d87
...
...
@@ -35,7 +35,7 @@
struct
PsyDecay
{
/*celt_word16_t *decayL;*/
const
celt_word16_t
*
decayR
;
const
celt_word16_t
*
restrict
decayR
;
};
/** Pre-compute the decay of the psycho-acoustic spreading function */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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