Commit ea5c8cfc authored by kabi's avatar kabi

* using DSPContext - so each codec could use its local (sub)set of CPU extension

* I think IDCT needs some better generic solution


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1195 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cdf4f2b9
...@@ -1301,10 +1301,10 @@ void ff_simple_idct_mmx(int16_t *block) ...@@ -1301,10 +1301,10 @@ void ff_simple_idct_mmx(int16_t *block)
void ff_simple_idct_put_mmx(UINT8 *dest, int line_size, DCTELEM *block) void ff_simple_idct_put_mmx(UINT8 *dest, int line_size, DCTELEM *block)
{ {
idct(block); idct(block);
put_pixels_clamped(block, dest, line_size); put_pixels_clamped_mmx(block, dest, line_size);
} }
void ff_simple_idct_add_mmx(UINT8 *dest, int line_size, DCTELEM *block) void ff_simple_idct_add_mmx(UINT8 *dest, int line_size, DCTELEM *block)
{ {
idct(block); idct(block);
add_pixels_clamped(block, dest, line_size); add_pixels_clamped_mmx(block, dest, line_size);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment