Mercurial > libavcodec.hg
comparison dsputil.c @ 590:3f8824eb4690 libavcodec
fixing normal mmx idct
author | michaelni |
---|---|
date | Fri, 02 Aug 2002 11:58:02 +0000 |
parents | 3c07cf9595de |
children | c0005de2be59 |
comparison
equal
deleted
inserted
replaced
589:507e688d57b2 | 590:3f8824eb4690 |
---|---|
1292 #ifdef SIMPLE_IDCT | 1292 #ifdef SIMPLE_IDCT |
1293 if (ff_idct == NULL) { | 1293 if (ff_idct == NULL) { |
1294 ff_idct_put = simple_idct_put; | 1294 ff_idct_put = simple_idct_put; |
1295 ff_idct_add = simple_idct_add; | 1295 ff_idct_add = simple_idct_add; |
1296 use_permuted_idct=0; | 1296 use_permuted_idct=0; |
1297 } else { | 1297 } |
1298 #endif | |
1299 if(ff_idct != NULL) { | |
1298 ff_idct_put = gen_idct_put; | 1300 ff_idct_put = gen_idct_put; |
1299 ff_idct_add = gen_idct_add; | 1301 ff_idct_add = gen_idct_add; |
1300 } | 1302 } |
1301 #endif | |
1302 | 1303 |
1303 if(use_permuted_idct) | 1304 if(use_permuted_idct) |
1304 #ifdef SIMPLE_IDCT | 1305 #ifdef SIMPLE_IDCT |
1305 for(i=0; i<64; i++) permutation[i]= simple_mmx_permutation[i]; | 1306 for(i=0; i<64; i++) permutation[i]= simple_mmx_permutation[i]; |
1306 #else | 1307 #else |