summaryrefslogtreecommitdiff
path: root/celt/mdct.h
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2012-07-20 12:08:29 -0400
committerGregory Maxwell <greg@xiph.org>2012-07-20 18:02:55 -0400
commitde4a2ddd06200e24b91b3270dfed02d5e31314c0 (patch)
treeb2bf7b5ac33730c64356b19237d3b578f6b7541b /celt/mdct.h
parent22f7788ac1b5b7c646c93c2597374265a5a5fd8b (diff)
downloadopus-de4a2ddd06200e24b91b3270dfed02d5e31314c0.tar.gz
Replace the remaining instances of restrict with OPUS_RESTRICT.
The usage of restrict in include/opus_custom.h was missed by the prior commit replacing this keyword with a macro. Also fixes some prototype/function agreement with respect to restrict.
Diffstat (limited to 'celt/mdct.h')
-rw-r--r--celt/mdct.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/celt/mdct.h b/celt/mdct.h
index 201f28b4..d7218213 100644
--- a/celt/mdct.h
+++ b/celt/mdct.h
@@ -57,12 +57,14 @@ int clt_mdct_init(mdct_lookup *l,int N, int maxshift);
void clt_mdct_clear(mdct_lookup *l);
/** Compute a forward MDCT and scale by 4/N, trashes the input array */
-void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar *out,
+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);
/** Compute a backward MDCT (no scaling) and performs weighted overlap-add
(scales implicitly by 1/2) */
-void clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar *out,
+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);
#endif