comparison fft-test.c @ 11582:23cad4157bfb libavcodec

Make code using 1d-DCT consistent with the API change
author vitor
date Sat, 03 Apr 2010 15:04:15 +0000
parents 4c7afa50df6f
children 0bb7e9003dea
comparison
equal deleted inserted replaced
11581:998691d7f8f5 11582:23cad4157bfb
298 ff_rdft_init(r, fft_nbits, do_inverse ? IDFT_C2R : DFT_R2C); 298 ff_rdft_init(r, fft_nbits, do_inverse ? IDFT_C2R : DFT_R2C);
299 fft_ref_init(fft_nbits, do_inverse); 299 fft_ref_init(fft_nbits, do_inverse);
300 break; 300 break;
301 case TRANSFORM_DCT: 301 case TRANSFORM_DCT:
302 if (do_inverse) 302 if (do_inverse)
303 av_log(NULL, AV_LOG_INFO,"IDCT"); 303 av_log(NULL, AV_LOG_INFO,"DCT_III");
304 else 304 else
305 av_log(NULL, AV_LOG_INFO,"DCT"); 305 av_log(NULL, AV_LOG_INFO,"DCT_II");
306 ff_dct_init(d, fft_nbits, do_inverse); 306 ff_dct_init(d, fft_nbits, do_inverse ? DCT_III : DCT_II);
307 break; 307 break;
308 } 308 }
309 av_log(NULL, AV_LOG_INFO," %d test\n", fft_size); 309 av_log(NULL, AV_LOG_INFO," %d test\n", fft_size);
310 310
311 /* generate random data */ 311 /* generate random data */