Revision 2881c831 libavcodec/fft.h

View differences:

libavcodec/fft.h
196 196
    const FFTSample *tcos;
197 197
    SINTABLE_CONST FFTSample *tsin;
198 198
    FFTContext fft;
199
    void (*rdft_calc)(struct RDFTContext *s, FFTSample *z);
199 200
};
200 201

  
201 202
/**
......
204 205
 * @param trans           the type of transform
205 206
 */
206 207
int ff_rdft_init(RDFTContext *s, int nbits, enum RDFTransformType trans);
207
void ff_rdft_calc(RDFTContext *s, FFTSample *data);
208 208
void ff_rdft_end(RDFTContext *s);
209 209

  
210
static av_always_inline void ff_rdft_calc(RDFTContext *s, FFTSample *data)
211
{
212
    s->rdft_calc(s, data);
213
}
214

  
210 215
/* Discrete Cosine Transform */
211 216

  
212 217
struct DCTContext {

Also available in: Unified diff