Commit ec7e0bf0 authored by Zdenek Kabelac's avatar Zdenek Kabelac
Browse files

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

* I think IDCT needs some better generic solution

Originally committed as revision 1195 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent eb4b3dd3
......@@ -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)
{
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)
{
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