comparison fft.h @ 11518:c4d18d452f82 libavcodec

Call DCT by function pointer. Needed for any future ASM implementation and allows further cleanup.
author vitor
date Sun, 21 Mar 2010 11:31:11 +0000
parents 628a6ba6a4af
children e011e73a902b
comparison
equal deleted inserted replaced
11517:e3b680f6c106 11518:c4d18d452f82
218 int nbits; 218 int nbits;
219 int inverse; 219 int inverse;
220 RDFTContext rdft; 220 RDFTContext rdft;
221 const float *costab; 221 const float *costab;
222 FFTSample *csc2; 222 FFTSample *csc2;
223 void (*dct_calc)(struct DCTContext *s, FFTSample *data);
223 }; 224 };
224 225
225 /** 226 /**
226 * Sets up (Inverse)DCT. 227 * Sets up (Inverse)DCT.
227 * @param nbits log2 of the length of the input array 228 * @param nbits log2 of the length of the input array