diff options
author | Arpi <arpi@thot.banki.hu> | 2001-08-03 18:33:03 +0000 |
---|---|---|
committer | Arpi <arpi@thot.banki.hu> | 2001-08-03 18:33:03 +0000 |
commit | 4af7bcc1857e8abfa7ae9a8e3c54c93723219438 (patch) | |
tree | 22217576fcce734d75eaac61ce399839ec168044 /libavcodec/dsputil.c | |
parent | 2d6d0c1d66accc7976325190f17dc93ebd9b665d (diff) | |
download | ffmpeg-4af7bcc1857e8abfa7ae9a8e3c54c93723219438.tar.gz |
MMX/MMXEXT iDCT support, using external functions currently defined in libmpeg2
Gives average 13-20% mpeg decoding speedup on x86 systems.
Originally committed as revision 30 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index b68ba8c521..a41f1bef65 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -21,6 +21,7 @@ #include "avcodec.h" #include "dsputil.h" +void (*ff_idct)(DCTELEM *block); void (*get_pixels)(DCTELEM *block, const UINT8 *pixels, int line_size); void (*put_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size); void (*add_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size); @@ -363,6 +364,7 @@ void dsputil_init(void) squareTbl[i] = (i - 256) * (i - 256); } + ff_idct = j_rev_dct; get_pixels = get_pixels_c; put_pixels_clamped = put_pixels_clamped_c; add_pixels_clamped = add_pixels_clamped_c; |