Mercurial > libavcodec.hg
comparison i386/simple_idct_mmx.c @ 706:e65798d228ea libavcodec
idct permutation cleanup, idct can be selected per context now
fixing some threadunsafe code
author | michaelni |
---|---|
date | Sun, 29 Sep 2002 22:44:22 +0000 |
parents | 718a22dc121f |
children | 3034f1816596 |
comparison
equal
deleted
inserted
replaced
705:107a56aa74f5 | 706:e65798d228ea |
---|---|
1289 :: "r" (block), "r" (temp), "r" (coeffs) | 1289 :: "r" (block), "r" (temp), "r" (coeffs) |
1290 : "%eax" | 1290 : "%eax" |
1291 ); | 1291 ); |
1292 } | 1292 } |
1293 | 1293 |
1294 void simple_idct_mmx(int16_t *block) | 1294 void ff_simple_idct_mmx(int16_t *block) |
1295 { | 1295 { |
1296 idct(block); | 1296 idct(block); |
1297 } | 1297 } |
1298 | |
1299 //FIXME merge add/put into the idct | |
1300 | |
1301 void ff_simple_idct_put_mmx(UINT8 *dest, int line_size, DCTELEM *block) | |
1302 { | |
1303 idct(block); | |
1304 put_pixels_clamped(block, dest, line_size); | |
1305 } | |
1306 void ff_simple_idct_add_mmx(UINT8 *dest, int line_size, DCTELEM *block) | |
1307 { | |
1308 idct(block); | |
1309 add_pixels_clamped(block, dest, line_size); | |
1310 } |