Mercurial > libavcodec.hg
comparison dsputil.h @ 10143:c5e8a5a044c3 libavcodec
The ff_cos_tabs table itself is constant, too, so mark it as such.
author | reimar |
---|---|
date | Sun, 06 Sep 2009 08:53:14 +0000 |
parents | 0b76ca7e07b5 |
children | 50ec8930f99e |
comparison
equal
deleted
inserted
replaced
10142:9855215d1b2f | 10143:c5e8a5a044c3 |
---|---|
682 void (*fft_calc)(struct FFTContext *s, FFTComplex *z); | 682 void (*fft_calc)(struct FFTContext *s, FFTComplex *z); |
683 void (*imdct_calc)(struct MDCTContext *s, FFTSample *output, const FFTSample *input); | 683 void (*imdct_calc)(struct MDCTContext *s, FFTSample *output, const FFTSample *input); |
684 void (*imdct_half)(struct MDCTContext *s, FFTSample *output, const FFTSample *input); | 684 void (*imdct_half)(struct MDCTContext *s, FFTSample *output, const FFTSample *input); |
685 } FFTContext; | 685 } FFTContext; |
686 | 686 |
687 extern FFTSample* ff_cos_tabs[13]; | 687 extern FFTSample* const ff_cos_tabs[13]; |
688 | 688 |
689 /** | 689 /** |
690 * Sets up a complex FFT. | 690 * Sets up a complex FFT. |
691 * @param nbits log2 of the length of the input array | 691 * @param nbits log2 of the length of the input array |
692 * @param inverse if 0 perform the forward transform, if 1 perform the inverse | 692 * @param inverse if 0 perform the forward transform, if 1 perform the inverse |