comparison avfft.c @ 11535:f468aac92300 libavcodec

Implement the discrete sine/cosine transforms DCT-I and DST-I
author vitor
date Tue, 23 Mar 2010 19:48:16 +0000
parents 384d803faff4
children fb37ee915b73
comparison
equal deleted inserted replaced
11534:baece61a55cf 11535:f468aac92300
114 114
115 #endif /* CONFIG_RDFT */ 115 #endif /* CONFIG_RDFT */
116 116
117 #if CONFIG_DCT 117 #if CONFIG_DCT
118 118
119 DCTContext *av_dct_init(int nbits, int inverse) 119 DCTContext *av_dct_init(int nbits, enum DCTTransformType inverse)
120 { 120 {
121 DCTContext *s = av_malloc(sizeof(*s)); 121 DCTContext *s = av_malloc(sizeof(*s));
122 122
123 if (s) 123 if (s)
124 ff_dct_init(s, nbits, inverse); 124 ff_dct_init(s, nbits, inverse);